12-24-2012
Thank you for your reply!
I solved those problem 3 days ago.
The problem was described:
+ The other man created 2 users who owned group root.
+ 2 users was changed owner to be a super user owning everything from root.
+ When reboot, the server was not logging still I used a CDrom and boot in single-mode, repaired some files and restarted.
503, 504 is the number instead of 2 strange users above. So, I write a shell script to find every files which owned by 503,504, compared them with the normal server running sun10 sparc. At the end, I switched back to right user (root, daemon, uucp), right group (root, sys, daemon, uucp ...).
Now, the problem is gone.
This User Gave Thanks to trantuananh24hg For This Post:
10 More Discussions You Might Find Interesting
1. Solaris
I need to recover root password on a test server (E 10k) running solaris 9. Can someone please tell me how to do this? (1 Reply)
Discussion started by: nitinkgoud
1 Replies
2. Solaris
Any body pls let me know the procedure to recover ROOT password in Sun Netra 20 Server..I forgot the password. (5 Replies)
Discussion started by: gini
5 Replies
3. AIX
Hi, yesterday, I changed root's shell in /etc/passwd, cause a mistake then I can not log in root account (can't find correct shell). I attempted to log in single-mode, however, it prompted for single-mode's password then I type root's password but still can not log in.
I'm using AIX 5L version 5.2... (2 Replies)
Discussion started by: neikel
2 Replies
4. UNIX for Dummies Questions & Answers
Trying to recover a root password on a Sun V580. Problem is I can not get it to recognize the STOP A to get to an OK prompt. Using USB keyboard and mouse.
Any ideas???? (1 Reply)
Discussion started by: calamine
1 Replies
5. Solaris
How to recover root password in solaris, I forgot root password.
thanks in advance (2 Replies)
Discussion started by: durgaprasadr13
2 Replies
6. Solaris
Dear All,
I have lost my data backup server's root password, just have a normal login username and password ..but i need to get back my root passwd....any1 can help me out plz :confused: (7 Replies)
Discussion started by: abir
7 Replies
7. Solaris
How can I recover root password :wall:
1) I am running Solaris 10 (X86) through VMware for practicing.
2) I was practicing root password recovery and deleted the password in /etc/shadow file.
3) Neither cant login the to the CLI nor Console
4) Selected the Soalris X86 failsafe in... (4 Replies)
Discussion started by: vijaykrishna
4 Replies
8. Red Hat
Hello forum members,
Please help me to recover the root password. i can login with the user in redhat linux but i forget root password. so pleas help me to recover.
advance thanks
siva. (2 Replies)
Discussion started by: workforsiva
2 Replies
9. Solaris
Hello forum members,
Please help me to recover the root password. I have had difficulties working with Solaris 11.
The run-level equivalents single-user in Solaris 10, I can mount disk in one partition and edit files shadow/passwd.
For example:
{0} ok boot cdrom -s
# mount... (4 Replies)
Discussion started by: Marcela Bueno
4 Replies
10. UNIX for Beginners Questions & Answers
Hi,, i have a solaris 10 machine , that let the root password expire..
I am trying to recover from failsafe mode.
In the old days it was rater simple , boot to cdrom , mount the root disk,
/a cd /a and wipe out root pw string..
Now i have to try and do it remotely , from failsafe and this... (2 Replies)
Discussion started by: goya
2 Replies
LEARN ABOUT SUSE
pam_wheel
PAM_WHEEL(8) Linux-PAM Manual PAM_WHEEL(8)
NAME
pam_wheel - Only permit root access to members of group wheel
SYNOPSIS
pam_wheel.so [debug] [deny] [group=name] [root_only] [trust] [use_uid]
DESCRIPTION
The pam_wheel PAM module is used to enforce the so-called wheel group. By default it permits root access to the system if the applicant
user is a member of the wheel group. If no group with this name exist, the module is using the group with the group-ID 0.
OPTIONS
debug
Print debug information.
deny
Reverse the sense of the auth operation: if the user is trying to get UID 0 access and is a member of the wheel group (or the group of
the group option), deny access. Conversely, if the user is not in the group, return PAM_IGNORE (unless trust was also specified, in
which case we return PAM_SUCCESS).
group=name
Instead of checking the wheel or GID 0 groups, use the name group to perform the authentication.
root_only
The check for wheel membership is done only.
trust
The pam_wheel module will return PAM_SUCCESS instead of PAM_IGNORE if the user is a member of the wheel group (thus with a little play
stacking the modules the wheel members may be able to su to root without being prompted for a passwd).
use_uid
The check for wheel membership will be done against the current uid instead of the original one (useful when jumping with su from one
account to another for example).
MODULE TYPES PROVIDED
The auth and account module types are provided.
RETURN VALUES
PAM_AUTH_ERR
Authentication failure.
PAM_BUF_ERR
Memory buffer error.
PAM_IGNORE
The return value should be ignored by PAM dispatch.
PAM_PERM_DENY
Permission denied.
PAM_SERVICE_ERR
Cannot determine the user name.
PAM_SUCCESS
Success.
PAM_USER_UNKNOWN
User not known.
EXAMPLES
The root account gains access by default (rootok), only wheel members can become root (wheel) but Unix authenticate non-root applicants.
su auth sufficient pam_rootok.so
su auth required pam_wheel.so
su auth required pam_unix.so
SEE ALSO
pam.conf(5), pam.d(5), pam(8)
AUTHOR
pam_wheel was written by Cristian Gafton <gafton@redhat.com>.
Linux-PAM Manual 04/01/2010 PAM_WHEEL(8)