I suggest you not to change the root name but create a new root account.
If you don't want the first one to be used, discard it by putting a  *  in
the password field. For you new account, set the uid and the gid to 0.

before :

root:Qsd!qez03e:The root user:/root:/bin/sh

after :

root:*:The unusable root:/root:/bin/sh
toor:Qsd!qez03e:The new root user:/root:/bin/sh

Be sure to make a "passwd toor" after creating the new line in
the passwd file, cause the passwd hash is calculated from the
user name and other things.

Hope it helps
Cheers
David

"Admin, Wipro (CAP, GECSI)" wrote:

> I wanted to change the name of the Super User Account,so changed entry in
> /etc/passwd from root to desired one...used pwconv
> and edited the group file too.But, after that i could't login as this new
> supposed root.
> Can we cahnge the name of root account?how?
> What do i do know...
> when i reboot my m/c...i get lot of error messages..
> /etc/rc2.d/S99dtlogin needs root perm
> init:/usr/sbin/rmount failed[erroabc]
> and at the end i get a blinking underscore..whatever i type has no
> effect....I have a intel Sol7 running on my P-11 64MBRAM intel m/c.
> Hope help will come!
> Rgds
>
> Admin
>
> "THIS E-MAIL MESSAGE ALONG WITH ANY ATTACHMENTS IS INTENDED ONLY FOR THE
> ADDRESSEE and may contain confidential and privileged information.
> If the reader of this message is not the intended recipient,
> you are notified that any dissemination, distribution or copy of this
> communication is strictly Prohibited.
> If you have received this message by error, please notify us
> immediately, return the original mail to the sender and delete the
> message from your system."
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

--
David LEFEVRE
CARDIF - Architecture et S�curit� Op�rationnelle
[EMAIL PROTECTED] - T�l : 01 41 42 76 63
     [EMAIL PROTECTED] - Tel : 01 41 42 24 22


**********************************************************************
L'int�grit� de ce message n'�tant pas assur�e sur Internet,
CARDIF ne peut �tre tenu responsable de son contenu.
Si vous n'�tes pas destinataire de ce message confidentiel,
Merci de le d�truire et d'avertir imm�diatement l'expediteur.

The integrity of this message cannot be guaranteed on the
Internet. CARDIF can not therefore be considered responsible 
for the contents. 
If you are not the intended recipient of this confidential message,
then please delete it and notify immediately the sender.

**********************************************************************

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to