From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,18c88cf7af3e6c72 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2000-09-13 07:32:16 PST Path: supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!newsfeed.direct.ca!look.ca!paloalto-snh1.gtei.net!paloalto-snf1.gtei.net!news.gtei.net!newsgate.tandem.com!mailint03.im.hou.compaq.com!pa.dec.com!sniff.shr.dec.com!not-for-mail From: Marble Head Newsgroups: comp.unix.tru64 Subject: Re: Problems when trying to su to a user running tcsh Date: Wed, 13 Sep 2000 10:29:36 -0400 Organization: Organization? Yes, please. Message-ID: <39BF8F50.1386AE14@nospam.guacamole.com> References: <39BF530C.B486F158@compaq.com> NNTP-Posting-Host: sbs-harvey.americas.cpqcorp.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: nose.shr.dec.com 968855459 1385330 16.129.14.83 (13 Sep 2000 14:30:59 GMT) X-Complaints-To: usenet@nose.shr.dec.com NNTP-Posting-Date: 13 Sep 2000 14:30:59 GMT X-Mailer: Mozilla 4.74 [en] (Windows NT 5.0; U) X-Accept-Language: en Xref: supernews.google.com comp.unix.tru64:367 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