LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Running KPPP as a user, and not root. (http://www.linuxquestions.org/questions/linux-software-2/running-kppp-as-a-user-and-not-root-195436/)

RoaCh Of DisCor 06-19-2004 04:28 PM

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

mugstar 06-19-2004 04:45 PM

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.

RoaCh Of DisCor 06-19-2004 05:19 PM

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.

wlaw 06-27-2004 12:26 PM

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 ?

RoaCh Of DisCor 06-27-2004 04:03 PM

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

wlaw 06-28-2004 05:38 AM

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 ?



All times are GMT -5. The time now is 10:03 PM.