Re: Root can't delete files
From: Jose Nazario (jose@biocserver.BIOC.cwru.edu)Date: 10/11/01
- Previous message: R Dicaire: "Re: Root can't delete files"
- In reply to: Brian Kejser: "Re: Root can't delete files"
- Next in thread: Steve Wolfe: "Re: Root can't delete files"
- Next in thread: Thanas: "Re: Root can't delete files"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 11 Oct 2001 14:42:46 -0400 (EDT) From: Jose Nazario <jose@biocserver.BIOC.cwru.edu> To: Brian Kejser <bkejser@yahoo.com> Subject: Re: Root can't delete files Message-ID: <Pine.LNX.4.30.0110111441470.25773-100000@biocserver.BIOC.CWRU.Edu>
On Thu, 11 Oct 2001, Brian Kejser wrote:
> # append user and group
> if [ -z `cat /etc/passwd | grep "named"` ]; then
> echo
> "named:x:200:200:Nameserver:/chroot/named:/bin/false"
> >> /etc/passwd
> echo "named:x:200:" >> /etc/group
>
> fi
caareful you don't throw the normal and shadow password files out of sync.
perhaps a use of useradd with a locked account would be wise, instead.
____________________________
jose nazario jose@cwru.edu
PGP: 89 B0 81 DA 5B FD 7E 00 99 C3 B2 CD 48 A0 07 80
PGP key ID 0xFD37F4E5 (pgp.mit.edu)
- Previous message: R Dicaire: "Re: Root can't delete files"
- In reply to: Brian Kejser: "Re: Root can't delete files"
- Next in thread: Steve Wolfe: "Re: Root can't delete files"
- Next in thread: Thanas: "Re: Root can't delete files"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]