You are not logged in.

#1 2007-10-18 19:12:58

Roberth
Member
From: The Pale Blue Dot
Registered: 2007-01-12
Posts: 894

Change password for a user

Hello, I just added a new user to my system, when I set the user's password, the two passwords didn't match, the problem is that adduser didn't let me retype my password the, it just completed, and I can't log in with this user I can't change password with the passwd utility, what options do I have?


Use the Source, Luke!

Offline

#2 2007-10-18 19:26:28

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Change password for a user

Can you still log in as root? root should be able to change the password with the passwd utility:

passwd loginname

Dusty

Offline

#3 2007-10-18 19:27:06

daf666
Member
Registered: 2007-04-08
Posts: 470
Website

Re: Change password for a user

This can work:
1. as root, edit /etc/passwd and remove the line for the messed up user
2. remove the users dir, from /home
3. recreate the user

Offline

Board footer

Powered by FluxBB