Re: theoretical question - can root's username be changed?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/2/05, Claude Jones <claude_jones@xxxxxxxxxxxxxx> wrote:
> Subject line says it all...

I just tried changing the name in /etc/passwd . The system came back
up on restart and normal users were able to login and do their normal
stuff, but "su -" failed saying "User root does not exist". Also,
su-ing the renamed root, admin by "su - admin" didn't work. It didn't
accept the passwd originally set for root. Probably the the name has
to be changed in /etc/shadow too. Rebooting into single user mode and
reverting the changes brought back the system to the initial state.
The test system was RHEL3AS.

But mikes solution to having a user with root authority is a better
solution to whatever you are trying to acheive.

vjp


--
Registered Linux User #374218

Minister of Offense, Preserver of the Way
of the Great Llama, Ambassador to India
for the Republic of Loungevania


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux