LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 06-28-2007, 09:47 AM   #1
mystic_durle12
Member
 
Registered: Feb 2005
Location: Pakistan
Distribution: Red Hat 9
Posts: 109

Rep: Reputation: 15
how to give access to KPPP to users other then root


hi fellows, i am using FC5 and i connect to internet through my external USR modem. i use KPPP gui based program to connect to internet but when a user, other then root user, click on KPPP icon to connect to internet system prompts to enter root's password. Now this is not what i want. i want to give the users access to internet but not to root previlages. what should i do.

Last edited by mystic_durle12; 06-28-2007 at 10:02 AM.
 
Old 06-28-2007, 10:08 AM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
Edit your /etc/pam.d/kppp file, sample for comparison:

#%PAM-1.0
auth sufficient pam_permit.so
auth sufficient pam_timestamp.so
auth required pam_stack.so service=system-auth
session optional pam_xauth.so
session optional pam_timestamp.so
account required pam_permit.so
 
Old 06-29-2007, 07:57 AM   #3
mystic_durle12
Member
 
Registered: Feb 2005
Location: Pakistan
Distribution: Red Hat 9
Posts: 109

Original Poster
Rep: Reputation: 15
but will this sample fit my requirements? and plz can u tell me what these lines are about. all i can guess is that there is some authentication involved. plz tell me some thing about this code. and one thing more. what are these directories for(those ending with .d i.e init.d and pam.d)
 
Old 06-29-2007, 07:57 AM   #4
mystic_durle12
Member
 
Registered: Feb 2005
Location: Pakistan
Distribution: Red Hat 9
Posts: 109

Original Poster
Rep: Reputation: 15
but will this sample fit my requirements? actually i dont know how to edit it. and plz can u tell me what these lines are about. all i can guess is that there is some authentication involved. plz tell me some thing about this code. and one thing more. what are these directories for(those ending with .d i.e init.d and pam.d)
thanx alot for the help

Last edited by mystic_durle12; 06-29-2007 at 08:15 AM.
 
Old 06-29-2007, 08:46 AM   #5
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
No reason to double reply.......

Have you compared your /etc/pam.d/kppp file to the sample one???? You only need to look at the first line of the sample file;

auth sufficient pam_permit.so

As root using your choice of text editor (nedit, vi, vim, kwrite or whatever), try double clicking in the file to edit.

This should meet your desire;
Quote:
Now this is not what i want. i want to give the users access to internet but not to root previlages. what should i do.
Please review:
man pam_krb5
http://www.kernel.org/pub/linux/libs...x-PAM_SAG.html
 
Old 06-30-2007, 06:33 PM   #6
mystic_durle12
Member
 
Registered: Feb 2005
Location: Pakistan
Distribution: Red Hat 9
Posts: 109

Original Poster
Rep: Reputation: 15
double reply was a mistake. i did it in haste.
i have gone as far as opening the kppp file in text editor.lol. and one thing more that i have done. its that i have replaced the whole file with the sample u provided.
u r saying that i should only add the following line on the top of the /etc/pam.d/kppp
auth sufficient pam_permit.so

Last edited by mystic_durle12; 06-30-2007 at 06:35 PM.
 
  


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
give access to users Hern_28 Slackware 2 03-21-2007 03:29 PM
How to give non-root users access to mounted partitions? black hole sun Linux - Software 5 10-28-2004 06:52 PM
Give certain users more access to resources tearinox Slackware 2 05-21-2004 03:44 AM
How to give users access to installed program? Tiyogi Linux - Software 4 03-08-2004 08:49 AM
Kppp access for users? divine1 Red Hat 1 02-13-2004 10:41 PM


All times are GMT -5. The time now is 03:21 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