theoretical question - can root's username be changed?

Craig White craigwhite at azapple.com
Fri Dec 2 03:36:27 UTC 2005


On Thu, 2005-12-01 at 21:46 -0500, Claude Jones wrote:
> On Thu December 1 2005 9:31 pm, Mike McCarty wrote:
> > Claude Jones wrote:
> > > Subject line says it all...
> >
> > Define "change a user's name". What is a user on a computer
> > with a different name? Isn't that a different user?
> > Are you asking whether other users may have the same privilege
> > as root?
> > The answer is "Yes".
> >
> 
> Let me put it differently. Root's UID is 0 - suppose I change UID 0's User 
> Login to 'doorknob' - first, can this be done? Second, would I have to create 
> a new home directory called 'doorknob'? Third, are there any implications, 
> doing this, for other software and/or settings in a Linux PC? Fourth - if 
> this shouldn't be done, can a new user, say UID 15, be created with all the 
> same privileges as root, and can root then be purged? 
----
Best to save feeble attempts of security through obscurity for Windows. 

Create another user and you can set that user's uid to 0 if you wish.

Craig




More information about the users mailing list