On Fri, Jan 06, 2006 at 06:15:24PM +0100, Christian Perrier wrote: > > 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?) IMHO, it's better for such accounts to have a real, non-writable home directory. Perhaps /var/lib/samba? -- Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. [EMAIL PROTECTED] http://www.debian.org/
signature.asc
Description: Digital signature