[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: Seth Arnold <sarnold_(_at_)_willamette_(_dot_)_edu>
- Date: Mon, 30 Oct 2000 22:46:57 -0800
- Mail-followup-to: misc_(_at_)_openbsd_(_dot_)_org
* Kit Halsted <kit_(_at_)_kithalsted_(_dot_)_com> [001030 22:34]:
> I have a couple of questions about changing root's shell:
>
> First of all, is this a Bad Idea?
I can't speak from experience, but I can think of two main arguments --
one for, one against. FOR: Use the shell you know best, so you don't end
up making a mistake out of a habit. AGAINST: use the simplest shell
possible, under the theory that not much should be running as root.
> I've installed tcsh & edited /etc/passwd so that the entries for both
> root and my regular user account point to tcsh as the default shell.
Aha! :) Don't edit /etc/passwd. Use vipw(8) to do the job, since it
gives you the master password list, and properly rebuilds the database
after you are done.
--
``Oh Lord; Ooh you are so big; So absolutely huge; Gosh we're all really
impressed down here, I can tell you.''
Visit your host, monkey.org