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  . 
> 
> I can change by typing  as /bin/pbksh  in the root prompt, but  I want the 
> shell to be modified  in the init script. 

You can append the line 'root=/bin/pbksh' to the 'kernel' entry in the grub 
configuration. But, I assume you are speaking of PowerBroker. Doesn't it 
require goodies like LDAP and a logging server? I'm not so sure it will behave 
correctly in single user mode. It may require additional configuration.

Regards,

-- 
Justin Cook


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

Reply via email to