Hello guys !
I tried a script to list all the active users in the current server in AIX
this displays the entire line ... All I need is only the user list
I found a command for linux using grep -o word grep -o was not recognized in AIX
You might also look at the finger command to see if that gives useful output, such as idle time.
In your command, is ^user the literal string or does it vary on a loop? The suggestion from zaxxon could be used as input to a loop so you are not repeatedly querying.
What is your underlying need for this data and how are you using it so far? We might be able to suggest a better process.
Hi - If iam logged on to server A, on 4 putty windows using SSH ... and out of these 4 logged-in sessions, in one of the sessions if i did SSH from server A to server B;
i would now have 4 putty windows sessions ... of which 3 are actively logged on to Server A while 1 putty window is actively... (2 Replies)
Is it possible to configure a Solaris server to authenticate users against an Active Directory server when logging in via ssh?
I've seen some docs out there, I've followed their instructions, but it does not work. And I'm beginning to wonder if it is possible or even supported by Oracle. The... (2 Replies)
Hi,
I have a situation where I want to ignore few users from list of users and print rest of user in log file.
say, I want to ignore aaa, bbb, ccc, ddd .. ppp from list of 20 user (do not want to include)
What is the good command or any script?
Thanks in advance. (1 Reply)
Hi,
cut -d: -f1,3 /etc/group >rpt.out
I have a doubt in perl. right i am getting list of group user id into rpt.out file. instead i need to store it as an array in perl script. could you please tell me how can i get list of user into an array in perl script..
thanks in advance. (1 Reply)
Hi,
I want to know the command for finding out the list of active/disabled users in Linux System.
Model:x86_64. Rev:2.6.9
Thanks in advance for your help
Mike (1 Reply)
:confused: Hi
i am trying to make a script through which i can get the total number of User and their PID after that kill all Users except the one by which i am currently logged in. (i m using SCO UNIX 5.06)
# id of current usre < total number of current user
USR=`who -u |wc -l`
# id of... (2 Replies)
Hello all
I'm trying to generate a list of active and locked accounts at the end of every month...How would I know which account is active and which is locked or diabled ...I was looking at the /etc/passwd file but I was not sure how to differentiate between an active account and a locked... (4 Replies)