Sponsored Content
Full Discussion: login history log file?
Top Forums UNIX for Dummies Questions & Answers login history log file? Post 30944 by champion on Tuesday 29th of October 2002 09:38:22 PM
Old 10-29-2002
login history log file?

hi,

i am the administrator of my sun solaris 8 server. i want to keep a log file for users who have login.

example: in the end of the day, i want to open file that tells me during these days, what user, from which IP address, and from what time to time has login.

please tell me how should i do it.

thank you very much and have a nice day.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

??? Log file users login and logout..???

hi all... only one question.... what is the file...where show me records login and logout of the unix user's..?? thank you.... I waiting for response... (1 Reply)
Discussion started by: chanfle
1 Replies

2. AIX

history log

is there's a way i can capture my senior administrator history on aix? he make his history (sh_history) to another owner (not his own) so that his history will not be captured. is there's a global history of some kind in aix that i could look into. thanks, vene (3 Replies)
Discussion started by: venerayan
3 Replies

3. UNIX for Dummies Questions & Answers

User History and commnad log

Dear All I had a UNIX ( Sun solaris ) os. There are many user on that server. Now i want to find during last week who had log in to the sever and which commnad are executed by them? I also want to from which IP they had log in to the server. Is there any log file generated for user in... (5 Replies)
Discussion started by: jaydeep_sadaria
5 Replies

4. SuSE

Linux SuSE 10 - Disable Unsuccessful Login History.

When we login to any remote connections in SuSE Linux, say for example, telnet , the following line is displayed "Last Login : Date and time is displayed" I would like to disable this. In SuSE 9, I could find the solution . Please suggest me a solution to disable the line displayed for SuSE... (3 Replies)
Discussion started by: Laksmi
3 Replies

5. Shell Programming and Scripting

FTP script to login and list files to log file

Hi Guys I did a forum search for "ftp scripts" Looked at 8 pages and didnt see anything that would help. Most seem to be logging into a ftp server and transfering files. What I need to do is login to a FTP server. Goto a folder and list it so it showes newest files first. It would be nice to... (4 Replies)
Discussion started by: voorhees1979
4 Replies

6. UNIX for Dummies Questions & Answers

PID with a log/history perspective.

Hi All, Belated Merry Christmas. I have a requirement, where I need to know the entire history of all the pids, the time they got forked, when they ended and by which program. I had delved into contents of /var/log/messages, but of not much use, as it mainly houses xinetd and ntp pid... (2 Replies)
Discussion started by: dipanchandra
2 Replies

7. UNIX for Advanced & Expert Users

History to Another file [local user history , but root access]

Hi all, My need is : 1. To know who , when , which command used. 2. Local user should not delete this information. I mean , with an example , i can say i have a user user1 i need to give all the following permissions to user1, : a. A specific directory other than his home... (3 Replies)
Discussion started by: linuxadmin
3 Replies

8. UNIX for Dummies Questions & Answers

History to Another file [local user history , but root access]

Hi all, My need is : 1. To know who , when , which command used. 2. Local user should not delete this information. I mean , with an example , i can say i have a user user1 i need to give all the following permissions to user1, : a. A specific directory other than his home... (1 Reply)
Discussion started by: sriky86
1 Replies

9. Programming

How to Get Login time history in PHP?

Hi, Need a perfect user data base solution for my ecommerce website. I want to track whole activity of my end user until the user logout Thanks in Advance (1 Reply)
Discussion started by: AimyThomas
1 Replies

10. UNIX for Dummies Questions & Answers

How to make each login shell history independent for same account?

Hello All, Many developers in our company use same application account to log in Linux Box for code development, how can i redirect my log in shell history to a different file to avoid history being shown to others or accidentally execute the same command which i or others executed? Thank you. (4 Replies)
Discussion started by: Ariean
4 Replies
PAM_TIME(8)							 Linux-PAM Manual						       PAM_TIME(8)

NAME
pam_time - PAM module for time control access SYNOPSIS
pam_time.so [debug] [noaudit] DESCRIPTION
The pam_time PAM module does not authenticate the user, but instead it restricts access to a system and or specific applications at various times of the day and on specific days or over various terminal lines. This module can be configured to deny access to (individual) users based on their name, the time of day, the day of week, the service they are applying for and their terminal from which they are making their request. By default rules for time/port access are taken from config file /etc/security/time.conf. If Linux PAM is compiled with audit support the module will report when it denies access. OPTIONS
debug Some debug information is printed with syslog(3). noaudit Do not report logins at disallowed time to the audit subsystem. MODULE TYPES PROVIDED
Only the account type is provided. RETURN VALUES
PAM_SUCCESS Access was granted. PAM_ABORT Not all relevant data could be gotten. PAM_BUF_ERR Memory buffer error. PAM_PERM_DENIED Access was not granted. PAM_USER_UNKNOWN The user is not known to the system. FILES
/etc/security/time.conf Default configuration file EXAMPLES
#%PAM-1.0 # # apply pam_time accounting to login requests # login account required pam_time.so SEE ALSO
time.conf(5), pam.d(5), pam(7). AUTHOR
pam_time was written by Andrew G. Morgan <morgan@kernel.org>. Linux-PAM Manual 06/04/2011 PAM_TIME(8)
All times are GMT -4. The time now is 08:55 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy