View previous topic :: View next topic |
Author |
Message |
zum n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/161517746743b267a94591d.gif)
Joined: 28 Dec 2005 Posts: 7 Location: London, New Zealand
|
Posted: Wed Dec 28, 2005 10:19 am Post subject: user expired - problems resetting |
|
|
soz a n00b; but trying
whiles back installed and and setup server and added some accounts
issue is one of those accounts has expired and I'm having problems unlocking it
thought/tried (for user George)
1/ >user -e 2006-02-28 george
- but tells me user already exists
2/ >passwd -u george
- but does seemed to have cut the mastard
help appreciated _________________ Zum|Qubenet
Last edited by zum on Fri Dec 30, 2005 5:44 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
dnas n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/35495859842e239cca3261.gif)
Joined: 26 Jun 2004 Posts: 35 Location: Belgium
|
Posted: Wed Dec 28, 2005 11:01 am Post subject: |
|
|
zum, normally when you do
You'll get the status of the account when there is an L in it it's indeed locked.
unlocking is normally with these commands:
If you check the status of the useraccount again with the (-S) option the L normally must been changed into a P
grtz _________________ All Information Should Be Free |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Maedhros Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/8825449514782674ca8d88.gif)
Joined: 14 Apr 2004 Posts: 5511 Location: Durham, UK
|
Posted: Wed Dec 28, 2005 4:48 pm Post subject: |
|
|
Moved from Installing Gentoo to Other Things Gentoo. _________________ No-one's more important than the earthworm. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
zum n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/161517746743b267a94591d.gif)
Joined: 28 Dec 2005 Posts: 7 Location: London, New Zealand
|
Posted: Thu Dec 29, 2005 11:00 am Post subject: |
|
|
seems the account has expired (user = george)
> web02 ~ # passwd -S george
> george P 12/28/2005 0 99999 7 -1
tried
> web02 ~ # passwd -u george
> Password changed.
> web02 ~ # passwd -S george
> george P 12/28/2005 0 99999 7 -1
but still no joy... _________________ Zum|Qubenet |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
zum n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/161517746743b267a94591d.gif)
Joined: 28 Dec 2005 Posts: 7 Location: London, New Zealand
|
Posted: Thu Dec 29, 2005 4:13 pm Post subject: |
|
|
surely its just me being a nub
any bright suggestions?
really need to get this sorted _________________ Zum|Qubenet |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
pjp Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/1154772887439692d88303b.jpg)
Joined: 16 Apr 2002 Posts: 20589
|
Posted: Thu Dec 29, 2005 8:19 pm Post subject: |
|
|
Moved from Other Things Gentoo _________________ Quis separabit? Quo animo? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
zum n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/161517746743b267a94591d.gif)
Joined: 28 Dec 2005 Posts: 7 Location: London, New Zealand
|
Posted: Fri Dec 30, 2005 10:27 am Post subject: |
|
|
help please
very nice of the mediators to keep moving my post around
but really I'd rather has some help ![Crying or Very sad :cry:](images/smiles/icon_cry.gif) _________________ Zum|Qubenet |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
zeuz Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 26 May 2004 Posts: 140 Location: Sweden
|
Posted: Fri Dec 30, 2005 10:28 am Post subject: |
|
|
I'm having the same problem as you, both root and my user has "expired", but I can still use them. crontab doesn't work though. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
zum n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/161517746743b267a94591d.gif)
Joined: 28 Dec 2005 Posts: 7 Location: London, New Zealand
|
Posted: Fri Dec 30, 2005 1:47 pm Post subject: |
|
|
glad its not only me then
would have though it was quiet a simple/common problem and there would be somewhere out with the knowledge to be able to set us straight...
but hey there I go trying to think again _________________ Zum|Qubenet |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
humbletech99 Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/781050335437c44a8039b0.jpg)
Joined: 26 May 2005 Posts: 1229 Location: London
|
Posted: Fri Dec 30, 2005 2:55 pm Post subject: |
|
|
It would seem to indicate that you should be able to log in with this account.
According to the info given, the account was not locked, nor would it ever be. It also has a usable password according to the output.
If you can't log in, then do as root:
then when prompted, enter a new password, press enter and then type it in again to confirm the password.
then exit and try to log in at a console with user george and password newpassword.
Let me know how it goes. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
zum n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/161517746743b267a94591d.gif)
Joined: 28 Dec 2005 Posts: 7 Location: London, New Zealand
|
Posted: Fri Dec 30, 2005 5:43 pm Post subject: |
|
|
thanks for the advise
it however has not helped
changing the users pass has not allowed them to reaccess the server _________________ Zum|Qubenet |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
humbletech99 Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/781050335437c44a8039b0.jpg)
Joined: 26 May 2005 Posts: 1229 Location: London
|
Posted: Fri Dec 30, 2005 6:05 pm Post subject: |
|
|
Is it only this one user on the machine that cannot log in to this server? Are all the other users ok?
What happens exactly when you try to log in to this server with this user? Does it just exit and go back to the login silently or does it say authentication failed and then go back to the login?
If you have working root access check your logs for error messages regarding the authentication failure.
Post back and I'll help further. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
zum n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/161517746743b267a94591d.gif)
Joined: 28 Dec 2005 Posts: 7 Location: London, New Zealand
|
Posted: Fri Dec 30, 2005 6:15 pm Post subject: |
|
|
ok sorted...
web02 ~ # chage -l george
Last password change : Dec 30, 2005
Password expires : never
Password inactive : never
Account expires : Dec 11, 2005
Minimum number of days between password change : 0
Maximum number of days between password change : 99999
Number of days of warning before password expires : 7
web02 ~ # chage -E 2006-01-31 george
chage -E 2006-01-31 george
web02 ~ # chage -l george
Last password change : Dec 30, 2005
Password expires : never
Password inactive : never
Account expires : Jan 31, 2006
Minimum number of days between password change : 0
Maximum number of days between password change : 99999
Number of days of warning before password expires : 7
had to RTFM ![Twisted Evil :twisted:](images/smiles/icon_twisted.gif) _________________ Zum|Qubenet |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|