[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Root's Shell
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Re: Root's Shell
- From: Saad Kadhi <saad_(_at_)_docisland_(_dot_)_org>
- Date: Thu, 9 Jan 2003 17:56:45 +0100
- Mail-followup-to: misc_(_at_)_openbsd_(_dot_)_org
On Thu, Jan 09, 2003 at 11:43:18AM -0500, francisco wrote:
> > unless bash is compiled as a static binary and moved to the bin dir, you
> > are doomed (or about to be) if you need to boot single user mode or fix
> > (fsck etc.) /usr if it a separate partition.
>
> if you boot single user mode in OpenBSD you will be prompted
> "Enter pathname of shell or RETURN for sh:"
>
> even if you accidentally change root's shell to /something/stupid you can
> still boot single user mode and use /bin/sh or whatever shell you prefer.
>
> other OS's might not be so kind.
right. thanks for the precision. I forgot about that fact. and of
course, other OSes such as solaris[1] are not so forgiving. that's why I
prefer not to change the root's shell to something funky since I am
dealing with heterogenous networks.
--
[1] boot cdrom -s etc. but that's not the subj right ? :)
--
Saad Kadhi -- [saad_(_at_)_docisland_(_dot_)_org] [saad_(_dot_)_kadhi_(_at_)_hapsis_(_dot_)_fr]
[pgp keyid: 35592A6D http://pgp.mit.edu]
[pgp fingerprint: BF7D D73E 1FCF 4B4F AF63 65EB 34F1 DBBF 3559 2A6D]
---
Visit your host, monkey.org