LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 11-14-2004, 10:12 PM   #1
wahmd
LQ Newbie
 
Registered: Nov 2004
Location: Granite, Oklahoma
Distribution: Fedora 2
Posts: 2

Rep: Reputation: 0
Disable requirement for administrative privilege on a particular application.


Greetings:

I am running Fedora 2 on a laptop. Two users exist, beyond the administrator. When a user tries to launch kppp, he is told he lacks "sufficient administrative privileges" and asked for the root password. I want these two users to be able to access the modem without knowing the root password, that is one should not have to be a superuser to use kppp. As administrator, I've tried checking "execute" in the permissions of kppp for these two users but nothing changes. I've heard the solution is to create a group called "dialout" and place those users who have access to the modem in it, but how does this solve the problem of making use of the modem something a non-superuser can do?

Thanks in advance for all suggestions.
 
Old 11-14-2004, 10:32 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
After creating the group, chmod kppp to 4750 owned by root with group dialout. What this dows is sets the permissions so that root had full permissions on the executeable and group dialout users can read and execute it. It also sets the SUID bit on the executable. What this means is that kppp will now run as root, regardless of who actually launches it. Needless to say, this can be a security risk, so you should not use SUID a lot. Another way to do this is configure sudo so users in group dialout can execute kppp as root,
 
Old 11-14-2004, 11:41 PM   #3
wahmd
LQ Newbie
 
Registered: Nov 2004
Location: Granite, Oklahoma
Distribution: Fedora 2
Posts: 2

Original Poster
Rep: Reputation: 0
Thank you for your prompt reply. Sounds like the second option configuring sudo so users in group dialout can execute kppp as root is better way to go. I'll look into that. Probably have to post again as new to all this (obviously.)
 
  


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
How can I turn off all passwords and and administrative cr@p skikir Fedora 3 11-15-2005 06:05 PM
administrative distance abirami Linux - Networking 5 09-23-2004 08:02 AM
Administrative Samba User chrisk5527 Linux - General 2 08-23-2004 05:45 PM
Administrative prohibition Red Squirrel Linux - Software 0 06-26-2004 03:07 AM
How to disable application(s) using port 22 Johnnyboy Linux - Newbie 7 09-21-2003 11:18 AM


All times are GMT -5. The time now is 07:02 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration