LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   disabling " who " command (https://www.linuxquestions.org/questions/linux-software-2/disabling-who-command-155455/)

usman 03-09-2004 12:39 PM

disabling " who " command
 
how can i disable "who" command so that the users connected to my PC couldnt see who else is connected.
i am newbie to linux ..
is there any other command by which users can see details of other users .. how do i disable that if any ?


where are the logs stored for user login's

comp12345 03-09-2004 03:27 PM

One way is to change the file permissions of who so they are not executable by users other than root. Other commands that show a list of who is logged in are: w and finger.

usman 03-09-2004 11:21 PM

how do i change the permission of users ?

alcattle 03-09-2004 11:27 PM

you should change the permissions of the program, the command is chmod and the numbers will change depending on what you want to do. I think
Code:

chmod 700 program
would only let root run that program.:study:

usman 03-09-2004 11:35 PM

i was asking about changing permission for users.

Like i dont want my users to use the command who, finger or w

how do i set that ?


All times are GMT -5. The time now is 10:13 AM.