README.privsep
Ben Lindstrom
mouring at etoh.eviladmin.org
Tue Jun 25 10:07:52 EST 2002
On Mon, 24 Jun 2002, Chris Adams wrote:
> Once upon a time, Damien Miller <djm at mindrot.org> said:
> > On Tue, 2002-06-25 at 09:25, Jim Knoble wrote:
> >
> > > I would rather say here:
> > >
> > > chown 0 /var/empty
> > > chgrp 0 /var/empty
> >
> > I recall that numeric arguments to some OS's chown & chgrp fail.
>
> chown `grep '^[^:]*:[^:]*:0:' /etc/passwd | head -1 | cut -d: -f1` /var/empty
> chgrp `grep '^[^:]*:[^:]*:0:' /etc/group | head -1 | cut -d: -f1` /var/empty
>
> I think that would cover everyone (at least if they use a Bourne shell
> :-) ).
Gawd.. Lets leave it as is. It's rather not have people coming into
#unixhelp whining about some wierdass command to run.=)
It's bad enough getting the Linux 2.2 questions.
- Ben
More information about the openssh-unix-dev
mailing list