Check login details


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Check login details
# 1  
Old 02-25-2010
Check login details

As a root user i switch to a different user say "oratest". I would like to know the details like at what time did the switch ( su - oratest ) happen.
Are there any logs to check this

Thanks.
# 2  
Old 02-25-2010
Using the sulog or auth.log file you can get to know. This will log the information about the su.
Depending upon the file system it's locations may vary.

Example: /var/log/auth.log

Last edited by thillai_selvan; 02-25-2010 at 07:29 AM..
# 3  
Old 02-25-2010
Where is this file located?

---------- Post updated at 04:48 PM ---------- Previous update was at 04:44 PM ----------

Thanks selvan..i found the file sulog at /var/adm..
Thanks again...
# 4  
Old 02-25-2010
Have you got the location now? I have mentioned the file path as per my file system structure
# 5  
Old 02-25-2010
U can locate the file sulog in /var/adm path.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Reporting last login details

Most of my Solaris 10 user accounts are generally 10 characters long. When I run the 'last' command the report only shows the first 8 characters so the information is not very helpful. How can I report the full 10 character user account. (1 Reply)
Discussion started by: PPOWER55
1 Replies

2. Post Here to Contact Site Administrators and Moderators

Changing login details

Dear Administrators! I would like to change my username for this forum, would it be possible? Regards FR (1 Reply)
Discussion started by: fretagi
1 Replies

3. Shell Programming and Scripting

passing login details to htaccess login prompt

Hi, How i can pass the login details to the URL which is password protected with the htaccess using command line or script (perl,or shell,or php). Any help or hint appreciated. Thanks, SJ (4 Replies)
Discussion started by: SilvesterJ
4 Replies

4. UNIX for Dummies Questions & Answers

Capturing the login logout details of user

Hi I'm new to Shell scripting .Can anyone please help me how to capture user's login and logout details and load them into a table... we are using Oracle DB on UNIX:confused: (3 Replies)
Discussion started by: rajmohan146
3 Replies

5. AIX

How to find the year in last login details

Hi Friends I have a query. we had a requirement to see the last login details of our users so I ran the command last <username> and the output i get is: wtmp begins Apr 17 21:48 Now I need to know couple of things: 1. How can I see the year this log is being read from wtmp file 2. Is... (4 Replies)
Discussion started by: nathandrake13
4 Replies

6. Shell Programming and Scripting

how do i check the REDHAT details?

I am using lunix machine. I want to check if this is RED HAT 4 or higher version. How do i check this? The below output does not tell about REDHAT version. $ uname -a Linux chfdallindb11 2.6.18-128.7.1.el5 #1 SMP Wed Aug 19 04:00:49 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux $ Any help... (2 Replies)
Discussion started by: govindts
2 Replies

7. UNIX for Dummies Questions & Answers

how to check SMTP server details on Unix

Hi All, I am trying to figure out how to check SMTP server details on Unix enviornment? I tried using echo "hello" | sendmail -v abc@xyz.com and got following error: -bash: sendmail: command not found -bash: echo: write error: Broken pipe Any help will be much appreciated regarding... (2 Replies)
Discussion started by: palak08
2 Replies

8. AIX

Last login details in banner

Friends!! I need your help. Where can i change/set the last login details as below in aix 5.3. And how to do that to get the results as exactly below login as: mbpops mbpops@xx.28.3.24's password: Last unsuccessful login: Mon Nov 22 14:32:27 GMT 2010 on ssh from 10.132.5.129 Last login:... (17 Replies)
Discussion started by: kmvinay
17 Replies

9. Post Here to Contact Site Administrators and Moderators

Reg:Login details

Hi, I want to change my login name.Can u please suggest me how to do that.:confused: Regards, Jyothi (3 Replies)
Discussion started by: jyothi_wipro
3 Replies

10. UNIX for Dummies Questions & Answers

IP details for Unix/Linux login clients?

Hi there, I am wondering if by logging in to a unix system, if it is possible to get the IP address of the machine I am connecting FROM. I know how I can do this using the name server, but is this possible without a host lookup?:confused: Thanks, -ghoti (15 Replies)
Discussion started by: ghoti
15 Replies
Login or Register to Ask a Question