On Wed, Mar 02, 2005 at 06:50:55AM +0200, abu khaled wrote:
> I'm not sure if this helps but you can at least try.
> 
> login as non-root (user)
> run this command: chsh -s /bin/tcsh
> you well be prompted for you non-root password
> logout and login again as non-root and see if it works
> 
> you can su to root and use use the same command to change the root
> shell.(sh is recommended for root)

For root, they recommend only /sbin/sh as something may break, but there
is an account called toor.  It is basically another name for root and
you can change toor's shell to anything.  Also, some ppl recommend using
su -m I believe when suing to root and you keep the same shell I think.
And then their's sudo in which you will almost never even need to send
time as root.

> 
> I hope it works!!!
> 
> On Tue, 01 Mar 2005 20:24:13 -0800, Ben Munat <[EMAIL PROTECTED]> wrote:
> > I used vipw to set my regular user's shell to tcsh. /etc/passwd shows it 
> > correct now but I
> > still appear to be getting sh as my shell. If I run tcsh, I then get the 
> > tab completion.
> > But how do I get the terminal to put me in tcsh automatically?
> > 
> > Ben
> > 
> > 
> > Jonathan Chen wrote:
> > > On Tue, Mar 01, 2005 at 09:28:02AM -0800, Ben Munat wrote:
> > >
> > >>None of those commands worked... However, I've also found that echo $SHELL
> > >>in my regular user's terminal says /bin/sh, while as root it says 
> > >>/bin/csh.
> > >
> > >
> > > If you're using /bin/sh, then of course none of the given commands
> > > will work as they are for tcsh.
> > >
> > >
> > >>Both root and the non-root user's shells are listed in /etc/passwd as
> > >>/bin/tcsh, so where else would the shell get set? Can I just set all
> > >>terminals and all users (i.e. me) to have the same shell with the same
> > >>capabilities?
> > >
> > >
> > > I suspect that /etc/passwd has gotten out of sync with master.passwd.
> > > Don't edit /etc/passwd. Use vipw(1) and make your changes within
> > > there.
> > _______________________________________________
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> >
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

-- 
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: CEE1 AAE2 F66C 59B5 34CA  C415 6D35 E847 0118 A3D2
 

Attachment: pgpbuwSaBkGE2.pgp
Description: PGP signature

Reply via email to