Search Results

Search: Posts Made By: solaris_1977
Forum: Solaris 10-23-2019
7,173
Posted By solaris_1977
Yes, this is fixed. Thank you very much.
Yes, this is fixed. Thank you very much.
Forum: Solaris 10-23-2019
7,173
Posted By solaris_1977
Yes, you are almost close :-) It was file instead...
Yes, you are almost close :-) It was file instead of files in /etc/nsswitch.conf
Where did you find that it is issue with nsswitch.conf ?
Forum: Solaris 10-23-2019
7,173
Posted By solaris_1977
This server is on SVM, so that possibility is not...
This server is on SVM, so that possibility is not an option.
truss output is long, so also attaching that in txt attachment here.

# truss -rall -wall chown root:sys /etc/shadow...
Forum: Solaris 10-23-2019
7,173
Posted By solaris_1977
Thanks for trying. I will wait for somebody else...
Thanks for trying. I will wait for somebody else to jump in and I will also keep trying
Forum: Solaris 10-23-2019
7,173
Posted By solaris_1977
Not sure, if this can help or not. But going with...
Not sure, if this can help or not. But going with a blog and as per that, I inserted a line "skip-authentication" on top of /etc/pam.conf
But this didn't helped. Things are same still
Forum: Solaris 10-23-2019
7,173
Posted By solaris_1977
Yes, I did same. Initially I copied only passwd...
Yes, I did same. Initially I copied only passwd and group file from other server and ran pwconv.
Then I copied shadow also from other server.
And yes, I moved all three files, not copied.
Forum: Solaris 10-23-2019
7,173
Posted By solaris_1977
I overwrite passwd, group from other similar...
I overwrite passwd, group from other similar server and ran pwconv, still no luck.
Tried copying /etc/shadow too, no help.
# ls -l /etc/passwd /etc/shadow /etc/group
-rw-r--r-- 1 0 sys ...
Forum: Solaris 10-22-2019
7,173
Posted By solaris_1977
# groupadd -g 1002 johnsp # useradd -m -d...
# groupadd -g 1002 johnsp
# useradd -m -d /export/home/johnsp -u 1002 -g 1002 -s /bin/bash johnsp
64 blocks
# id -a johnsp
id: invalid user name: "johnsp"
# cat /etc/passwd | grep johnsp...
Forum: Solaris 10-22-2019
7,173
Posted By solaris_1977
It is same, because when I found that /etc/shadow...
It is same, because when I found that /etc/shadow is not good, I copied contents of /etc/oshadow to /etc/shadow
# diff /etc/oshadow /etc/shadow
#
Forum: Solaris 10-22-2019
7,173
Posted By solaris_1977
# cat /etc/passwd ...
# cat /etc/passwd
root:x:0:0:Super-User:/:/sbin/sh
daemon:x:1:1::/:
bin:x:2:2::/usr/bin:
sys:x:3:3::/:
adm:x:4:4:Admin:/var/adm:
lp:x:71:8:Line Printer Admin:/usr/spool/lp:
uucp:x:5:5:uucp...
Forum: Solaris 10-22-2019
7,173
Posted By solaris_1977
No backup for this server. Though I have...
No backup for this server.
Though I have /etc/oshadow files and even I have similar /etc/shadow from other servers, but copying them is not helpful
Forum: Solaris 10-22-2019
7,173
Posted By solaris_1977
Root user not recognizing on Solaris-10 (shadow file corruption)
Hello,
I got into a wired state on one of solaris 10 server. When I noticed that server is having some issue, I found that there were dumpadm.conf entries in /etc/shadow and real entries were wiped...
Showing results 1 to 12 of 12

 

Featured Tech Videos

All times are GMT -4. The time now is 05:52 AM.
Unix & Linux Forums Content Copyright 1993-2020. All Rights Reserved.
Privacy Policy