Solaris 8 passwd locked out − permission denied


 
Thread Tools Search this Thread
Operating Systems Solaris Solaris 8 passwd locked out − permission denied
# 1  
Old 01-23-2009
Solaris 8 passwd locked out − permission denied

Hi Gurus,
i have ussers cannot change their passwords, neither can root change the user's password.

O.S. Solaris 8
up−to−date on security patchaes as far as I know.

Examples (names have been changed to protect the guilty):

User logged on:
$ passwd
passwd: Changing password for <user>
passwd: User unknown: <user>
Permission denied

ROOT logged on:
# passwd <user>
passwd: User unknown: <user>
Permission denied

Permissions for the /usr/bin/passwd file seem to be correct
(r−−sr−−sr−−x).
Permissions on /etc/passwd and /etc/shadow seem to be correct (r−−r−−r−−
and r−−−−−−−− respectively).
<User> does exist in both files and record format is comparable to other
entries.
Home directory does exist and is owned by <user>.

What am I missing???

Thank you in advanced.
# 2  
Old 01-23-2009
do you use a directory service for your user? something like ldap or nis? if so, you have to use the proper tool to change the users password. have a look at /etc/nsswitch.conf for your configuration...
# 3  
Old 01-23-2009
Hi Duke,

This is stand alone, no directory services in place.
# 4  
Old 01-23-2009
try to use the "admintool" or "smc" to change the password. or create a new user and try to change the password... if all this fails, there should be something wrong with the system itself...
# 5  
Old 01-23-2009
Could be that /etc/pam.conf is misconfigured.
# 6  
Old 01-25-2009
in you messages say

#####################
Permissions on /etc/passwd and /etc/shadow seem to be correct (r−−r−−r−−
and r−−−−−−−− respectively).
#####################

but in my experience the correct permissions for /etc/passwd are rw-r--r--

check /var/ssam/install/contents for verify the original permissions for /etc/passwd

grep /etc/passwd /var/sadm/install/contents

the correct permissions are indicated in the fourth column
# 7  
Old 01-26-2009
Quote:
Originally Posted by raziayub
Permissions for the /usr/bin/passwd file seem to be correct
(r−−sr−−sr−−x).
Permissions on /etc/passwd and /etc/shadow seem to be correct (r−−r−−r−−
and r−−−−−−−− respectively).
permission for /usr/bin/passwd should be allowed for execute permission
passwd and shadow file must be either 400 or 600
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Ubuntu

Permission denied

Trying to get date into the txt file. It says Permission denied. echo $(date +%I:%M:%S_%D) >> /tmp/systemd_suspend_test_err.txt exec 2>> /tmp/systemd_suspend_test_err.txt if ; then # Do the thing you want before suspend here echo "we are suspending $(date +%I:%M:%S_%D)." elif ;... (5 Replies)
Discussion started by: drew77
5 Replies

2. UNIX for Advanced & Expert Users

Passwd getting locked

Hi, there is a password lock problem happening everyday at one of the servers(GNU RH-Linux;kernel release version 2.6.18-308.20.1.el5) for a particular user id which is an appln user id. Everyday it needs to be reset by the owner/unix user mgmt team. My suspicion was if any cronjob was running... (3 Replies)
Discussion started by: sam_bd
3 Replies

3. Solaris

Particular user account shouldn't be locked after entering wrong passwd specfic no. times

Hi all In my system we have implemented user lockout feature after 3 failure attempt if he tries to login directly or if he run the any command through sudo and enter wrong password thrice. Now I have requirement in which particular user account shouldn't be locked when he run the command... (1 Reply)
Discussion started by: sb200
1 Replies

4. UNIX for Dummies Questions & Answers

Account is locked or login administratively denied

Hi, When I am trying to do ssh to a server it shows below error. Key setup is all good and it used to work well few days back. Now suddenly I am getting this error. ssh -i <private_key> <id>@<hostname> Received disconnect from <hostname> Account is locked or login administratively... (1 Reply)
Discussion started by: mahish20
1 Replies

5. Shell Programming and Scripting

Permission denied

I created a user so that when he logs in he will be directed to a menu /etc/passwd user1:x:115:1:Support -SysAd:/export/home/user1:/export/home/suppotrmenu/script.sh However when I logged in remotely from another server by ssh user1@1.1.1.1 , it saysexport/home/suppotrmenu/script.sh:... (4 Replies)
Discussion started by: lhareigh890
4 Replies

6. Solaris

NFS in Solaris 9 - Permission denied

nfs mount: Permission denied Guy's in Solaris 9 I'm trying to mount the below mount point as nfs in clinet mount -F nfs -o rw 171.13.10.20:/shared /app but I'm getting the below message !!! bash-2.05# mount -F nfs -o rw 171.13.10.20:/shared /app nfs mount:... (2 Replies)
Discussion started by: Mr.AIX
2 Replies

7. UNIX for Dummies Questions & Answers

Permission denied

I would like to copy data from local mechine to cluster. Basically, I typed scp -r DVD/ acount@cluster:/ it shows Permission denied. Could anyone please give me a clue to write permission on cluster, please? The poperty of where on cluster I'd like to put is drwxr-xr-x Any idea would... (1 Reply)
Discussion started by: su_in99
1 Replies

8. UNIX for Dummies Questions & Answers

Why do I keep getting .:Permission denied?

I'll start off by saying that I know very little about Unix - however, I do know that I have a .profile file in my home directory, and that I should be able to invoke it by typing . profile. However, when I do this for ANY .filename, I get ".: Permission denied". I'm pretty sure that there is... (12 Replies)
Discussion started by: bbersani
12 Replies

9. UNIX for Advanced & Expert Users

Permission denied

Hi, I can not execute a .env file $ . /Data/oracle/d03/mydbora/8.0.6/MYDB.env -bash: /Data/oracle/d03/mydbora/8.0.6/MYDB.env: Permission denied Even if : -rwxrwxrwx 1 oracle dba 2903 Mar 5 2007 /Data/oracle/d03/mydbora/8.0.6/MYDB.env Please help. Many thanks. (1 Reply)
Discussion started by: big123456
1 Replies

10. UNIX for Dummies Questions & Answers

Permission Denied

I just started computer science at UW Milwaukee. When I access the university Solaris system from PuTTY, I get permission denied when I try to access the file I wrote. Now I really have no idea what I'm doing, I just don't understand why I get permission denied in my won directory. Thank You ... (0 Replies)
Discussion started by: howeezy
0 Replies
Login or Register to Ask a Question