Check systems login


 
Thread Tools Search this Thread
Operating Systems Solaris Check systems login
# 1  
Old 06-05-2009
Check systems login

Hi All,

In Solaris 10, how can I check back who is login to the systems by telnet, ssh and ftp in success or failed.

I already check on /var/adm/messages but no details for all this.

Hope your can help.

Thanks.
# 2  
Old 06-05-2009
check the "last" , "who" commands.
cat /var/adm/sulog
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Script to check if file systems are mounted

Hi I have the following piece of code, running on a solaris 10 O.S., that is not working for NFS file systems: for vol in `grep -E 'vxfs|ufs|nfs' /etc/vfstab | egrep -v '^#' | awk '{ print $3 }'` do if df -k $vol | grep $vol > /dev/null then outputOK "Filesystem: $vol mounted" else... (1 Reply)
Discussion started by: fretagi
1 Replies

2. Shell Programming and Scripting

Help with code to check if file systems are mounted

Hi I need to have a piece of code that check if all file systems are mounted or not. I have to pieces of information like the output of the bdfcommand, and the file /etc/fstab. The first is: bdf Filesystem kbytes used avail %used Mounted on /dev/vg00/lvol3 2097152 266656... (3 Replies)
Discussion started by: fretagi
3 Replies

3. Solaris

Modern systems and login parameters

With Solaris newer versions where SSH is enabled by default, do we still need to configure security parameters in /etc/default/login for e.g. SLEEPTIME, CONSOLE etc? (0 Replies)
Discussion started by: kurumi
0 Replies

4. Shell Programming and Scripting

FTP Login Error check

How can I add a check right after the FTP to see if the login id failed or not and echo an error description indicating login failed? Here is my script: ftp $HOST1 <<END_SCRIPT>>$TARGETLOGS/$LOGFILE #ftp $HOST1 <<END_SCRIPT> cd idx prompt mget $PICKUPFILE*.txt !cp $PICKUPFILE*... (17 Replies)
Discussion started by: mrn6430
17 Replies

5. UNIX for Advanced & Expert Users

quick remote health check SAP systems from UNIX commandline

Hi folks Howto do quick remote health check for SAP systems on UNIX commandline? To see if a SAP system is down or in maintenace mode (no login). I am searching something like "tnsping"/Oracle for SAP systems. (2 Replies)
Discussion started by: slashdotweenie
2 Replies

6. Cybersecurity

Check login detail

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 Replies)
Discussion started by: jjoy
2 Replies

7. UNIX for Dummies Questions & Answers

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. (4 Replies)
Discussion started by: jjoy
4 Replies

8. Shell Programming and Scripting

How ti check if passwordless ssh is enabled between two systems

I am writing a script which will execute commands on remote host only if they have a passwordless ssh setup. How do i check for that in my script (5 Replies)
Discussion started by: vickylife
5 Replies

9. UNIX for Advanced & Expert Users

Check existence of a login

Hi everybody, I need to check in C program wether a given login is known on the system. Is there any system function that could do this ? So far, all I could find is getpwnam(), which answers my problem by parsing the local password database. But won't work if a user is authenticated by... (10 Replies)
Discussion started by: xavier054
10 Replies

10. Solaris

How to check the last login user were doing in the system

Hi, I'm new to solaris/ Unix and would like to know how to check in the system what was the last login user were doing. Is there any way to check this? Thanks in advanced. (1 Reply)
Discussion started by: raziayub
1 Replies
Login or Register to Ask a Question