Root password changed but old one still works


 
Thread Tools Search this Thread
Operating Systems AIX Root password changed but old one still works
# 1  
Old 07-14-2014
Root password changed but old one still works

Hello

i am running AIX 6.1. i recently changed the root password using passwd and pwdadm. while the new password works fine, i am still able to login using the old password. is there anyway this can disabled\fixed

thanks
# 2  
Old 07-14-2014
It is possible that you use for the new password the same leading 8 characters as for the old one?

The (old) AIX-Default Password Algorithm will only check the first 8 characters.

Regards
This User Gave Thanks to -=XrAy=- For This Post:
# 3  
Old 07-14-2014
didn't know that. will give it a try and let you know

thanks

---------- Post updated at 08:18 AM ---------- Previous update was at 08:15 AM ----------

worked, thanks
# 4  
Old 07-14-2014
It is highly recommended to change that default password algorithm to a stronger one.

Example:
chsec -f /etc/security/login.cfg -s usw -a pwd_algorithm=ssha256

... and re-enter the passwords for all user with passwd.

Regards
# 5  
Old 07-14-2014
i will look into it further thanks
# 6  
Old 07-14-2014
Also, on the side note, when you were entering the new password is the prompt coming ok? or it is giving you some error.

There is no harm in checking the values of default stanza and or root's user stanza in /etc/security/user file

Check to see what these values are

Code:
histexpire 
histsize 
maxage
maxrepeats

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Check when the password has been changed lastly

Hi, I wanted to check when the password of a current user(logged in) has been changed recently. I tried with the commands like passwd -s name logins -x -l username everthingbut it shows not a super user Which commands will help me.. Kindly help.. Thanks in advance. (3 Replies)
Discussion started by: Pranavi
3 Replies

2. UNIX for Dummies Questions & Answers

Root user changed language display

Hi, I was carrying out some simple admin tasks setting up a user, logged in as root when I fumbled on the keyboard. It appears I typed cp * ../user/<esc><esc>I hit return and now the display has set to a strange array of symbols e.g. ¼Ùïõò §ÏÅÎÓÓȧ ãïîîåãôéïî èáó ôåòíéîáôåä I've tried looking at the... (7 Replies)
Discussion started by: becky492
7 Replies

3. Red Hat

Password not changed!

Hi I am using Fedora 14. I forgot root password of Fedora 14 so I used online help from Fedora website which says by doing rheb silent 1 and then using proper kernel and then using psswd for changing the password I changed it. But after normal booting GUI I am not able to log-on. Can anybody plz... (5 Replies)
Discussion started by: nixhead
5 Replies

4. UNIX for Dummies Questions & Answers

Password last changed

Hi, I am doing an audit and thought I knew what I was doing, but reading through the posts I came into doubt. On Sun Solaris, I want to know when users last changed their passwords. I have the etc/shadow files and there is a nice field showing this. Except that it is disturbing me somewhat that... (5 Replies)
Discussion started by: Norgaard
5 Replies

5. UNIX for Advanced & Expert Users

SuSE-11 Ownership of files having root got changed

Hi Experts, I have create a new user with uid and gid as 0 in SuSE-11 Server. After that all the files having root owner ship are showing as new user name as owner. If I login as root, and type 'id' command, it also shows the new user. Sample output from my server. host:~ # id uid=0(test)... (4 Replies)
Discussion started by: vipinable
4 Replies

6. 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

7. Solaris

what impact root gid changed from other to root is?

> id root 0(root) 1(other) From CIS scanning result"it should make sure the root's gid is equal to 0", so I don't know what's the impact for that change to whole system? BTW, why is there a group named other under solaris? what does group "other" do ? Thanks very much! (3 Replies)
Discussion started by: a2156z
3 Replies

8. SuSE

root folders group changed in SUSE linux

The group of the /root folder has been changed and then logged out I am not able to log in to the /root user as it is saying Xsession log in not allowed Is there any way that the group of the /root folder be changed? (1 Reply)
Discussion started by: napster_san
1 Replies

9. UNIX for Dummies Questions & Answers

Have users changed their password

How can I know users have changed their passwords ? I don't need their password (!) I have to know if they have changed their pass word and when ? Thank you in advance for any SIMPLE answer. (6 Replies)
Discussion started by: annemar
6 Replies

10. Solaris

changed shell of the root accidentally

Hi All, I have changed the shell of the root accidentally to /sbin/bash :mad: How do I change that? :( To change that I need to go to ok prompt I think, and there I need to mount the root file system in order to make changes to the respective file. Can any one please suggest how do I do... (4 Replies)
Discussion started by: pintu_asim
4 Replies
Login or Register to Ask a Question