svn commit: samba r13968 - branches/SAMBA_3_0/source/utils trunk/source/utils

Tim Potter tpot at samba.org
Tue Mar 7 22:33:44 GMT 2006


On Tue, 2006-03-07 at 13:59 -0500, simo wrote:
> On Tue, 2006-03-07 at 19:51 +0100, Volker Lendecke wrote:
> > On Tue, Mar 07, 2006 at 05:49:27PM +0000, jmcd at samba.org wrote:
> > > -			pstr_sprintf(homedir, "dev/null");
> > > +			pstr_sprintf(homedir, "/dev/null");
> > 
> > In my experience /dev/null is a particularly bad choice for
> > $HOME, userdel -r has at least once destroyed that for me.
> > And a system without /dev/null or /dev/null as a text file
> > is rather unhappy.
> 
> I agree, it is reaaaaallly bad.
> I had a similar experience once, and I had to reboot from a rescue disk
> to restore /dev/null :-(
> 
> I usually set it to something like "/sambaworkstations" the home
> directory does not need to really exists on the filesystem anyway.

You can fix it yourself using mknod, if you can remember or use google
to find out the major/minor device numbers.  (-:

I had to fix a system where /dev/null had disappeared for some reason.
Things behave very strangely.


Tim.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20060308/5c397f2b/attachment.bin


More information about the samba-technical mailing list