[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: problemi di diritti



"Claudio" ha scritto:

> Salve a tutti,
> sono nuovo del mondo debian e vorrei sapere come faccio a riavviare e
> spegnere il mio pc da utente normale visto che da root funziona.

sudo, ovvero kamasutra dei diritti.

Dai un'occhiata qua:
http://www.slack.z00.it/slack/docs/pillola_sudo.html
non concentrarti sulla parola slack*, ma sul resto.
Ah: su quel sito non mi quadra la riga
stefano LO=SHUTDOWN,NOPASSWD: ALL
a me sembra piu' giusto
stefano LO=NOPASSWD: SHUTDOWN

In teoria potresti dichiarare
una versione ultra semplificata:

# Host alias specification
# User alias specification
# Cmnd alias specification
# User privilege specification
root    ALL=(ALL) ALL
dan     ALL=(ALL) NOPASSWD:/usr/sbin/shutdown -h now
dan     ALL=(ALL) NOPASSWD:/usr/sbin/shutdown -r now

http://unix.about.com/library/weekly/aa102500c.htm
http://www.freeos.com/printer.php?entryID=3799
http://www.courtesan.com/sudo/sample.sudoers
http://www.linux4biz.net/articles/sudo.html


> In più, mi parte automaticamente il driver x che vorrei invece far
> partire con il classico startx.

"No te comprendo, Pedro"  :-)
Driver x ?

Forse /etc/inittab:
# The default runlevel.
id:2:initdefault:

> Please avoid sending me Word or PowerPoint attachments.
> Convert them into text, HTML, PDF, RTF.
> See http://www.fsf.org/philosophy/no-word-attachments.html

eh eh  :-))
Qua possiamo farci un paio di sghignazzate,
a parte qualche "cagada fora del bucal" che hanno fatto:
http://members.xoom.virgilio.it/_XOOM/nonet/index1.htm#stall

--
RobiZ    -    ( x => i)@
WARNING: SCO may claim that this mail
includes its copyright code.




Reply to: