On Sun, Apr 19, 2009 at 07:42:44AM -0700, Lavannya wrote:
> I want to change the shell of the root user as /bin/pbksh,  when some one is 
> entering into  single user mode. Though I have modified the root user shell 
> as /bin/pbksh in  /etc/passwd .  But when the server is booted in the single 
> user mode,  as per your explanation it is set  as /bin/sh. 

Software may assume that root's shell is /bin/sh. I note that
PowerBroker provides a Bourne-shell-compatible version called
pbsh. If you're going to do this, I'd recommend using that instead.

My first instinct would be to create another user with uid zero and set
the shell for that, keeping the actual root password for single user mode
problems. I don't know if PowerBroker will work with this.

Apologies for not providing insight on your literal question.

--CW

-- 
Chris Whip     - Software Engineer, Applied Math, University of Washington
(206) 616-9359 - [email protected] - Guggenheim 414C

_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to