solaris users


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers solaris users
# 1  
Old 02-27-2004
solaris users

I am trying to use a set of commands that will visualize users who are logged on , and to what workstation..

I used to use this with my HP-UX, (# grep saitom /usr/ps/*ps)

but can't find a solution w/ solaris.. using rwho, rw or rusers ?

maybe my cmd is off ? /usr/bin/ then ./rusers.. but it does give me the necessary info


any suggestions ?

thx

Last edited by simon2000; 02-27-2004 at 12:55 PM..
# 2  
Old 02-27-2004
what about the command who
# 3  
Old 02-27-2004
What is /usr/ps/* ? I don't have that on my HP-UX systems. What version of HP-UX are you using? "uname -a" will tell you.

On solaris, try
who -R

to see the originating host or ip address.
# 4  
Old 02-27-2004
tried it.. who / who -u / who -a

and it does not work..

I'm looking for cmd that will show all users logged onto all 20 solaris workstations..
# 5  
Old 02-27-2004
the /usr/ps - is something my boss must have created ? as the "saitom" is the engine that runs the app..



who -R gives me this

Usage: who [-abdHlmpqrstTu] [utmpx_like_file]
who -q [-n x] [utmpx_like_file]
who [am i]
who [am I]
a all (Abdlprtu options)
b boot time
d dead processes
H print header
l login processes
n # specify number of users per line for -q
p processes other than getty or users
q quick who
r run level
s short form of who (no time since last output or pid)
t time changes
T status of tty (+ writable, - not writable, ? hung)
u useful information
m information only about current terminal
am i information about current terminal (same as -m)
am I information about current terminal (same as -m)
# 6  
Old 02-27-2004
users are logged onto this beast

SunOS XXXXX 5.8 Generic_108528-27 sun4u sparc SUNW,Sun-Fire-480R
# 7  
Old 02-27-2004
Sorry, I forgot that telneted to an HP box to look for /usr/ps. Optimus_P had it right, on Solaris, just who works.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Users on Solaris

Hi Guys How do you see who logged in and what are they doing? I used w to get the users... >w 10:21am up 60 day(s), 12:17, 2 users, load average: 3.16, 3.88, 4.19 User tty login@ idle JCPU PCPU what oracle pts/2 10:13am 2 bash oracle ... (2 Replies)
Discussion started by: Phuti
2 Replies

2. UNIX for Dummies Questions & Answers

Migrate users from 1 Solaris 10 to a different Solaris 10 server

Hello, I have to backup users from one server and put them on another server. I have tried cp -pr, copied over the passwd, group, shadow and appended the users from the old server to the new servers files, rebooted and still can't login. The server accepts that new accounts are there but not... (2 Replies)
Discussion started by: hs3082
2 Replies

3. Solaris

How many users are there in solaris machine ?

Dears How can i find , how many users are in solaries machine ? any command please . regards Halim (6 Replies)
Discussion started by: Halimju
6 Replies

4. Solaris

Shell script to add users on solaris

Hi admins, I am trying to run a script to add users on solaris with password: I am using crypt for passwords: The part of my scripts is as below: if ; then echo "$username exists!" exit 1 else pass=$(perl -e 'print... (5 Replies)
Discussion started by: snchaudhari2
5 Replies

5. Shell Programming and Scripting

Deleting Inactive Solaris users

Hello, I want to do a search for users on my solaris boxes that have been inactive for a defined number of days and then delete them. Any ideas how to determine or calculate the number of days (possibly using the /var/adm/wtmpx file) from the user's last login to the current date of search. ... (0 Replies)
Discussion started by: prince2010
0 Replies

6. Solaris

Directory restriction for specific users on Solaris

Hi all, i have a question about directory accessing. Question: therese is a x user which can login system, x user can only access specific directories on the system, even y directory has r-x access right for OTHER, x user will not access the y directory. this x user must access specific... (4 Replies)
Discussion started by: nibiru78
4 Replies

7. Solaris

how to find out that how many users are in samba server in solaris 10

what is the command to find out that how many samba users accounts are in samba server in solaris 8.and also about samba users home directoris and samba users permissions (1 Reply)
Discussion started by: tv.praveenkumar
1 Replies

8. Solaris

Solaris Administration for ssh users

Hi All, I am in desperate need of a help. Actually , wanted to maintain logs for all the users who ssh to a solaris system and keep track of all the activities they perform. And at the end of the session a mail to be sent to my email id. Can someone plz help. (5 Replies)
Discussion started by: hitkuku
5 Replies

9. Solaris

I need to audit users on a Solaris box

Is there a command to find out all the commands ran by a certain user id? TiA (5 Replies)
Discussion started by: PapaPark
5 Replies

10. Solaris

How do you list users in a solaris group

I need to list all users in a group. This is a large unix site running nis+. (6 Replies)
Discussion started by: gillbates
6 Replies
Login or Register to Ask a Question