[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: reset user password?
- From: "gary" <gary umc aspiren com>
- To: <redhat-list redhat com>
- Subject: Re: reset user password?
- Date: Wed, 31 Oct 2001 13:28:03 +0800
hi, thanks for all advise...
I try the chage command, it work, but I can't change password as shown
below:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
login: gary
Password:
You are required to change your password immediately (root enforced)
Changing password for gary
(current) UNIX password:
Authentication token manipulation error
Connection closed by foreign host.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This is my passwd file,
-rw-r--r-- 1 root root 1160 Oct 31 11:29 /etc/passwd
Is that means only root can change/update password?
What is the good way to get it work without security issue...
Thanks...
gary
----- Original Message -----
From: "Werner Puschitz" <wp puschitz com>
To: "Red Hat User's Mailing List" <redhat-list redhat com>
Sent: Wednesday, October 31, 2001 12:57 PM
Subject: Re: reset user password?
> On Tue, 30 Oct 2001, Anthony E. Greene wrote:
>
> > On Wed, 31 Oct 2001, gary wrote:
> > >In fact, I'm looking for some where to set, so that when user login
next
> > >time, the system will ask for new password and confirm password after
> > >entering login name (without asking for old password)
> >
> > How will the system know that this person is authorized to change the
> > password?
>
> When you force someone to change the password at the next login, e.g.
> "chage -d 0 [username]", then this is what happenes:
>
> login: test
> Password:
> You are required to change your password immediately (root enforced)
> Changing password for test
> (current) UNIX password: <<<====================
> New password:
> Retype new password:
> Last login: Tue Oct 30 23:49:50 from 210.210.210.10
> [test mars test]$
>
> So you already logged in to the system with the current password but you
> have to provide your current password AGAIN. This always confuses people
> when I do this for new created user accounts.
> After you logged in, you should not be asked again for the current
> password. E.g. AIX doesn't do this.
>
> Werner
>
>
>
>
> _______________________________________________
> Redhat-list mailing list
> Redhat-list redhat com
> https://listman.redhat.com/mailman/listinfo/redhat-list
>
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]