>>> On 11/2/2009 at 5:53 PM, Marcy Cortes <[email protected]> >>> wrote: > I keep getting rid of this userid /etc/passwd, and something puts it back. > SLES 10. > How do I make it stop doing that? > Also uucp and ftp. > > Bad bad bad.
Marcy, Do an "rpm -q --scripts aaa_base" and look for the following for file in passwd group ; do if test -f etc/$file ; then # like fillup, but : is the only separator rm -f etc/$file.add sort -k 1,1 -t: -u etc/$file var/adm/fillup-templates/$file.aaa_base \ | sort -k 1,1 -t: etc/$file - | uniq -u > etc/$file.add cat etc/$file.add >> etc/$file rm -f etc/$file.add # fix permissions if this script is called with strange umask chmod 644 etc/$file else cat var/adm/fillup-templates/$file.aaa_base > etc/$file fi done In your position, I would visit http://www.novell.com/rms and put in a request to have a supported method to remove things that aren't needed that will stay removed. Mark Post ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
