tags 346234 confirmed
thanks

> Here is the example command for the "add machine script" option in smb.conf
> manpage :
> 
> add machine script = /usr/sbin/adduser -n -g machines -c Machine -d 
> /var/lib/nobody -s /bin/false %u
> 
> It do not work for two reasons :
> 1. Unlike Red Hat systems, adduser is not useradd , and these parameters
> are for useradd.
> 2. the option "-n" do not exist for useradd ( neither for adduser )


Seems right.

I think that our example should be reverted to useradd which is more
likely to be installed on all systems than adduser (useradd comes with
passwd, which was "virtually Essential" up to recently and which we
could soon turn into Essential).

Moreover, this would leave the example in Debian as close as possible
to genuine installs.

I don't know what the "-n" option is intended for, though.

The "-d" parameter should also be changed as /var/lib/nobody does not
exist on Debian systems (Steve, advice? /nonexistent just like the
"nobody" account?)




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to