Date: Thu, 3 Mar 2005 13:05:44 -0800 From: "Loren M. Lang" <lorenl@alzatex.com> To: abu khaled <khaled.abu@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: tab completion Message-ID: <20050303210544.GL30896@alzatex.com> In-Reply-To: <a64c109e0503012050bf79a27@mail.gmail.com> References: <422424B2.1040809@munat.com> <20050301080924.GM8778@dan.emsphone.com> <422427DB.50504@munat.com> <20050301103326.GD5353@gravitas.thebunker.net> <4224A622.5080806@munat.com> <20050301182012.GB64444@osiris.chen.org.nz> <42253FED.4010000@munat.com> <a64c109e0503012050bf79a27@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--+nBD6E3TurpgldQp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. >=20 > 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 >=20 > 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. >=20 > I hope it works!!! >=20 > On Tue, 01 Mar 2005 20:24:13 -0800, Ben Munat <bent@munat.com> wrote: > > I used vipw to set my regular user's shell to tcsh. /etc/passwd shows i= t correct now but I > > still appear to be getting sh as my shell. If I run tcsh, I then get th= e tab completion. > > But how do I get the terminal to put me in tcsh automatically? > >=20 > > Ben > >=20 > >=20 > > 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 /bi= n/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 "freebsd-questions-unsubscribe@freebsd= .org" > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" --=20 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 =20 --+nBD6E3TurpgldQp Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFCJ3wobTXoRwEYo9IRAp3PAJ0Ym5tp7DAXKlGMbwze7whkGG7jLgCdHwHU htb9F/xAG5/6/9226PK382Q= =7Om+ -----END PGP SIGNATURE----- --+nBD6E3TurpgldQp--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050303210544.GL30896>