How to view only successful login?


 
Thread Tools Search this Thread
Operating Systems Solaris How to view only successful login?
# 1  
Old 11-24-2009
How to view only successful login?

Hi all,
I have to view only success full login attempts . View who are all
logged in correctly , and where it can be stored?


Thanks in advance
Gnanavel
# 2  
Old 11-24-2009
Create a file /var/adm/loginlog if you don't have on your machine. All successful logins will be recorded in this file.

Thanks,
Deepak
# 3  
Old 11-24-2009
Use the "last" command.
# 4  
Old 11-24-2009
touch the /var/adm/loginlog file. Both successful and unsucessful logins will be logged
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. What is on Your Mind?

Moving from Desktop View to Mobile View

See attached video for a demo on how to move back and forth from the desktop view to the mobile view. Currently this only works for the home page, but I will work on some new PHP code in the future to make this work with the page we are currently on. Edit: The issue with making every page ... (2 Replies)
Discussion started by: Neo
2 Replies

2. AIX

Successful user login, yet system claims invalid info

I have four AIX 6.1.7.4 systems freshly built and ready for our DBAs to do their work. Of the three one runs into an odd issue while logging in as himself, using Putty with ssh protocols. He logs in successfully, but also gets the following error message: : 3004-300 You entered an invalid login... (2 Replies)
Discussion started by: Mike Brendan
2 Replies

3. UNIX for Advanced & Expert Users

Wether does it successful or unreachable?

Hi, all: How can I check what happen with my own NIC driver which response "successful" when local PC "ping" a remote linux PC but "unreachable" when it "ping" a remote windows XP PC? My writed driver runs in linux 3.0.4 kernel. thanks! li, kunlun (1 Reply)
Discussion started by: liklstar
1 Replies

4. HP-UX

telnet login successful ,but ssh can not login

why I can login by telnet using root account but when i use login by ssh using root account it is not successful ,is it different password i am sure ssh service is started (2 Replies)
Discussion started by: alert0919
2 Replies

5. UNIX for Advanced & Expert Users

Connection closing immediatly after successful login

When ssh'ing into certain Unix boxes I'm seeing two errors that appear immediately after entering the password I've never seen. After the error message is displayed the connection closes immediately. The first is “/bin/ksh: Not owner” after which the connection is closed. And, “Read from remote... (2 Replies)
Discussion started by: twk
2 Replies

6. UNIX for Dummies Questions & Answers

Test if execution was successful

Hi How can I test inside a shel script whether the last action was successful or not. I have the following line which is executing inside a script . ./runProcess.sh $i $var_num>> error.txt 2>&1 This is occuring in a loop. How can i test whether it was succes for last var_num or not. How... (2 Replies)
Discussion started by: Prashantckc
2 Replies

7. Shell Programming and Scripting

Detemine if SED is successful

Is there a way of finding out if an issued sed command is successful? Basically, in my script I have a command where mydata=$(cat record | sed '...command here...'). When the sed command finds the data that I am after it is assigned to mydata. When the sed command does not find the data I am... (1 Reply)
Discussion started by: gugs
1 Replies

8. UNIX for Dummies Questions & Answers

Successful Installion of Apache

I finally finished installing Apache on my companies SCO server. The problem was with the way I uncompressed the Apache .tar.z file. I downloaded Apache onto a windows computer on our network. Then I used winzip to uncompress the files. After un- compressing the files, I transferred them to the... (0 Replies)
Discussion started by: cstovall
0 Replies
Login or Register to Ask a Question