LinuxQuestions.org
Visit Jeremy's Blog.
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 06-19-2004, 04:28 PM   #1
RoaCh Of DisCor
Member
 
Registered: Apr 2004
Location: Washington State
Distribution: SuSE 9.3 / Slackware-Current
Posts: 701

Rep: Reputation: 30
Running KPPP as a user, and not root.


How would I go about doing this? I know this is doable...I'm just not sure what I need to do.

I of course can type in my root password, and run kppp...but how can I make it so I can run it as my user...without needing root permissions.

Thanks

-RoaCh
 
Old 06-19-2004, 04:45 PM   #2
mugstar
Member
 
Registered: Jun 2004
Location: Scotland
Distribution: Anything that'll install...
Posts: 305

Rep: Reputation: 30
Which distro are you using? Mandrake, SuSE at al have GUI tools to manage groups. Find it, run it (as root) and add yourself to the group called 'dialout' or 'kppp-users' or whatever looks logical.

Or, manually create a group called, say, modemUsers; change ownership of the kpp binary to root:modemUsers; add yourself to the modemUsers group.
 
Old 06-19-2004, 05:19 PM   #3
RoaCh Of DisCor
Member
 
Registered: Apr 2004
Location: Washington State
Distribution: SuSE 9.3 / Slackware-Current
Posts: 701

Original Poster
Rep: Reputation: 30
Wow! Worked right off.

All I did was create the group...and changed the ownership of /usr/sbin/kppp and /usr/sbin/pppd and it worked

Thanks.
 
Old 06-27-2004, 12:26 PM   #4
wlaw
Member
 
Registered: Jun 2004
Location: HK
Distribution: Ubuntu
Posts: 242

Rep: Reputation: 30
It's strange that I followed the instructions and successed. Howevre, the next time I login, it's still the same that no one could access KPPP except root !

Why ?

I've created a user group called kpppuser and add two accounts to it !

I changed the group ownership of kppp and pppd to kpppuser. Is it correct ?
 
Old 06-27-2004, 04:03 PM   #5
RoaCh Of DisCor
Member
 
Registered: Apr 2004
Location: Washington State
Distribution: SuSE 9.3 / Slackware-Current
Posts: 701

Original Poster
Rep: Reputation: 30
Are you running the /usr/bin/kppp or /usr/sbin/kppp

Anyway, what I did afterwords is deleted kppp out from the /usr/bin directory, and then coppied the /usr/sbin/kppp to /usr/bin
 
Old 06-28-2004, 05:38 AM   #6
wlaw
Member
 
Registered: Jun 2004
Location: HK
Distribution: Ubuntu
Posts: 242

Rep: Reputation: 30
Quote:
Originally posted by RoaCh Of DisCor
Are you running the /usr/bin/kppp or /usr/sbin/kppp

Anyway, what I did afterwords is deleted kppp out from the /usr/bin directory, and then coppied the /usr/sbin/kppp to /usr/bin

How could I know if I am running /usr/bin/kppp or /usr/sbin/kppp ?

I get the following in my /usr/bin



lrwxrwxrwx 1 root root 13 6ды 17 04:20 kppp -> consolehelper


Thank you !


What does the arrow mean ?


Last edited by wlaw; 06-28-2004 at 05:42 AM.
 
  


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
Running Nmapfe as non-root user XaViaR Linux - General 3 06-10-2005 05:04 AM
Running KPPP as Root = Bad Idea? Hawklad Debian 8 09-23-2004 06:57 PM
Running user program from root kilativv Linux - Software 2 07-31-2004 12:49 AM
writing a script running firestarter automatically with kppp without root priviliges melquiades Linux - Newbie 3 08-11-2003 06:50 AM
Why does kppp.desktop require root userid for non-root user? rdaves@earthlink.net Linux - Networking 4 08-27-2001 09:18 AM


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