From: girardi@rniil.rni.sub.org (Norbert J. Girardi) Subject: Re: pwd command missing in Linux??? Date: 30 Dec 1992 10:14:32 GMT
wonge@fraser.sfu.ca (Edmund Wong) writes:
>
> HELP!.. I've been searching my system for the 'pwd' command,
> and like, I can't find it! The reason for me searching for 'pwd'
> is because I'm having major problems with the permission flags.
opwdo is a BASH builtin command. Try ohelp pwdo from the prompt.
>
> Everytime I log on as a non-root user, I get the following:-
>
> Welcome to Linux SLS ....
> ....etc
>
> Your password will expire in 0 days.
> No mail.
> shell-init: Permission denied
> pwd: Permission denied
> : Permission denied
> #
Check the permissions on ALL directories down from / to your users
home directory.
>
> I know, this isn't the first time I've posted this problem up,
> and nothing seems to work! Actually, it worked the first time I
> installed linux, but after screwing around with stuff like lpr,
> getty_ps and stuff like that, the old config files have been
> like totally been screwed completely..well..not exactly screwed,
> but the non-root user login is now completely screwed...
>
> Can someone please help me with this hair-tearing dilemma??
>
> Also, while I'm at it, How do I stop the server from giving
> me the stupid "Your password will expire in 0 days."????
[quoting from tweek@netcom.com (Michael D. Maxfield) ]
>>Subject: Oops, I goofed (WAS Re: Son of SLS questions (tm))
>>Message-ID: <1992Dec28.041818.7118@netcom.com>
>>Date: 28 Dec 92 04:18:18 GMT
>>Organization: Netcom Online Communications Services (408-241-9760 login: guest)
>>
>>In article <1992Dec28.040900.6300@netcom.com> tweek@netcom.com (Michael D. Maxfield) blows it and writes:
>>>Try (as root) `passwd -x 9999 -n 0 -w 100'
>>>-- the numbers are as follows:
>>> -x = number of days till expire
>>> -n = minimum number of days till a user may change his/her passwd
>>> -w = number of days prior to expiration that a user is warned
>>>
>>
>>After the whole arguement, add the users account name whom you wish to
>>change. IE: `passwd -x 9999 -n 0 -w 100 tweek'
>>
[END quoting from tweek@netcom.com (Michael D. Maxfield) ]
> Thanks in advance....
>
I hope this helps solving your problems.
Happy linuxing,
Norbert
SSSSSSS SQUAREDANCERS do it in groups of EIGHT.
S QQQSQQQ Norbert J. Girardi < girardi@rniil.rni.sub.org >
SSSQSSS Q Voice: +49 621 493417 (h) +49 621 381-3260 (w)
QQQQQQQ (If You know how to "scoot and ramble" drop me an Email)