Showing all users in 'users' and 'top' commands

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Showing all users in 'users' and 'top' commands
# 1  
Old 02-07-2012
Showing all users in 'users' and 'top' commands

Hi All,

I work in a multi user environment where my school uses Red Hat Linux server. When I issue commands such as "top" or "users", I get to see what others are doing and what kinds of applications they are running (even ps -aux will give such information). "users" will let me know who else is currently logged in. I use Linux at my school not as a superuser.

My question is "Is it not a flaw in the design of the Operating System that I cannot have my privacy in the multi user environment?" The fact is "Why should others see what I am doing on a particular machine?" Only Administrator should have that right.

I am sure there are plenty of talented minds who design the OS but why is this not incorporated in OS? At least there should be an option to disable or enable this. Or is there any specific reason why OS designers have not incorporated this feature in the kernel or even in commands such as top, ps or users?

Last edited by shoaibjameel123; 02-07-2012 at 02:26 AM..
# 2  
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:
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

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. 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

7. 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

8. 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

9. 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
Login or Register to Ask a Question