LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 04-13-2005, 10:52 PM   #1
zchoyt
Member
 
Registered: Feb 2003
Location: Boise ID
Distribution: fedora
Posts: 156

Rep: Reputation: 30
how to make su command available to all users


Someone told me to type:
chmod +s filename.
This seems to replace x with s, but only for the middle group. If I switch back to normal user I still cannot execute it. Why? How can I make it so every user can use the mount command?
 
Old 04-13-2005, 11:17 PM   #2
shanenin
Member
 
Registered: Aug 2003
Location: Rochester, MN, U.S.A
Distribution: Gentoo
Posts: 987

Rep: Reputation: 30
the su command is available to all users, they may need to be in the wheel group. What are you trying to accomplish?
 
Old 04-13-2005, 11:28 PM   #3
zchoyt
Member
 
Registered: Feb 2003
Location: Boise ID
Distribution: fedora
Posts: 156

Original Poster
Rep: Reputation: 30
Well for example, I want any user to be able to use the "mount" command. Currently if I am logged in as "some_user" and type "mount -o ...........//.../..." it will say "only su can do that. I want to make the mount command available for all users to use without having to log on as su. Does that make sense?

[some_user]# mount -o .........
mount: only root can do that
[some_user]#

then I have to log on as su to map the win drives. I want user to be able to do so without su privelages.
 
Old 04-13-2005, 11:34 PM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Use sudo to do that. Do "man sudo" to find out more info.
 
Old 04-13-2005, 11:58 PM   #5
Jimbo99
Member
 
Registered: Nov 2003
Distribution: Ubuntu 7.04
Posts: 241

Rep: Reputation: 31
Heh, give up on man. It is old and antiquated written for the bozos that created it. Most of the time you can just type <command> --help and that's sufficient. But the man pages just have to die. They are big pieces of shit. Sorry for my bluntness.
 
Old 04-14-2005, 01:42 AM   #6
jmajor
Member
 
Registered: Nov 2004
Location: Australia
Distribution: Fedora, Ubuntu
Posts: 55
Blog Entries: 2

Rep: Reputation: 17
Edit your /etc/fstab and add 'user' or 'users' to the options field of the mount point that you want users to be able to mount / unmount.

users will allow users who did not mount the mount point permission to unmount it. user will not.
 
Old 04-14-2005, 02:09 AM   #7
kencaz
Senior Member
 
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468

Rep: Reputation: 48
There is a reason why mount is only available to root... That is why Linux is a secure OS. If you really want all your users to have mount priv. just give them all your root PW.

Linux is not windows... just going to have to live with it...

KC
 
Old 04-14-2005, 03:35 AM   #8
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Quote:
Originally posted by Jimbo99
Heh, give up on man. It is old and antiquated written for the bozos that created it. Most of the time you can just type <command> --help and that's sufficient. But the man pages just have to die. They are big pieces of shit. Sorry for my bluntness.
Well thats your opinion. You will notice that if you just enter "command" or "command --help", you don't get the same amount of information compared to using "man command".
 
  


Reply



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
How to make a specific command(s) work for specific users or group only naren_0101bits Linux - General 3 08-28-2005 05:22 PM
How can I make the "shutdown" command available for all users? LinuxSeeker Linux - General 7 06-01-2005 05:40 PM
I accidentally deleted make file in /usr/local/bin, now cannot use make command.... Niceman2005 Linux - Software 2 11-17-2004 07:55 PM
Multiple users with the same name...users command buldir Linux - General 2 08-30-2004 04:34 PM
[FC2]Why does the users command display multiple users? Harkov Fedora 1 07-10-2004 09:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:50 AM.

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
Open Source Consulting | Domain Registration