On Fri, Apr 17, 2009 at 01:56:34PM +1000, Ian Mortimer wrote: > On Thu, 2009-04-16 at 20:32 -0700, Lavannya wrote: > > > Can anyone will point me out where in /etc/inittab > > or /etc/init.d/rc.sysinit file, the shell is being set as /bin/sh > > when the server is booted in single user mode? > > Just a guess but /bin/sh is launched by init in single user so it > may be hardcoded in init.
Yes. The call to '/bin/sh' is hardcoded in init and '/bin/sh' is a link to '/bin/bash' on RHEL systems. 'ps -f' shows the actual command line called by exec which should be the same as '/proc/1/cmdline'. Cheers, -- Justin Cook _______________________________________________ rhelv5-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/rhelv5-list
