Sponsored Content
Operating Systems Linux Red Hat Showing all users in 'users' and 'top' commands Post 302596632 by sds9985 on Wednesday 8th of February 2012 12:57:03 AM
Old 02-08-2012
In the olden days of Wyse and VT-100 terminals and serial connections, before networks and GUIs and emails and iPads were invented, users on UNIX systems (and those old character-based terminals) could send messages to other users with commands like "write" and do broadcasts with "wall". You would use "who" or "users" to see who else was logged into the system and what they were doing and then send a message. You tried not to do this while the other user was editing something or doing something else that your message would screw up, which is why you needed to see what they were doing. More than 25 years later, the current Linux releases still have those commands. The way the commands worked has never changed and users can still see some information about each other.

From a security point of view, it makes little difference. It's not seeing someone else's processes that is the security problem; it's that you got to a shell prompt in the first place. These days, secure UNIX and Linux systems force regular users directly into an application on login and then disconnect them when they exit the app. You NEVER let a regular user get to a shell prompt where they can run things like "ps" and "top" and "users". So, the system you're talking about is intrinsically insecure...

As for privacy, any time you're using a system that someone else owns you are not entitled to any expectation of privacy. All of your files and activities are open for inspection by the system owners or whomever else they allow to look at them. So, if you want a private system, you'll have to build one of your own and then don't let anybody else log into it.

Cheers!

Last edited by sds9985; 02-08-2012 at 02:09 AM..
This User Gave Thanks to sds9985 For This Post:
 

9 More Discussions You Might Find Interesting

1. AIX

How to find the top 6 users (which consume most space)?

Hi everybody, I want to know if there is any posibility to find out - on an AIX system - which are the the users who consume most space or at least a posibility to obtain a list with all the users and how much space are they consuming ? Trying to use du command was useless. Any idea?... (5 Replies)
Discussion started by: RebelDac
5 Replies

2. Shell Programming and Scripting

Showing offline users

Hi, Is there any command for showing offline users? The only way I can think of doing it (as i cant find a command) is getting a list of all the online users, and comparing it to /etc/passwd, anything that is in /etc/passwd and not in the users file will be offline users. But I have no... (4 Replies)
Discussion started by: mikejreading
4 Replies

3. Shell Programming and Scripting

bash script for showing last users

Hi! I'm new in scripting and I need some help with one simple script. I have to write a program that shows in a predetermined period (using "last" command), to draw up a list of users who have used the machine during this period. Each user to indicate how many sessions it has been during this... (9 Replies)
Discussion started by: vassu
9 Replies

4. Shell Programming and Scripting

top 10 users facebook.com

is it possible from shell utility that we can track top 10 ipaddress from squid access.log who visit facebook.com. cat /var1/log/squid/access.log | grep "192.168.1.13" | grep "facebook" | wc -l 777 above will find only one (2 Replies)
Discussion started by: learnbash
2 Replies

5. Shell Programming and Scripting

find top 4 users currently logged on can i use grep

For the first 4 users only that are currently logged in output their effective user id. It's not important the order in which each logged in i just want to have the top 4. Same question as here...... (0 Replies)
Discussion started by: whyatepies
0 Replies

6. UNIX for Dummies Questions & Answers

how to find top 3 users currently logged on

For the first 3 users only that are currently logged in output their effective user id. thank you. (6 Replies)
Discussion started by: whyatepies
6 Replies

7. UNIX for Dummies Questions & Answers

Need help showing which network protocol users use.

I'm having a bit of a trouble trying to figure out how to tell which network protocol users HAVE been logging in with. I know how to find this information for currently logged in users : maximillian.gardner@syccuxfs01:~> who joseph.blosser pts/0 2012-01-15 14:07 (198.107.160.185)... (5 Replies)
Discussion started by: maximillian.g
5 Replies

8. Shell Programming and Scripting

Top utilization of the users through script

I am trying for a shell script like, if the ram utilization is less than 300M and the load average is more then 4.00 , should take all the top users of memory and CPU utilization through "top" and "ps " command and put under one path. (6 Replies)
Discussion started by: gsiva
6 Replies

9. UNIX for Beginners Questions & Answers

Top 10 Users in mount level

Hi Members, I'm new to unix. Could you help me in solving my issue. My requirement is I need to pull Top 15 users in every mount. I could able to get the mount level information but I couldn't able to pull the top users in every mount. I see in every mount I could see a lot of nested... (3 Replies)
Discussion started by: UBEE
3 Replies
All times are GMT -4. The time now is 10:34 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy