rename root

Fabio Fracassi turiya at
Wed Oct 17 04:36:06 PDT 2001

On Wednesday 17 October 2001 09:19, Chris F.A. Johnson wrote:
> On Wed, 17 Oct 2001, Zhongming Mou wrote:
> > Someone correct me if that's wrong, it is NOT possible to rename the user
> > "root" in Unix-like operating systems.
> It's possible, but not advisable, as many things depend on it.
> However, you can create other users with root privileges by duplicating
> the root entry in the password and shadow files (use vipw), and changing
> the name, and if you like, the home directory and shell.
It is possible, but from a security Viewpoint not very advisable.
Another acount is another possible hole, and a hole with root privileges is a 
severe danger.

BTW, what good should it do? 
If you need privileges for other users use groups/su or sudo.

> It's safest to leave the user "root" with the default shell, or scripts
> may break.

Unsubscribe: send email to listar at
and put 'unsubscribe blfs-support' in the subject header of the message

More information about the blfs-support mailing list