[sudo-users] sudo returns 141

martin f krafft madduck at madduck.net
Thu Oct 28 15:17:56 EDT 2004

My sudoers file has

  %staff         NODE=(root) /usr/local/sbin/reinstall ""

and I am:

node10:~> id
uid=1000(krafft) gid=10000(cluster)

Now, when I try to run the reinstall command, sudo exits with 141:

node10:~> which reinstall
node10:~> sudo reinstall || echo $?

What gives?

The command runs fine when invoked directly as root.

But I can do whatever I want:

node10:~> sudo ThIsCoMmAnDdOeSnOtExIsT || echo $?


martin;              (greetings from the heart of the sun.)
  \____ echo mailto: !#^."<*>"|tr "<*> mailto:" net at madduck
invalid/expired pgp subkeys? use subkeys.pgp.net as keyserver!
spamtraps: madduck.bogus at madduck.net
"the well-bred contradict other people.
 the wise contradict themselves."
                                                        -- oscar wilde
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: </pipermail/sudo-users/attachments/20041028/21f28bf6/attachment.bin>

More information about the sudo-users mailing list