You are not logged in.

#1 2007-03-25 22:51:11

Nefer-Ra
Member
Registered: 2007-03-18
Posts: 39

Access and Security Issue

How can I give a user access to a root command? Basicly, I want the pppoe-start pppoe-stop pppoe-status script to be started by a normal user ... but the daemon itself, I dont want it to run as root. I did a research into this, back on slackware I did a combination of sudo tricks, but I dont want to install sudo. Is there another way to reach this matter's end?

Offline

#2 2007-03-25 23:03:21

rayjgu3
Member
From: Chicago IL usa
Registered: 2004-07-04
Posts: 695

Re: Access and Security Issue

i believe you want to join the network group

gpasswd -a USER network

Offline

#3 2007-03-25 23:24:53

Nefer-Ra
Member
Registered: 2007-03-18
Posts: 39

Re: Access and Security Issue

Allready tryed that, there is no network group. Any other suggestions?

Offline

#4 2007-03-26 22:16:08

rayjgu3
Member
From: Chicago IL usa
Registered: 2004-07-04
Posts: 695

Re: Access and Security Issue

ah there is to a network group
it may not enable you to do what you want but it is there
i just added myself to network group & was able to run

[#localhost ~]$ /etc/rc.d/ppp start
:: Starting PPP daemon                                                   [BUSY]
Please configure /etc/ppp/peers/provider or use a command line argument to
use another file in /etc/ppp/peers/ directory.

                                                                         [FAIL]

as a user but it did nothing as i dont have it setup

or get aquainted with chmod & permissions then

chmod /usr/sbin/pppd

with appropriate permissions to give user access to file

i believe this is the info you are looking for

Offline

Board footer

Powered by FluxBB