Re: Death to toor
From: Jilles Tjoelker (jilles_at_stack.nl)
Date: 06/13/05
- Previous message: Jeremie Le Hen: "Re: Bug in #! processing - "pear broken on current""
- In reply to: Richard Coleman: "Re: Death to toor"
- Next in thread: John Baldwin: "Re: Death to toor"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 13 Jun 2005 16:42:33 +0200 To: Richard Coleman <rcoleman@criticalmagic.com>
On Sat, Jun 11, 2005 at 11:38:43PM -0400, Richard Coleman wrote:
> David O'Brien wrote:
> >I wouldn't say we are totally safe changing root's default shell away
> >from /bin/csh. We still see people give the advice that one should not
> >change root's default shell.
> That sounds like old school sysadmin conservatism. I don't think there
> is any technical basis for such advice. I'm not suggesting that the
> default be changed, since consistency is also a desirable thing (I get
> irked when I log into a box as root and suddently find that I'm in
> bash). But I doubt it hurts anything to changes root's shell these days.
Actually, there is a case where it matters. The following command,
executed as root, uses the shell field in the passwd entry "root"
(except if getlogin() returns a different username with uid 0):
su -m nonrootuserwithinvalidshell -c 'command'
I sometimes use this in scripts with more complicated commands and then
it's pretty annoying that that depends on root's shell :(
-- Jilles Tjoelker _______________________________________________ freebsd-arch@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-arch To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"
- Previous message: Jeremie Le Hen: "Re: Bug in #! processing - "pear broken on current""
- In reply to: Richard Coleman: "Re: Death to toor"
- Next in thread: John Baldwin: "Re: Death to toor"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|