2011-02-22 17:47, Alokat skrev:
On 02/22/11 17:44, Rolf Nielsen wrote:
2011-02-22 17:40, Alokat skrev:
Hi,

I have changed my shell from csh to bash ...

Why?
Do you use root as your regular login?

But after that I have to call "reboot" like /sbin/reboot.

How can I change that without changing the shell. :)

my /root/.profile:

PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin


export PATH
HOME=/root
export HOME
TERM=${TERM:-cons25}
export TERM
PAGER=more
export PAGER

Regards,
Alokat
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"[email protected]"


_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"[email protected]"
It's just for example ... :)
I have a non root login for regular stuff.

To me the .profile looks ok, and I can't really say why it doesn't work.
However, do not use a shell that's not in the base system for root. Some would point security issues, but I don't know much about those when it comes to bash, however, if you need to boot into single user, you may get into troubles with a shell not in base.

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"[email protected]"


_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[email protected]"

Reply via email to