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

Re: No benefit for running sash as root shell?



In article <[🔎] Pine.SOL.3.95q.980830173114.1764A-100000@red.csi.cam.ac.uk>,
Jules Bean <jmlb2@hermes.cam.ac.uk> wrote:
>I think you're misunderstanding me.  I don't mean that we need this option
>because I've set my root shell to something silly and want to run
>something else immediately.  I suggest it because when you have gone into
>single user, it can be because something serious has gone wrong, so it is
>useful to be able to choose a different shell  - maybe root's normal shell
>is hosed, or has been deleted...

If the normal root shell cannot be executed, sulogin (which is what
is executed in single user to let you log in as root) will fallback
to /bin/sh. It has other security precautions too, such as checking
that /etc/passwd and /etc/shadow are not corrupt and not asking for a
password if so ..

Mike.
-- 
 Miquel van Smoorenburg | Our vision is to speed up time,
    miquels@cistron.nl  |   eventually eliminating it.     <*>


Reply to: