Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.

gnome-ppp (za gnome2) spreman za download i testiranje :)

[es] :: Linux desktop okruženja :: gnome-ppp (za gnome2) spreman za download i testiranje :)

Strane: < .. 1 2 3

[ Pregleda: 10682 | Odgovora: 40 ] > FB > Twit

Postavi temu Odgovori

Autor

Pretraga teme: Traži
Markiranje Štampanje RSS

BluesRocker

Član broj: 20536
Poruke: 1130



+394 Profil

icon Re: gnome-ppp (za gnome2) spreman za download i testiranje :)04.10.2005. u 07:12 - pre 225 meseci
Podesih i radi.
Da se drugi ne bi patili kao ja, ovde je jedan lep primer kako se podesava sudo:
http://www.gentoo.org/news/en/...30915-newsletter.xml#doc_chap9
U slucaju da se obrise izvor:
Citat:

########## Code Listing 9.2: /etc/sudoers ###########################
# 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.
#

# User alias specification
User_Alias HELPDESK = jfox, helpdesk
User_Alias SYSADMINS = david, jc

# Cmnd alias specification
# Create aliases for all commands used in viewing files
Cmnd_Alias VIEW = /bin/cat, /bin/grep, /bin/more, /usr/bin/head, \
/usr/bin/tail, /usr/bin/less

# commands for user administration
Cmnd_Alias USERADMIN = /usr/sbin/useradd, /usr/sbin/userdel, \
/usr/sbin/usermod

# User privilege specification
# Allow SYSADMINS to run any command as any user
SYSADMINS ALL = ALL

# Allow users in HELPDESK to use the user administration commands and
# to use the VIEW commands without a password
HELPDESK ALL = USERADMIN, NOPASSWD:VIEW

# Allow users in the %users group to use the VIEW commands
%users ALL = VIEW


Citat:
Now that your /etc/sudoers file has been created, you can issue commands using sudo command.

Code Listing 9.3: Examples

(Viewing /var/log/critical/current as the helpdesk user)
helpdesk@mybox% sudo tail /var/log/critical/current

(Adding a new user as the user jfox)
jfox@mybox% sudo useradd marcus
Password: password for jfox

Romanes Eunt Domus
 
Odgovor na temu

[es] :: Linux desktop okruženja :: gnome-ppp (za gnome2) spreman za download i testiranje :)

Strane: < .. 1 2 3

[ Pregleda: 10682 | Odgovora: 40 ] > FB > Twit

Postavi temu Odgovori

Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.