Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-16-2002, 11:40 AM   #1
Registered: Aug 2002
Location: Estonia
Distribution: XP PRO
Posts: 119

Rep: Reputation: 15
command restrictions

how can i make su available only to certain users or user groups? same with other commands.
Old 08-16-2002, 11:48 AM   #2
Registered: Apr 2002
Location: The next brick house on the right.
Distribution: Kubuntu 8.04
Posts: 668

Rep: Reputation: 31
As for su, don't give anyone the root password. There is a software package called sudo that will give limited root capabilities to various users with them needing to su to root.
Old 08-16-2002, 12:11 PM   #3
Registered: Aug 2002
Location: Estonia
Distribution: XP PRO
Posts: 119

Original Poster
Rep: Reputation: 15
the question wasn't if anyone knows the pass or not. just can i disable it from some users or not.
Old 09-12-2002, 06:13 PM   #4
Senior Member
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
You could try changing the group ownership of su, setting the appropriate permissions, and then create a new group with those users.
Old 09-12-2002, 06:40 PM   #5
Registered: Sep 2002
Location: York, UK
Distribution: Debian Sid
Posts: 215

Rep: Reputation: 30
Whatever you were asking, disable su seems a fairly futile exercise. Whatever account someone logs into using su they must have the password for it, so if you disabled su they could simply log in to that account to begin with.


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 Restrictions Equin Linux - Security 1 10-21-2004 12:46 PM
Samba IP Restrictions gigglesnorter Linux - Networking 1 07-01-2004 04:52 AM
PHPMYADMIN restrictions ausmedia Linux - Software 1 08-20-2003 01:12 AM
Restrictions X3781 Linux - General 1 01-07-2003 01:55 PM
user Restrictions jpc82 Linux - Security 1 02-04-2002 02:35 AM > Forums > Linux Forums > Linux - Newbie

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

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