DragonFly BSD
DragonFly users List (threaded) for 2006-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Locked out - need a little help (caution: n00b meter on high!)


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Sun, 30 Jul 2006 21:16:17 -0700 (PDT)

:
:On Sunday 30 July 2006 23:09, Gergo Szakal wrote:
:> Peter Avalos wrote:
:> > Since the n00b meter was pegged, I'm assuming you don't know about manual
:> > pages: 'man chsh' could have helped you figure this out:
:> >
:> > chsh -s /bin/sh
:>
:> Yeah, I was in a hurry and forgot to RTFM before posting, sorry about that.
:> Thanks to all for the answers, they are way trivial, shame on me that
:> they did not jump into my brain. At least I have learnt from my
:> mistake(s), so I am really thankful.
:
:This is actually why FreeBSD has a user named toor (I don't know if DFly still 
:has this user as I don't have access to a DFly box at the moment).  The 
:recommendation is never to change root's shell, in part because of this very 
:reason.  Another reason is that the filesystem that has /usr/pkg/bin may be 
:b0rked, or something may have happened to a shared library, etc.  The toor 
:user exists for people who want to set their root shell to something other 
:than the current default but without those problems.  

    We don't really need toor any more.  If it comes to it, you will always
    get a /bin/sh if you boot single user.

					-Matt
					Matthew Dillon 
					<dillon@xxxxxxxxxxxxx>



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