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

simo idra at samba.org
Tue Mar 7 22:37:52 GMT 2006


On Wed, 2006-03-08 at 09:33 +1100, Tim Potter wrote:
> 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.  (-:

Not if you can't get a terminal :-)

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

Very. Some apps refuse to start others just go nuts.

Simo.

-- 
Simo Sorce
Samba Team GPL Compliance Officer
email: idra at samba.org
http://samba.org



More information about the samba-technical mailing list