Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
poweroff init0 reboot init6
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
koma
Advocate
Advocate


Joined: 06 Jun 2003
Posts: 2702
Location: Italy

PostPosted: Mon Jul 21, 2003 12:39 pm    Post subject: poweroff init0 reboot init6 Reply with quote

Ciao a tutti solito probelmino imbecille..
Come faccio a permettere a un utente (uno solo) di eseguire il comando init X o reboot o poweroff?

non mi va ogni volta di dover fare
Code:

koma@thekoma koma $ su -
Password:
thekoma root # init 6

se è possibile permettere a quell'utente di usare quel comando o anke
creare un comando (che nessuno conosce che mi premetta di spegnere esempio
Code:
$ spegni
e lui si spegne senza necessitare il root .. è possibile?
_________________
http://www.youtube.com/watch?v=_yoJI-Tl94g GLORY GLORY HYPNOTOAD
Back to top
View user's profile Send private message
shev
Bodhisattva
Bodhisattva


Joined: 03 Feb 2003
Posts: 4084
Location: Italy

PostPosted: Mon Jul 21, 2003 12:57 pm    Post subject: Reply with quote

Usa sudo.

emerge sudo
man sudo
Back to top
View user's profile Send private message
koma
Advocate
Advocate


Joined: 06 Jun 2003
Posts: 2702
Location: Italy

PostPosted: Mon Jul 21, 2003 4:43 pm    Post subject: Reply with quote

# sudo -u koma poweroff
poweroff: must be superuser.
_________________
http://www.youtube.com/watch?v=_yoJI-Tl94g GLORY GLORY HYPNOTOAD
Back to top
View user's profile Send private message
shev
Bodhisattva
Bodhisattva


Joined: 03 Feb 2003
Posts: 4084
Location: Italy

PostPosted: Mon Jul 21, 2003 4:47 pm    Post subject: Reply with quote

koma wrote:
# sudo -u koma poweroff
poweroff: must be superuser.


Hai letto la pagina di man? :P
Ma hai configurato sudo prima di usarlo? Devi dirgli ovviamente cosa può fare il tal utente.
Prova a cercare "sudo" su gentoo.org/linux, trovi una miriade di info e esempi di configurazione.
Back to top
View user's profile Send private message
gianiaz
n00b
n00b


Joined: 18 Jul 2003
Posts: 40

PostPosted: Mon Jul 21, 2003 5:08 pm    Post subject: Reply with quote

Shev wrote:
koma wrote:
# sudo -u koma poweroff
poweroff: must be superuser.


Hai letto la pagina di man? :P
Ma hai configurato sudo prima di usarlo? Devi dirgli ovviamente cosa può fare il tal utente.
Prova a cercare "sudo" su gentoo.org/linux, trovi una miriade di info e esempi di configurazione.


hai solo gentoo in testa? :D
Naturalmente scherzo.

Ciao ciao
Back to top
View user's profile Send private message
shev
Bodhisattva
Bodhisattva


Joined: 03 Feb 2003
Posts: 4084
Location: Italy

PostPosted: Mon Jul 21, 2003 5:30 pm    Post subject: Reply with quote

gianiaz wrote:

hai solo gentoo in testa? :D
Naturalmente scherzo.


:lol: :lol:
Non me ne'ero accorto, probabilmente hai ragione!

/me nella terra dei lapsus (ovviamente intendevo google :oops: )
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum