[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: useradd with "$" character within loginname

dr.no wrote:
> (smb.conf parameter: add user script = adduser -d /dev/null -s /sbin/nologin MACHINENAME$ )
> quoting or escaping "$" does not work. (e.g. adduser NAME\$)    
> adduser under linux does not complain about a $, how to solve this problem under openbsd?

Add the user without $ and then use vipw(8) to add the $ manually. This
will work.