[sudo-users] sudo returns 141
Todd C. Miller
Todd.Miller at courtesan.com
Thu Oct 28 15:50:02 EDT 2004
In message <20041028191756.GA450 at cirrus.madduck.net>
so spake martin f krafft (madduck):
> node10:~> id
> uid=3D1000(krafft) gid=3D10000(cluster)
> groups=3D20(dialout),29(audio),44(video),50(staff),10000(cluster)
>
> Now, when I try to run the reinstall command, sudo exits with 141:
>
> node10:~> which reinstall
> /usr/local/sbin/reinstall
> node10:~> sudo reinstall || echo $?
> 141
>
> What gives?
>
> The command runs fine when invoked directly as root.
>
> But I can do whatever I want:
>
> node10:~> sudo ThIsCoMmAnDdOeSnOtExIsT || echo $?
> 141
What version of sudo is this? Sudo normally exits with a value of
1 if the command cannot be found and should print an error message.
E.g.
$ sudo ThIsCoMmAnDdOeSnOtExIsT || echo $?
sudo: ThIsCoMmAnDdOeSnOtExIsT: command not found
1
- todd
More information about the sudo-users
mailing list