06-22-2017
Please post the output of your syslog file (wrapped in code tags) regarding the pam credentials.
Thanks.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi
i am facing a problem when i run a shell script to load a table.the error is
Record 1: Rejected - Error on table TRENDS."SHP_CUST_ORD_ITM".
ORA-14400: inserted partition key is beyond highest legal partition key
Record 2: Rejected - Error on table TRENDS."SHP_CUST_ORD_ITM", column... (4 Replies)
Discussion started by: musavir19
4 Replies
2. Shell Programming and Scripting
hi all
need your help.
I am wrting a script that will load data into the table.
then on another load will append the data into the existing table.
Regards
Ankit (1 Reply)
Discussion started by: ankitgupta
1 Replies
3. UNIX for Advanced & Expert Users
When i try to run a job in unix, i am getting
sqlload error as,
sqlload : file not found.
Can any one please let me know whats the reason for this..
The PATH & ORACLE_HOME paths names are correct...
thanks
here is the script : plz hv a look
TABLE_NAME= tablename... (1 Reply)
Discussion started by: abhi_123
1 Replies
4. Solaris
My solaris 8 server messages log recored error
"Sep 30 21:35:00 bkp1 cron: open_module: /usr/lib/security/pam_unix_cred.so.1 failed: ld.so.1: cron: fatal: libproject.so.1: open failed: No such file or directory"
Any idea what is this related to and how to stop?
thanks in advance. (2 Replies)
Discussion started by: admin@solaris
2 Replies
5. UNIX Desktop Questions & Answers
I write this code.
It show the first dialog correctly.
but, no matter i modify the code(load module by use or require, or something i think maybe error)
it can't pop-up anymore.
and show this warning.
Thanks.
(I'm sorry for my English.)
Tue Mar 16 17:24:36 2010
... (0 Replies)
Discussion started by: snyh
0 Replies
6. Shell Programming and Scripting
Hi all,
Is there any command in Unix, which will stop the load process if any error is found in the i/p file?
I am trying to load 5 files sequentially.
A then
B then
C then
D then
E end;
1) If A encounter's any error while data load, the load process should stop, and it should not... (5 Replies)
Discussion started by: msrahman
5 Replies
7. Windows & DOS: Issues & Discussions
Hi all, I am new to perl and have finished writing my first script. The script runs well on my machine and now I want to translate it to an executable to distribute with clients.
I am running ActivePerl 5.8.9 Build 829 and Perl2exe V10.10
I keep getting the error Warning: Can't locate... (0 Replies)
Discussion started by: chazchaz
0 Replies
8. UNIX for Dummies Questions & Answers
Hello, on my hostserver i see one VPS of mine got load of 200.00 and netstat nothing (not a single blank line on netstat command) after some time, netstat started showing connections, but i see no excessive IP connections.
tail -f /var/log/httpd/access_log shows no activity
/var/log/messages ;... (1 Reply)
Discussion started by: postcd
1 Replies
9. SCO
I'm under huge pressure to recover data from an old server that only gets booted very infrequently. The data on it is urgently required - isn't always??!
..
Server is an HP DL380G5 which is running SCO Unixware 7.11
..
It has 3 partitions in a RAID 5 Configuration: 1 of 10GB (I assume it... (19 Replies)
Discussion started by: BernP
19 Replies
LEARN ABOUT SUNOS
pam_setcred
pam_setcred(3PAM) PAM Library Functions pam_setcred(3PAM)
NAME
pam_setcred - modify/delete user credentials for an authentication service
SYNOPSIS
cc [ flag ... ] file ... -lpam [ library ... ]
#include <security/pam_appl.h>
int pam_setcred(pam_handle_t *pamh, int flags);
DESCRIPTION
The pam_setcred() function is used to establish, modify, or delete user credentials. It is typically called after the user has been authen-
ticated and after a session has been opened. See pam_authenticate(3PAM), pam_acct_mgmt(3PAM), and pam_open_session(3PAM).
The user is specified by a prior call to pam_start() or pam_set_item(), and is referenced by the authentication handle, pamh. The following
flags may be set in the flags field. Note that the first four flags are mutually exclusive:
PAM_ESTABLISH_CRED Set user credentials for an authentication service.
PAM_DELETE_CRED Delete user credentials associated with an authentication service.
PAM_REINITIALIZE_CRED Reinitialize user credentials.
PAM_REFRESH_CRED Extend lifetime of user credentials.
PAM_SILENT Authentication service should not generate any messages.
If no flag is set, PAM_ESTABLISH_CRED is used as the default.
RETURN VALUES
Upon success, pam_setcred() returns PAM_SUCCESS. In addition to the error return values described in pam(3PAM) the following values may be
returned upon error:
PAM_CRED_UNAVAIL Underlying authentication service can not retrieve user credentials unavailable.
PAM_CRED_EXPIRED User credentials expired.
PAM_USER_UNKNOWN User unknown to underlying authentication service.
PAM_CRED_ERR Failure setting user credentials.
ATTRIBUTES
See attributes(5) for description of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability | Evolving |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe with exceptions |
+-----------------------------+-----------------------------+
SEE ALSO
pam(3PAM), pam_acct_mgmt(3PAM), pam_authenticate(3PAM), pam_open_session(3PAM), pam_set_item(3PAM), pam_start(3PAM), libpam(3LIB),
attributes(5)
NOTES
The interfaces in libpam are MT-Safe only if each thread within the multithreaded application uses its own PAM handle.
SunOS 5.10 13 Oct 1998 pam_setcred(3PAM)