08-04-2010
There is no built in mechanism for that in Solaris. Linux comes with a PAM module named pam_time, but I could not find a Solaris port.
Last edited by hergp; 08-05-2010 at 02:30 AM..
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I have asked by our security team to implement an automatic time out for user logins after a specified time interval. I have never heard of this feature in Unix before.
Does anyone know of a way to accomplish this for HP-UX 11i? (2 Replies)
Discussion started by: keelba
2 Replies
2. UNIX for Dummies Questions & Answers
hi all, i need yor help!!!:D
i am a newbie in programming
i want to get user list and their login time...
i have search and learn about pswd and utmp, but i only can get usr list without their login time...
do you have an idea to solve my problem?
thanx (5 Replies)
Discussion started by: alif
5 Replies
3. Solaris
Hi,
I need to implement something that will enforce login to a Solaris server as a particular, specifed user. After this login stage, users will be able to "su -" to whichever user they wish, by which time their activity will be captured by some sort of script (yet to be written). What I need... (7 Replies)
Discussion started by: jamiegeo1
7 Replies
4. UNIX for Dummies Questions & Answers
How do I get the last login time of a particular user?:confused: (1 Reply)
Discussion started by: g.ashok
1 Replies
5. SCO
I have a login script similar to where the user's shell in /etc/passwd is set to csh:
echo "In .login"
setenv SHELL /bin/csh
/bin/sh -c trap "" 1 2 3 5 6 7 8 15
/path/to/application
logout
---------------------
however, even with the trap command the user is still able to... (1 Reply)
Discussion started by: kuliksco
1 Replies
6. Solaris
Hi all,
I want to create a new user and grant him ONLY transfer files access to a specific directory where he can only upload and read the files. He should be restricted to this activity only.
Regards (6 Replies)
Discussion started by: gilldn
6 Replies
7. AIX
I want to set the "logintimes" variable for a user on a server who need access mornings and night how to I set the "logintimes" I want the user to log in from 08:00 to 12:00 and 17:00 to 21:00 is this possible? (1 Reply)
Discussion started by: daveisme
1 Replies
8. Solaris
Hi Admins,
HOW to set unlimited login attempts for user in Solaris ?
And do I need to insatll any packages before doing this?
Thanks. (1 Reply)
Discussion started by: manalisharmabe
1 Replies
9. Solaris
Hi everyone
Please i need urgent help...
I have installed solaris 11 using live media.. then i installed sunray.. every thing is fine.. but after system reboot i am unable to login on server on GUI it gives account expired error or some time authentication failed... but i can log in through... (11 Replies)
Discussion started by: amk
11 Replies
LEARN ABOUT DEBIAN
pam_get_data
PAM_GET_DATA(3) Linux-PAM Manual PAM_GET_DATA(3)
NAME
pam_get_data - get module internal data
SYNOPSIS
#include <security/pam_modules.h>
int pam_get_data(const pam_handle_t *pamh, const char *module_data_name, const void **data);
DESCRIPTION
This function together with the pam_set_data(3) function is useful to manage module-specific data meaningful only to the calling PAM
module.
The pam_get_data function looks up the object associated with the (hopefully) unique string module_data_name in the PAM context specified
by the pamh argument. A successful call to pam_get_data will result in data pointing to the object. Note, this data is not a copy and
should be treated as constant by the module.
RETURN VALUES
PAM_SUCCESS
Data was successful retrieved.
PAM_SYSTEM_ERR
A NULL pointer was submitted as PAM handle or the function was called by an application.
PAM_NO_MODULE_DATA
Module data not found or there is an entry, but it has the value NULL.
SEE ALSO
pam_end(3), pam_set_data(3), pam_strerror(3)
Linux-PAM Manual 06/04/2011 PAM_GET_DATA(3)