From: Marble Head <Marble.Head@nospam.guacamole.com>
Subject: Re: Problems when trying to su to a user running tcsh
Date: Wed, 13 Sep 2000 10:29:36 -0400 [thread overview]
Message-ID: <39BF8F50.1386AE14@nospam.guacamole.com> (raw)
In-Reply-To: 39BF530C.B486F158@compaq.com
I'd be willing to bet it has something to do with one of these files:
/etc/csh.cshrc Read first by every shell. ConvexOS, Stellix and
Intel use
/etc/csh.login Read by login shells after /etc/csh.cshrc. ConvexOS,
Stellix
~/.tcshrc (+) Read by every shell after /etc/csh.cshrc or its
equivalent.
~/.cshrc Read by every shell, if ~/.tcshrc doesn't exist,
after
~/.history Read by login shells after ~/.tcshrc if savehist is
set, but
~/.login Read by login shells after ~/.tcshrc or ~/.history. The
shell
~/.cshdirs (+) Read by login shells after ~/.login if savedirs is set,
but see
/etc/csh.logout Read by login shells at logout. ConvexOS, Stellix and
Intel
~/.logout Read by login shells at logout after /etc/csh.logout
or its
/bin/sh Used to interpret shell scripts not starting with a `#'.
/tmp/sh* Temporary file for `<<'.
/etc/passwd Source of home directories for `~name' substitutions.
See man tcsh for the complete description for each one.
It's probably a file permission obstruction, maybe something you want, maybe
not.
nick de Beer wrote:
> Have you placed the appropriate entries for the tcsh in /etc/shells ??
>
> cheers
> Nick
>
> Keith Bradnam wrote:
>
> > I've noticed on our system (Compaq Alphaserver running Tru64 5.0a)
> > that when I try to su to a user running the tcsh I get:
> >
> > 41 keith% su tmp_user
> > Password:
> > tcsh: Permission denied
> > tcsh: Trying to start from "/home/tmp_user"
> > 37 tmp_user%
> >
> > Is the 'Permission denied' message something to worry about? It seems to
> > run the tcsh for the user I have su'd to, i.e. I can access tcsh
> > functions.
> >
> > The correct location of tcsh is specified in the /etc/passwd file and if I
> > 'echo $SHELL' (after su-ing to the new user) then it reports this
> > location. So everything seems to be fine apart from the 'Permission
> > denied' message (which doesn't appear if I rlogin or telnet to this
> > account. My only worry is that there might be some sort of security
> > problem here.
> >
> > Any advice greatly appreciated.
> >
> > Keith
> >
> > ~ Keith Bradnam - Developer, Arabidopsis Genome Resource (AGR)
> > ~ Nottingham Arabidopsis Stock Centre - http://nasc.nott.ac.uk/
> > ~ University Park, University of Nottingham, NG7 2RD, UK
> > ~ Tel: (0115) 951 3091
next prev parent reply other threads:[~2000-09-13 14:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-09-13 10:01 Problems when trying to su to a user running tcsh Keith Bradnam
2000-09-13 10:12 ` nick de Beer
2000-09-13 14:29 ` Marble Head [this message]
2000-09-13 16:38 ` Mike Iglesias
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox