Date: Sat, 30 Oct 1999 01:51:36 +0000 (GMT) From: "Jason C. Wells" <jcwells@u.washington.edu> To: J McKitrick <jcm@dogma.freebsd-uk.eu.org> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: shell for root and toor Message-ID: <Pine.BSF.4.10.9910300146320.33874-100000@s8-37-26.student.washington.edu> In-Reply-To: <Pine.BSF.4.02A.9910291953130.8801-100000@dogma.freebsd-uk.eu.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 29 Oct 1999, J McKitrick wrote: >OK, i think i understand this: >I want root to run /bin/sh >toor to run /usr/local/bin/bash, or zsh >right? >2 questions... >1. what does this gain, besides knowing sh will run under root is all else >fails? Why have a different root account? Bash has features which make it nicer to use. Push the up arrow on your keyboard at the command prompt to see just one of them. Push the tab key to see another. You want to use bash. You do not want to make it root's default. So you decide to have an extra toor account with UID 0 and shell bash. >2. i keep using chsh to change shells, but it seems to affect the opposite >account ! I set root to /bin/sh and toor to bash, but when i reboot, it's >the other way around !?! Use vipw for this case. Thank You, | http://students.washington.edu/jcwells/ Jason Wells To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9910300146320.33874-100000>