* Root login on a DECstation
@ 1993-02-11 0:44 MISRA MANAVENDRA
1993-02-11 20:01 ` Mike O'Connor
1993-02-11 21:29 ` Shawn Mamros
0 siblings, 2 replies; 4+ messages in thread
From: MISRA MANAVENDRA @ 1993-02-11 0:44 UTC (permalink / raw)
Hi! I have a DECstation and I find that each time I want to do an
su root, it comes back with a:
getwd: Permission denied -- can't start new shell
error. How can I rectify this? Thanks.
Manavendra Misra
mmisra@mines.colorado.edu
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Root login on a DECstation
1993-02-11 0:44 Root login on a DECstation MISRA MANAVENDRA
@ 1993-02-11 20:01 ` Mike O'Connor
1993-02-12 4:12 ` Bill Rye
1993-02-11 21:29 ` Shawn Mamros
1 sibling, 1 reply; 4+ messages in thread
From: Mike O'Connor @ 1993-02-11 20:01 UTC (permalink / raw)
In article <1993Feb11.004409.62555@slate.mines.colorado.edu>
mmisra@slate.mines.colorado.edu (MISRA MANAVENDRA ) writes:
:Hi! I have a DECstation and I find that each time I want to do an
:su root, it comes back with a:
:
:getwd: Permission denied -- can't start new shell
:
:error. How can I rectify this? Thanks.
Check the /etc/passwd entry (or the appropriate files when running
with enhanced security) for root. See if it makes any sense. If you
have /etc/ftpusers set up appropriately, try to ftp into your system
as root and see what happens.
...Mike
--
Michael J. O'Connor | Internet: mjo@fmsrl7.srl.ford.com
Ford Motor Company, OPEO | UUCP: ...!fmsrl7!opeo!mjo
20000 Rotunda, Bldg. 1-3001 | Phone: +1 (313) 248-1260
Dearborn, MI 48121 | Fax: +1 (313) 323-6277
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Root login on a DECstation
1993-02-11 0:44 Root login on a DECstation MISRA MANAVENDRA
1993-02-11 20:01 ` Mike O'Connor
@ 1993-02-11 21:29 ` Shawn Mamros
1 sibling, 0 replies; 4+ messages in thread
From: Shawn Mamros @ 1993-02-11 21:29 UTC (permalink / raw)
mmisra@slate.mines.colorado.edu (MISRA MANAVENDRA ) writes:
|> Hi! I have a DECstation and I find that each time I want to do an
|> su root, it comes back with a:
|>
|> getwd: Permission denied -- can't start new shell
|>
|> error. How can I rectify this? Thanks.
One likely cause of this is that you're running su in a directory that's
on an NFS filesystem exported without root equivalency (-r=0), and the
directory is non-world-readable and/or non-world-executable. In this
case, root doesn't have privilege to read the directory it's in, and
therefore getwd(3) fails, and therefore root's shell refuses to start.
Easiest workaround: cd to / (or some other world-readable and/or local
directory) before running su root.
Some shells deal with this situation better than others. tcsh, for example,
will always chdir("/") itself if getwd() fails.
-Shawn Mamros
E-mail to: mamros@athena.lkg.dec.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Root login on a DECstation
1993-02-11 20:01 ` Mike O'Connor
@ 1993-02-12 4:12 ` Bill Rye
0 siblings, 0 replies; 4+ messages in thread
From: Bill Rye @ 1993-02-12 4:12 UTC (permalink / raw)
In article <1993Feb11.004409.62555@slate.mines.colorado.edu>
>mmisra@slate.mines.colorado.edu (MISRA MANAVENDRA ) writes:
>
>Hi! I have a DECstation and I find that each time I want to do an
>su root, it comes back with a:
>
>getwd: Permission denied -- can't start new shell
>
>error. How can I rectify this? Thanks.
Are you trying to do this when the current directory = NFS mounted directory
with root being mapped to nobody. I think thats when I usually see the
problem. Try cding to / and then trying to su. Nobody (the user) probably
can't read the directory.
Bill Rye | DISCLAIMER - Digital may own my thoughts and ideas,
DEC Columbia, MD | but all opinions are my own, no matter how stupid they might
rye@dco.dec.com | seem.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1993-02-12 4:12 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-02-11 0:44 Root login on a DECstation MISRA MANAVENDRA
1993-02-11 20:01 ` Mike O'Connor
1993-02-12 4:12 ` Bill Rye
1993-02-11 21:29 ` Shawn Mamros
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox