I've got a problem caused by another who did:
- He create an user and grant the group (1) to this
- The problem appears as "Permission deined when reboot the Server
Then, I recover by CDrom, change owner to root (pam.conf), login success to Server. However, I can change root's password, even deleting 2 users
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)
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)
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)
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)
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)
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)
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 LINUX
pam_securetty
PAM_SECURETTY(8) Linux-PAM Manual PAM_SECURETTY(8)NAME
pam_securetty - Limit root login to special devices
SYNOPSIS
pam_securetty.so [debug]
DESCRIPTION
pam_securetty is a PAM module that allows root logins only if the user is logging in on a "secure" tty, as defined by the listing in
/etc/securetty. pam_securetty also checks to make sure that /etc/securetty is a plain file and not world writable.
This module has no effect on non-root users and requires that the application fills in the PAM_TTY item correctly.
For canonical usage, should be listed as a required authentication method before any sufficient authentication methods.
OPTIONS
debug
Print debug information.
MODULE TYPES PROVIDED
Only the auth module type is provided.
RETURN VALUES
PAM_SUCCESS
The user is allowed to continue authentication. Either the user is not root, or the root user is trying to log in on an acceptable
device.
PAM_AUTH_ERR
Authentication is rejected. Either root is attempting to log in via an unacceptable device, or the /etc/securetty file is world
writable or not a normal file.
PAM_INCOMPLETE
An application error occurred. pam_securetty was not able to get information it required from the application that called it.
PAM_SERVICE_ERR
An error occurred while the module was determining the user's name or tty, or the module could not open /etc/securetty.
PAM_USER_UNKNOWN
The module could not find the user name in the /etc/passwd file to verify whether the user had a UID of 0. Therefore, the results of
running this module are ignored.
EXAMPLES
auth required pam_securetty.so
auth required pam_unix.so
SEE ALSO securetty(5), pam.conf(5), pam.d(5), pam(7)AUTHOR
pam_securetty was written by Elliot Lee <sopwith@cuc.edu>.
Linux-PAM Manual 06/04/2011 PAM_SECURETTY(8)