home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!wupost!howland.reston.ans.net!paladin.american.edu!gatech!destroyer!cs.ubc.ca!newsserver.sfu.ca!wonge
- From: wonge@fraser.sfu.ca (Edmund Wong)
- Subject: Re: pwd command missing in L
- Message-ID: <1993Jan3.170106.449@sfu.ca>
- Sender: news@sfu.ca
- Organization: Simon Fraser University, Burnaby, B.C., Canada
- References: <726010584.AA29502@remote.halcyon.com> <1993Jan2.231947.4695@cbfsb.cb.att.com>
- Date: Sun, 3 Jan 1993 17:01:06 GMT
- Lines: 53
-
- In article <1993Jan2.231947.4695@cbfsb.cb.att.com> wto@cbnewsg.cb.att.com (William T. O Connell) writes:
- >In article <726010584.AA29502@remote.halcyon.com> Randy.Edwards@f60.n128.z1.fidonet.org (Randy Edwards) writes:
- >>To: wonge@fraser.sfu.ca (Edmund Wong)
- >> On 12-29-92 Edmund Wong wrote to All...
- >>
- >> EW> HELP!.. I've been searching my system for the 'pwd' command,
- >>[...]
- >> EW> Everytime I log on as a non-root user, I get the following:-
- >> EW> Welcome to Linux SLS ....
- >> EW> ....etc
- >> EW> Your password will expire in 0 days.
- >> EW> No mail.
- >> EW> shell-init: Permission denied
- >> EW> pwd: Permission denied
- >> EW> : Permission denied
- >> EW> #
- >>
- >> pwd is the command for Print Working Directory. I think what you
- >>want (but what do I know, I'm a unix-newbie :-) is "passwd".
- >>
- >> Also, FWIW, you might want to look around for a file called
- >>"perms.sh" which is a shell script which purports to fix the permission
- >>
- >>problems in the SLS release.
- >>.
- >>Randy
- >
- >I believe your actual problem is that somewhere in the directory
- >path to your login directory, you permissions on one or more of your
- >directorys is wrong. try logging in as root, and check them.
- >
- >- Bill O'Connell wto@ihlpx.att.com
- >
-
- The directory that had screwed up permissions was /. It
- firstly, didn't have the correct Setgid(I think), but mostly,
- it was the permissions.
-
- To those who are ripping their hair out because of this
- problem, I suggest you check the permissions of '/'.
-
- Do a 'ls -ld /' as someone kindly suggested. It should
- look like this:-
-
- drwxr-x-r-x 16 root sys 672 Jan 2 09:25 //
-
- <ok..maybe not after the sys id.>
-
-
- --
- InterNet: wonge@fraser.sfu.ca | "Fail not; Learn Not.
- | It is with failing, that one learns,
- | So by Learning, one must fail." - Edmund Wong
-