Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Oct 1996 11:26:52 +0930 (CST)
From:      Michael Smith <msmith@atrad.adelaide.edu.au>
To:        roberte@mep.ruhr-uni-bochum.de (Robert Eckardt)
Cc:        msmith@atrad.adelaide.edu.au, roberte@mep.ruhr-uni-bochum.de, joerg_wunsch@uriah.heep.sax.de, freebsd-hackers@FreeBSD.org, hasty@rah.star-gate.com
Subject:   Re: su problem
Message-ID:  <199610070156.LAA29065@genesis.atrad.adelaide.edu.au>
In-Reply-To: <199610070144.DAA02647@ghost.mep.ruhr-uni-bochum.de> from "Robert Eckardt" at Oct 7, 96 03:44:55 am

next in thread | previous in thread | raw e-mail | index | archive | help
Robert Eckardt stands accused of saying:
> 
> Ok, I cancel and declare the opposite. :-)
> 
> I tested this with every system/version and it worked everywhere
> except on FreeBSD.
> Q: Why ?
> A: I use /bin/sh as login shell (for historical reasons :-) and call
>    in .profile:
>       [...]
>       tcsh
>       exit

This is immeasurably bogus.  Note that you are not passing any of the
arguments to sh on to tcsh.

If you want tcsh's features, use tcsh.  If you want a login that uses
sh for scripting, create another user with the same uid and gid but
with a different name and shell.  (we do this so that there is a
single login that owns all the daemons but has a tolerable shell for
non-literate users.)

> Robert

-- 
]] Mike Smith, Software Engineer        msmith@atrad.adelaide.edu.au    [[
]] Genesis Software                     genesis@atrad.adelaide.edu.au   [[
]] High-speed data acquisition and      (GSM mobile) 0411-222-496       [[
]] realtime instrument control          (ph/fax)  +61-8-267-3039        [[
]] Collector of old Unix hardware.      "Where are your PEZ?" The Tick  [[



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610070156.LAA29065>