I'm using kppp to access the internet and would like to be able to use it without having to use the root password.
I've created a new group:
Code:
# groupadd internet
to create a new group (gid=501 - should I have used the -r flag to make it a system account?)
I've tried to add myself to this group by (after reading the man page) giving the following command:
Code:
[root@localhost ~]# adduser -G internet linmix
bash: adduser: command not found
[root@localhost ~]# whereis useradd
useradd: /usr/sbin/useradd /usr/share/man/man8/useradd.8.gz
So in the end I did it using the Gnome user manager (why idnt' my command work?)
Then I tried the following:
Code:
# chown root:internet /usr/bin/kppp
# ls -l /usr/bin/ | grep kppp
lrwxrwxrwx 1 root root 13 dic 25 12:14 kppp -> consolehelper
-rwxr-xr-x 1 root root 181580 sep 30 00:53 kppplogview
... no reaction because kppp is only a link?
So I did
Code:
chown root:internet /usr/bin/consolehelper
# ls -l /usr/bin/ | grep consolehelper
<snip>
-rwxr-xr-x 1 root internet 5636 oct 20 11:15 consolehelper
<snip>
I managed to change the group, but when I try to start kppp I still need to give the root password.
What am I doing wrong and how can I give myself access to kppp without making it free to all?