Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* Problems when trying to su to a user running tcsh
@ 2000-09-13 10:01 Keith Bradnam
  2000-09-13 10:12 ` nick de Beer
  2000-09-13 16:38 ` Mike Iglesias
  0 siblings, 2 replies; 4+ messages in thread
From: Keith Bradnam @ 2000-09-13 10:01 UTC (permalink / raw)




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 




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Problems when trying to su to a user running tcsh
  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
  2000-09-13 16:38 ` Mike Iglesias
  1 sibling, 1 reply; 4+ messages in thread
From: nick de Beer @ 2000-09-13 10:12 UTC (permalink / raw)
  To: Keith Bradnam

[-- Attachment #1: Type: text/plain, Size: 1158 bytes --]

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

[-- Attachment #2: Card for nick de Beer --]
[-- Type: text/x-vcard, Size: 202 bytes --]

begin:vcard 
n:de Beer;Nick
x-mozilla-html:FALSE
org:Compaq Computer Limited;Compaq Telecoms
adr:;;;;;;
version:2.1
email;internet:nick.debeer@compaq.com
title:UNIX Consultant
fn:Nick de Beer
end:vcard

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Problems when trying to su to a user running tcsh
  2000-09-13 10:12 ` nick de Beer
@ 2000-09-13 14:29   ` Marble Head
  0 siblings, 0 replies; 4+ messages in thread
From: Marble Head @ 2000-09-13 14:29 UTC (permalink / raw)


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



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Problems when trying to su to a user running tcsh
  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 16:38 ` Mike Iglesias
  1 sibling, 0 replies; 4+ messages in thread
From: Mike Iglesias @ 2000-09-13 16:38 UTC (permalink / raw)


In article <Pine.SOL.3.96.1000913105625.21823B-100000@thale>,
Keith Bradnam  <keith@thale.nott.ac.uk> wrote:
>41 keith% su tmp_user
>Password:
>tcsh: Permission denied
>tcsh: Trying to start from "/home/tmp_user"
>37 tmp_user% 

This usually results from the user you are su'ing to not having access
to the directory you are in currently.  It's nothing to worry about.


-- 
Mike Iglesias                          Internet:    iglesias@draco.acs.uci.edu
University of California, Irvine       phone:       949-824-6926
Network & Academic Computing Services  FAX:         949-824-2069


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2000-09-13 16:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2000-09-13 16:38 ` Mike Iglesias

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox