LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 03-09-2004, 12:39 PM   #1
usman
LQ Newbie
 
Registered: Jun 2003
Location: Pakistan
Distribution: Red hat 8.0
Posts: 22

Rep: Reputation: 15
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
 
Old 03-09-2004, 03:27 PM   #2
comp12345
Member
 
Registered: Feb 2004
Posts: 467

Rep: Reputation: 30
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.
 
Old 03-09-2004, 11:21 PM   #3
usman
LQ Newbie
 
Registered: Jun 2003
Location: Pakistan
Distribution: Red hat 8.0
Posts: 22

Original Poster
Rep: Reputation: 15
how do i change the permission of users ?
 
Old 03-09-2004, 11:27 PM   #4
alcattle
LQ Newbie
 
Registered: Mar 2004
Location: Seattle,Wa
Distribution: Arch
Posts: 18

Rep: Reputation: 0
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.
 
Old 03-09-2004, 11:35 PM   #5
usman
LQ Newbie
 
Registered: Jun 2003
Location: Pakistan
Distribution: Red hat 8.0
Posts: 22

Original Poster
Rep: Reputation: 15
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 ?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Shell Script: Find "Word" Run "Command" granatica Linux - Software 5 07-25-2007 07:42 AM
"stalled" problem in " scp" command gentleshark Linux - Software 1 08-30-2005 02:08 AM
"stalled" problem in " scp" command gentleshark Linux - Networking 1 08-29-2005 12:41 PM
Tiny Sofa 2.0 - I thought "halt", "reboot" were only root command ?? sorcerer Linux - Distributions 1 08-21-2004 03:28 PM
"segmentation error" when issuing "useradd" command through terminal with RH 9.0 kaihuang Linux - General 0 10-21-2003 11:47 PM


All times are GMT -5. The time now is 09:20 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration