Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

bash as a login shell (was Root users shell == no existant shell

2 views
Skip to first unread message

d...@langille.org

unread,
Jul 9, 2004, 4:41:55 PM7/9/04
to
On 9 Jul 2004 at 13:11, Daniel Brown wrote:

> On the other hand, I've run across a sysadmin who always enables his
> toor accounts -- and changes its shell to bash. As a result, not only
> is there an alternate root account (good in case 'root' trampled on by
> accident or purpose), but you can get root bash as a login shell while
> leaving the real root to its normal shell.

This make it sound like you find it very bothersome to login and type
'bash' (or whatever), to give yourself the shell you want. Is that
so?
--
Dan Langille : http://www.langille.org/

_______________________________________________
freebsd-...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-security
To unsubscribe, send any mail to "freebsd-securi...@freebsd.org"

jlin...@theplanet.com

unread,
Jul 9, 2004, 4:47:30 PM7/9/04
to
Something I found long ago was adding this line to your root's .cshrc

jlin...@theplanet.com

unread,
Jul 9, 2004, 4:49:25 PM7/9/04
to
Something I found long ago was adding this line to your root's .cshrc

[ -x /usr/local/bin/bash ] && exec /usr/local/bin/bash

That way you don't have to mess with changing the shell, and yet you get
bash on login.


This make it sound like you find it very bothersome to login and type
'bash' (or whatever), to give yourself the shell you want. Is that
so?

_______________________________________________

0 new messages