Tugger the SLUGger!SLUG Mailing List Archives

[chat] Re: [SLUG] renaming root to Root


oi, be nice Dazza -- it's monday morning and the poor bloke's twiddled
his passwd file by accident. Sure it's a tad off-topic but you can be
polite about it.

K.

On Mon, Nov 05, 2001 at 12:49:47PM +1100, DaZZa wrote:
> On Mon, 5 Nov 2001, Goldfinch, Andrew wrote:
> 
> > OK guys, here's a challenge.
> >
> > I have managed to rename root to Root in my /etc/passwd.
> > I cannot logon as Root as my /etc/shadow refers to the uname not uid.
> > Am I royally screwed? I am on SunOS 5.8
> 
> And you ask this on a Linux list exactly WHY?
> 
> ObHint - boot from your install CD to a system, then fsck and mount
> appropriate slice, edit /etc/passwd to put root instead of Root, shutdown,
> reboot, viola. Exact details of how to do this are left as an exercise to
> the reader.
> 
> Renaming the Superuser account is a dumbshit idea. Don't do it again.
> 
> DaZZa
> 
> 
> -- 
> SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
> More Info: http://lists.slug.org.au/listinfo/slug