[Samba] useradd with "$" character within loginname

dr.no micon at chello.at
Thu Feb 7 02:55:02 GMT 2002


any help welcome
thanks

-------------- next part --------------
how can i tell the useradd(8) command to add an user which contains a "$" character within it's loginname?
it only allows alphanumeric characters for a loginname! i need this "$" character 
for the automatic creation of a machine-account for my samba server (PDC). 

(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?




More information about the samba mailing list