chs is in /bin/csh not /etc/csh. You'll have to boot single user and change it back, or boot from a CD, mount /etc and re-edit your /etc/passwd file.
Mark On 2/8/06, Angelyn V. Dilim <[EMAIL PROTECTED]> wrote: > > In which line is it the root, i tried editing the root line to /etc/csh > but > then I cannot login in anymore to solaris10 > > > -----Original Message----- > From: Gupta, Razat [mailto:[EMAIL PROTECTED] > Sent: Wednesday, February 08, 2006 1:37 AM > To: [EMAIL PROTECTED]; Solaris-Users mailing list > Subject: RE: [Solaris-Users] Shell Prompt on Solaris 10 > > > Modify your /etc/passwd file for this > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Angelyn V. > Dilim > Sent: Monday, February 06, 2006 10:24 PM > To: Solaris-Users mailing list (E-mail) > Subject: [Solaris-Users] Shell Prompt on Solaris 10 > > Hi, > > I am using solaris 10 how could I make the default shell to a C shell > prompt. My default system prompt is Bourne Shell and Korn shell > superuser prompt which is this sign "#" when I invoked the command "csh" > the prompt now is "machine_name#" which is C shell superuser prompt. How > could I make this as "machine_name%" to be a C shel prompt only. > > Thanks, > Angelyn > > _______________________________________________ > Solaris-Users mailing list > [email protected] > http://www.filibeto.org/mailman/listinfo/solaris-users > > > > _______________________________________________ > Solaris-Users mailing list > [email protected] > http://www.filibeto.org/mailman/listinfo/solaris-users > > > _______________________________________________ Solaris-Users mailing list [email protected] http://www.filibeto.org/mailman/listinfo/solaris-users
