[TriLUG] Alternate root user
That One Guy
trilug at ichi.net
Tue Feb 26 15:25:28 EST 2002
On Tuesday 26 February 2002 03:18 pm, Kevin Hunter wrote:
> 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??
Use the "-o" option of useradd like so:
useradd -o -u 0 toor
More information about the TriLUG
mailing list