Visit Our UNIX and Linux User Community


change password ??


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users change password ??
# 1  
Old 02-29-2008
change password ??

Hey all,

How to reset the password to a given user id ??

I used passwd commands, but now for that user there are 2 passwords. i.e the old and new passwords.

as : passwd mqcfaostt
oldpassword : pass1
new password : pass2
Confirm new password : pass2

Now, su - mqcdaostt is working for both the passwords. pass1 and pass2

Suggest !!
Thanks.
VarunSmilie
# 2  
Old 02-29-2008
If pass1 and pass2 have the same 8 characters and more after that, then the passwords are the same as far as the system is concerned.

12345678
thisisthesameasthat
thisisthesecondpass
# 3  
Old 03-03-2008
Quote:
Originally Posted by RTM
If pass1 and pass2 have the same 8 characters and more after that, then the passwords are the same as far as the system is concerned.

12345678
thisisthesameasthat
thisisthesecondpass
thanks for the reply,

the first 8 characters are defenitly diff.
"pass1" and "pass2" are 2 passwords, old one and newer one., for the same userid.

Now tell me whats the matter when i change the password why does it take both the old and new passwords ?
# 4  
Old 03-03-2008
Just curious..
What system is it?
# 5  
Old 03-03-2008
Computer

Quote:
Originally Posted by vbe
Just curious..
What system is it?
Its AIX 5.3
Me too amazed with this nature of the command !! Smilie

Previous Thread | Next Thread
Test Your Knowledge in Computers #349
Difficulty: Easy
AWK was originally written in 1977 and distributed with Version 7 Unix.
True or False?

10 More Discussions You Might Find Interesting

1. Forum Support Area for Unregistered Users & Account Problems

Password sent via reset password email is 'weak' and won't allow me to change my password

I was unable to login and so used the "Forgotten Password' process. I was sent a NEWLY-PROVIDED password and a link through which my password could be changed. The NEWLY-PROVIDED password allowed me to login. Following the provided link I attempted to update my password to one of my own... (1 Reply)
Discussion started by: Rich Marton
1 Replies

2. AIX

Change password to blank password

AIX 6.1 User has a password set. It needs to be a blank password (no password). smit passwd enter user name at change password and confirm password, just press ENTER Afterwards, I could not log on with blank password or with original password. How can I change the password to a... (2 Replies)
Discussion started by: landog
2 Replies

3. UNIX for Dummies Questions & Answers

Help with Password Change

When I am trying to change the password of my account. I could see the following error: passwd: Changing password for ramu Enter existing login password: passwd: Sorry: less than 14 days since the last change. Permission denied Is anybody out there who can help me in changing my password? (4 Replies)
Discussion started by: bobby1015
4 Replies

4. Solaris

Solaris 8 - Asks for current root password when trying to change root password.

Hello All, I have several solaris boxes running Solaris 8. When changing root passwords on them, all will simply ask for the new root password to change and of course to re-type the new password. One of the systems however asks for the existing root password before it will display the new password... (8 Replies)
Discussion started by: tferrazz
8 Replies

5. Shell Programming and Scripting

how to change root password using shell script with standard password

Hi Friends. I am new to scripting now i want to change the root password using the script with standard password. which is the easy scripting to learn for the beginner, Thanks in advance. (2 Replies)
Discussion started by: kurva
2 Replies

6. Shell Programming and Scripting

change password in one go

Hi all, I need to change the password of any user in one go. For example in Linux we have two options :- (echo "username:password") | chpasswd or echo $PASS | passwd $USER --stdin This changes the password without prompting. Actually, I need to make a script which adds a user and... (5 Replies)
Discussion started by: vikas027
5 Replies

7. HP-UX

change password in one go

Hi all, I need to change the password of any user in one go. For example in Linux we have two options :- (echo "username:password") | chpasswd or echo $PASS | passwd $USER --stdin This changes the password without prompting. Actually, I need to make a script which adds a user and... (0 Replies)
Discussion started by: vikas027
0 Replies

8. Post Here to Contact Site Administrators and Moderators

how to change password?

for my membershi id in this site. :) Regards Indrajit (6 Replies)
Discussion started by: ipzig
6 Replies

9. HP-UX

How I Can Change The Password

I need change the password a two user. what're the commands to complete this requerement (4 Replies)
Discussion started by: bobangarcia
4 Replies

10. UNIX for Dummies Questions & Answers

Change password by pushing encrypted password to systems

I'm tasked to change a user's password on multiple Linux systems (RH v3). I though copying the encrypted password from one Linux /etc/shadow file to another would work but I was wrong. The long term solution is to establish an openLDAP Directory service, but for now I'm stuck with a manual... (1 Reply)
Discussion started by: benq70
1 Replies

Featured Tech Videos