On Fri, Aug 04, 2006 at 10:45:01 +0200, Rodolfo Medina wrote: >Hi, dear all. > > $ ls -l /sbin/shutdown > -rwxr-xr-x 1 root root 18516 2005-01-04 23:43 /sbin/shutdown > >The above output shows execution permissions for all users: owner (root), >group (root) and other user on the binary file `/sbin/shutdown'. >Then why if I try to run that command with: > > $ /sbin/shutdown -r now > >, it says: > > shutdown: you must be root to do that!
You can run the executable, if you couldn't it'd say something like permission denied: /sbin/shutdown However, for /sbin/shutdown to perform the task of rebooting you need to be root when you run it. /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] Jabber: [EMAIL PROTECTED] http://therning.org/magnus Software is not manufactured, it is something you write and publish. Keep Europe free from software patents, we do not want censorship by patent law on written works. As far as the laws of mathematics refer to reality, they are not certain, and as far as they are certain, they do not refer to reality. -- Albert Einstein
pgpvtj6fTZaW8.pgp
Description: PGP signature