Stroller <[email protected]> [09-08-27 20:28]: > > On 25 Aug 2009, at 23:26, [email protected] wrote: > >... > >I use Icewm and X.org as desktop environment. > > > >Ending my work with a command like > > > > sudo halt > > > >from a terminal window results in no problem at all. > > > >But: > > > >When I do something like: > > > > aunpack mysourceproject.tar.7z; cd mysourceproject; \ > > ./configure && make && make install; sudo halt > > > >switch off my monitor and go to sleep, cause this will run for an > >hour, and start my box next morning again, all fonts, which are > >defined via xorg.conf are displayed in a very tine shape. > > Um.... sorry if this is a dumb question, but does the `sudo halt` > actually run? Here that would be sitting waiting for me to enter a > password (but your /etc/sudoers may be configured differently). > > Stroller. > >
Hi There are no dumb questions, Stroller, there are only dumb answers... :) You can configure /etc/sudoers to accept "sudo" without password and execute a certain command via sudo with root rights or others. On machines used by many users and or directly connected to a backbone this may or is a security hole. On my machine I am alone and sudoers is setup only to accept passwordless "sudos" from me (my username) The according line looks like this: <my username> ALL=(ALL) NOPASSWD: ALL Which means: accept any command without password compined with sudo. This may or may not a discussable setting, though... On the other side: A person who is able to crack my router and gain root rights on my machine will not be stopped by sudoers-settings. And the possibility to be able to crack a password is based on the knowledge/tools to the attacker and the password but is not based on the kind of user who owns it, whether it is a root password or a users password does not matter... Only my to photons...your light might be brighter... :o) HTH! Have a nice <time of day you currently have> ;) Keep hacking! mcc -- Please don't send me any Word- or Powerpoint-Attachments unless it's absolutely neccessary. - Send simply Text. See http://www.gnu.org/philosophy/no-word-attachments.html In a world without fences and walls nobody needs gates and windows.

