[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

pppd og sudo



Hi Linux'ere

Jeg prøver at give to forskellige brugere adgang til nettet via modem. Jeg har
installeret sudo version 1.6.2p2

Min sudors file ser ud som følger:
# sudoers file.
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the sudoers man page for the details on how to write a sudoers file.
#
# Host alias specification
# User alias specification
User_Alias	GRUPPE1 = niels, kolloff, maria
# Cmnd alias specification
Cmnd_Alias	SHUTDOWN = /usr/sbin/shutdown
Cmnd_Alias	MDIAL = /etc/ppp/mariapppon
Cmnd_Alias	NDIAL = /etc/ppp/nielspppon
Cmnd_Alias	PPPOFF = /etc/ppp/pppoff
# User privilege specification
root	ALL=(ALL) ALL
niels	ALL=NDIAL, SHUTDOWN, PPPOFF, PPPD
maria	ALL=MDIAL, SHUTDOWN, PPPOFF, PPPD

Hvis jeg logger på som niels og skriver sudo /etc/ppp/nielspppon bedes der om
password som forventet, efter det svares der: pppd: command not found
Så prøvede jeg at tilføje:
Cmnd_Alias	PPPD = /usr/sbin/pppd
Men det hjælp ikke. Scriptet nielspppon virker fint hvis jeg er logget på som
root?

Jeg køre Mandrake 7.0

Håber der er nogen der har erfaringer med sudoers scriptet
Hilsen Niels

-- 
Stud.Polyt
Niels Bjørn Kolloff
sslug@sslug


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 20:59 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *