LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 10-17-2003, 01:16 PM   #1
artgnome
LQ Newbie
 
Registered: Oct 2003
Posts: 5

Rep: Reputation: 0
Kppp help for regular accounts


Ok. I have recently installed RedHat 9 and everything works fine. However kppp dialer can only be invoked by using my root account. If I switch to a regular user account kppp asks me to switch to root.

I've tried playing with permissions but I am not sure what file's permission to change. Should that be of the kppp file so to give access to the regular account ?

Thanks
artgnome

PS. Linux rocks. : )
 
Old 10-17-2003, 01:36 PM   #2
RolledOat
Member
 
Registered: Feb 2003
Location: San Antonio
Distribution: Suse 9.0 Professional
Posts: 843

Rep: Reputation: 30
http://wave.prohosting.com/hlrguy/#home
Look under 8.0 Tips and Tricks. Same applies to 9.0 for kppp

RO
 
Old 10-17-2003, 01:37 PM   #3
rshaw
Senior Member
 
Registered: Apr 2001
Location: Perry, Iowa
Distribution: Mepis , Debian
Posts: 2,694

Rep: Reputation: 45
before someone posts telling you to modify a bunch of permissions on kppp/ppp/dev/ttysx,and other outdated info, just change one thing. Change the following line in the file /etc/pam.d/kppp from:
auth sufficient /lib/security/pam_rootok.so
to:
auth sufficient /lib/security/pam_permit.so
 
Old 10-17-2003, 02:42 PM   #4
artgnome
LQ Newbie
 
Registered: Oct 2003
Posts: 5

Original Poster
Rep: Reputation: 0
ok I did it and it works. Does it mean that the user account has permission to use kppp or any other regular account ?

Thanks a lot
 
Old 10-17-2003, 04:55 PM   #5
RolledOat
Member
 
Registered: Feb 2003
Location: San Antonio
Distribution: Suse 9.0 Professional
Posts: 843

Rep: Reputation: 30
Which one worked. I know the one I posted works, cause it worked for me. Or was it the /etc/pam one that worked? Besides, you have to tell us, does it now work for your non root users?

RO
 
Old 10-18-2003, 03:36 AM   #6
artgnome
LQ Newbie
 
Registered: Oct 2003
Posts: 5

Original Poster
Rep: Reputation: 0
Sorry about the ambiguity.

I applied the /pam method and it worked.
So back to the question. Does it mean that the user account has permission to use kppp or any other regular account too?


Thanks
 
Old 10-18-2003, 05:15 AM   #7
artgnome
LQ Newbie
 
Registered: Oct 2003
Posts: 5

Original Poster
Rep: Reputation: 0
Ok the Kppp works using a regular account.
However when using a regular acccount the modem is not detected. gggrrrr....even though it is detected when using the root account. Any help ?

Thanks
 
Old 10-18-2003, 07:33 AM   #8
rshaw
Senior Member
 
Registered: Apr 2001
Location: Perry, Iowa
Distribution: Mepis , Debian
Posts: 2,694

Rep: Reputation: 45
can it detect a modem on the actual port /dev/ttysx, sometimes the /dev/modem symlink is pointing to the wrong port.
 
Old 10-18-2003, 10:07 AM   #9
artgnome
LQ Newbie
 
Registered: Oct 2003
Posts: 5

Original Poster
Rep: Reputation: 0
Ok. I did check the symlinks. Those were ok.

I got it working though. The problem was that I the modem is not automatically loaded upon startup. Therefore I have to load it first as root and then use it in other accounts.

I guess I should look into scripts to load the modem automaticaly on startup.

Thanks for the help. Really appreciate it.
 
Old 10-18-2003, 12:51 PM   #10
RolledOat
Member
 
Registered: Feb 2003
Location: San Antonio
Distribution: Suse 9.0 Professional
Posts: 843

Rep: Reputation: 30
Add the command that loads the modem to the end of /etc/rc.local. This is the last script executed at startup.

RO
 
  


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
samba accounts/ unix accounts Buzz88 Linux - Newbie 3 09-25-2005 08:16 AM
qmail -- new accounts can't receive mail, but old accounts can b:z *BSD 1 07-13-2005 12:42 AM
kppp problem, need to fix it or find kppp alternative trisha Linux - Networking 0 08-08-2004 03:04 PM
using RH 8.. how can i install KPPP? which package includes the KPPP? kublador Linux - Software 1 02-21-2003 05:43 AM
using RH 8.. how can i install KPPP? which package includes the KPPP? kublador Linux - General 2 02-20-2003 11:52 PM


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

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