I think you can just edit /etc/passwd and /etc/shadow by hand, duplicating the root line. One guy I knew (no specifics, please) used "toor" for that purpose.
---------------------------------------------------------------------- Andrew J Perrin - [EMAIL PROTECTED] - http://www.unc.edu/~aperrin Assistant Professor of Sociology, U of North Carolina, Chapel Hill 269 Hamilton Hall, CB#3210, Chapel Hill, NC 27599-3210 USA On Tue, 26 Feb 2002, Kevin Hunter wrote: > > This web site > > http://industrial-linux.org/ilg/security.html > > mentions creating an alternate root user and booby-trapping "root". > Seems like a great idea, but everytime I try to create a user, either > w/ uid 0, or later changing it to uid 0, it fails, saying not a > unique uid. I know how to do this in FreeBSD ( chfn, pwd_mkdb ), but > I cannot find any details on how to do this in linux. Do I have to > change root's uid to something non-0 first?? > > KH > > _______________________________________________ > TriLUG mailing list > http://www.trilug.org/mailman/listinfo/trilug >
