From owner-freebsd-questions@FreeBSD.ORG Thu Mar 3 21:05:46 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 788CC16A4CE for ; Thu, 3 Mar 2005 21:05:46 +0000 (GMT) Received: from hosea.tallye.com (joel.tallye.com [216.99.199.78]) by mx1.FreeBSD.org (Postfix) with ESMTP id EC9EF43D5C for ; Thu, 3 Mar 2005 21:05:45 +0000 (GMT) (envelope-from lorenl@alzatex.com) Received: from hosea.tallye.com (hosea.tallye.com [127.0.0.1]) by hosea.tallye.com (8.12.8/8.12.10) with ESMTP id j23L5jqS006451 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 3 Mar 2005 13:05:45 -0800 Received: (from sttng359@localhost) by hosea.tallye.com (8.12.8/8.12.10/Submit) id j23L5i2Z006449; Thu, 3 Mar 2005 13:05:44 -0800 X-Authentication-Warning: hosea.tallye.com: sttng359 set sender to lorenl@alzatex.com using -f Date: Thu, 3 Mar 2005 13:05:44 -0800 From: "Loren M. Lang" To: abu khaled Message-ID: <20050303210544.GL30896@alzatex.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> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+nBD6E3TurpgldQp" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i X-GPG-Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc X-GPG-Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C cc: Ben Munat cc: freebsd-questions@freebsd.org Subject: Re: tab completion X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2005 21:05:46 -0000 --+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 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--