Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

pam_rootok(8) [osx man page]

pam_rootok(8)						    BSD System Manager's Manual 					     pam_rootok(8)

pam_rootok -- Root OK PAM module SYNOPSIS
[service-name] function-class control-flag pam_rootok [options] DESCRIPTION
The Root OK PAM module supports the authentication function class. In terms of the function-class parameter, this is the ``auth'' class. The Root OK authentication module always returns success for the superuser without prompting for a password. The following option may be passed to this authentication module: debug Debug information will be printed to the system log. SEE ALSO
pam.conf(5), pam(8) BSD
February 7, 2009 BSD

Check Out this Related Man Page

PAM_ROOTOK(8)							 Linux-PAM Manual						     PAM_ROOTOK(8)

pam_rootok - Gain only root access SYNOPSIS [debug] DESCRIPTION
pam_rootok is a PAM module that authenticates the user if their UID is 0. Applications that are created setuid-root generally retain the UID of the user but run with the authority of an enhanced effective-UID. It is the real UID that is checked. OPTIONS
debug Print debug information. MODULE TYPES PROVIDED
The auth, acct and password module types are provided. RETURN VALUES
In the case of the su(1) application the historical usage is to permit the superuser to adopt the identity of a lesser user without the use of a password. To obtain this behavior with PAM the following pair of lines are needed for the corresponding entry in the /etc/pam.d/su configuration file: # su authentication. Root is granted access by default. auth sufficient auth required SEE ALSO
su(1), pam.conf(5), pam.d(5), pam(7) AUTHOR
pam_rootok was written by Andrew G. Morgan, <>. Linux-PAM Manual 06/04/2011 PAM_ROOTOK(8)
Man Page

4 More Discussions You Might Find Interesting

1. Linux

Cant su to root

Hello, I can ssh as root directly, but when login as normal user, I cant su to root: user@server:~% su Password: and in the /var/log/messages: session opened for user root by user(uid=501) session closed for user root Im sure the root password is correct, any pointer? (14 Replies)
Discussion started by: bsddaemon
14 Replies

2. Linux

Not able to login to my Linux server

Hi, I am not able to login on my linux server through my some user :- when i login through root and try to login it gives the following error :- #su - oracle su: incorrect password i have check the entry of oracle user is there in /etc/passwd file also... (11 Replies)
Discussion started by: amity
11 Replies

3. Red Hat

Su root or login root

Hi, I find there is some customized linux with application. When I use login account root and type the password. It is not allow to login. But if I login with specified user and password. Then I use command "su - " and type root passwd. It allow you to switch to "root" account . Or if i... (14 Replies)
Discussion started by: chuikingman
14 Replies

4. Linux

User can't "su -" to root

Hello. I have a RHEL 7.2 where a regular user can't make a "su -" to reach root account: server532:t711740:/$ id uid=75456(t711740) gid=10000(personales) groups=10000(personales),10(wheel) tehrh532:t711740:/$ su - Password: su: Permission denied But can make "sudo su -"... (2 Replies)
Discussion started by: Gabriander
2 Replies