Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
PC afsluiten door gewone user?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Dutch
View previous topic :: View next topic  
Author Message
guni
Apprentice
Apprentice


Joined: 18 May 2003
Posts: 193
Location: Belgium lommel

PostPosted: Sun Jul 13, 2003 11:57 pm    Post subject: PC afsluiten door gewone user? Reply with quote

Hoe kan je een gewone user de pc laten afsluiten zonder su cmd te gebruiken

grtz guni
Back to top
View user's profile Send private message
SeJo
Retired Dev
Retired Dev


Joined: 08 Oct 2002
Posts: 298
Location: Belgium

PostPosted: Mon Jul 14, 2003 10:02 am    Post subject: Reply with quote

Code:

#file: /bin/shutdown.sh
sudo /sbin/shutdown -g 0


then chmod +x /bin/shutdown.sh

User moet wel wheel in group hebben!
_________________
"I am not bound to please thee with my answers."
Back to top
View user's profile Send private message
Neje
n00b
n00b


Joined: 04 May 2003
Posts: 71
Location: Netherlands

PostPosted: Mon Jul 14, 2003 10:44 am    Post subject: Reply with quote

Wat voor mij ook de moeite waard is gebleken is /etc/inittab nanoën, onder "What to do at the Three Finger Salute" (=Ctrl+Alt+Del). Als je daar van "shutdown -r now" "shutdown -h now" maakt kan je heel simpel afzetten als user.
grtz terug,
Neje
_________________
"It's some kind of electronic computer."
- Tin Tin, Thunderbirds
Back to top
View user's profile Send private message
guni
Apprentice
Apprentice


Joined: 18 May 2003
Posts: 193
Location: Belgium lommel

PostPosted: Mon Jul 14, 2003 11:14 pm    Post subject: Reply with quote

/etc/inittab die wist ik al en wou reboot zo houden
maar dat scriptje had ik wel nodig :P sudo cmd wist ik niet dus thnx aan allebei voor jullie moeite
grtz guni
Back to top
View user's profile Send private message
Toltex
n00b
n00b


Joined: 26 Mar 2003
Posts: 33
Location: Belgium

PostPosted: Thu Jul 17, 2003 12:46 pm    Post subject: Reply with quote

als je dockapps hebt, kan je ook wmshutdown installeren.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Dutch 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