[TriLUG] Alternate root user

Andrew Perrin andrew_perrin at unc.edu
Tue Feb 26 15:24:51 EST 2002


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 - andrew_perrin at unc.edu - 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
> 




More information about the TriLUG mailing list