03-25-2009
These messages appear when the DefaultRoot configuration directive is in effect. This directive causes a user to be confined using the chroot(2) system call. This call, however, affects other system utilities, such as PAM. In this case, PAM's configuration is causing the PAM library to attempt to open PAM modules using a path that is no longer valid, thus the errors. This happens on logout because the chroot has already happened by that point; on login, the PAM modules are successfully found and loaded before the chroot, so no errors. These are merely cosmetic reporting errors, and do not really affect the functionality or security of the server
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello UNIX people. I was just cruising around my UFS and came across the directory /usr/lib/32. This directory continues up many directories (/usr/lib/32/32/32/32->). Each level of 32/ directory seems to be a copy of the previous one. I have been working with UNIX for a little while now, but I... (3 Replies)
Discussion started by: shaggy
3 Replies
2. Solaris
I have an X4500 server running solaris 10 and when I reboot my system it displays the following errors messages. Could someone help me with this ???
NOTICE: pci8086,1011 - e1000g : Adapter 100Mbps full duplex copper link is up.
Nov 8 17:41:46 /usr/lib/snmp/snmpdx: can't open the file
Nov 8... (2 Replies)
Discussion started by: bharu_sri
2 Replies
3. UNIX for Dummies Questions & Answers
Hello,
I have this folder on my one of the machine but not on other.
/usr/lib/nsr
can anyone tell me for what this folder is used ?
Thanks (2 Replies)
Discussion started by: yatrik007
2 Replies
4. UNIX for Dummies Questions & Answers
Hi all, my first post here. I'm trying to load hypermail on my Mac (Tiger 10.4.11). It seemed to install just fine, but when I run the test build I get this error:
dyld: Library not loaded: /usr/local/lib/libpcre.0.dylib
Referenced from: /Users/sstark/Desktop/hypermail/tests/../src/hypermail... (4 Replies)
Discussion started by: slugger415
4 Replies
5. Shell Programming and Scripting
Hi,
When run the script directly...it executes as expected. But when put it in crontab the job fails with this error:
Connection not open
08003: Connection not open
Unable to connect to the database...
how come it is not able to connect when cron job fires?... Do I need to... (7 Replies)
Discussion started by: nuthakki
7 Replies
6. UNIX for Advanced & Expert Users
Hi,
I want to use the function "v12n_domain_uuid" on solaris box. The library "libv12n" is present in /usr/lib but i can't locate the header "libv12n.h" anywhere in the box.
How do i run the API "v12n_domain_uuid" (4 Replies)
Discussion started by: skyineyes
4 Replies
7. BSD
I'm not sure if this is the default behavior for the ld command, but it does not seem to be looking in /usr/local/lib for shared libraries.
I was trying to compile the latest version of Kanatest from svn. The autorgen.sh script seems to exit without too much trouble:
$ ./autogen.sh
checking... (2 Replies)
Discussion started by: AntumDeluge
2 Replies
8. Solaris
Dear All
After powering on my Netra120 Solaris server and waiting for all of the installed processes to be started , when trying for login I am getting :
"can not open module /usr/lib/security/pam_authtok_get.so.1"
Can you please let me know what has happened to my server and how can I reach... (3 Replies)
Discussion started by: hadimotamedi
3 Replies
LEARN ABOUT PLAN9
pam_unix_session
pam_unix_session(5) Standards, Environments, and Macros pam_unix_session(5)
NAME
pam_unix_session - session management PAM module for UNIX
SYNOPSIS
pam_unix_session.so.1
DESCRIPTION
The pam_unix_session module implements pam_sm_open_session(3PAM) and pam_sm_close_session(3PAM).
pam_sm_open_session() updates the /var/adm/lastlog file with the information contained in the PAM_USER, PAM_TTY, and PAM_RHOSTS items.
pam_unix_account(5) uses this account to determine the previous time the user logged in.
pam_sm_close_session() is a null function.
The following options can be passed to the module:
debug syslog(3C) debugging information at the LOG_DEBUG level
ERRORS
Upon successful completion, PAM_SUCCESS is returned. The following error codes are returned upon error:
PAM_SESSION_ERR Cannot make or remove the entry for the specified session (PAM_TTY is not present).
PAM_USER_UNKNOWN No account is present for user.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
|MT Level |MT-Safe with exceptions |
+-----------------------------+-----------------------------+
SEE ALSO
pam(3PAM), pam_authenticate(3PAM), syslog(3C), libpam(3LIB), pam.conf(4), nsswitch.conf(4), attributes(5), pam_authtok_check(5), pam_auth-
tok_get(5), pam_authtok_store(5), pam_dhkeys(5), pam_passwd_auth(5), pam_unix_account(5),pam_unix_auth(5),
NOTES
The interfaces in libpam(3LIB) are MT-Safe only if each thread within the multi-threaded application uses its own PAM handle.
The pam_unix(5) module is no longer supported. Similar functionality is provided by pam_authtok_check(5), pam_authtok_get(5), pam_auth-
tok_store(5), pam_dhkeys(5), pam_passwd_auth(5), pam_unix_account(5), pam_unix_auth(5), and pam_unix_session(5).
SunOS 5.10 9 Sept 2004 pam_unix_session(5)