LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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
 
Search this Thread
Old 03-09-2004, 01: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, 04: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-10-2004, 12:21 AM   #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-10-2004, 12:27 AM   #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-10-2004, 12:35 AM   #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


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


All times are GMT -5. The time now is 08:19 PM.

Main Menu
Advertisement
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