Re: Kernel 2.3.49/51 and exec permissions

From: Bob Hilliard (hilliard@flinet.com)
Date: Sun Mar 12 2000 - 18:20:30 EST


The Doctor What <docwhat@gerf.org> writes:

> but not if I try to sudo to a non-root id (this is as root, note the #):
> bash-2.04# sudo -u man bash
> sudo: unable to exec /bin/bash: Permission denied

     This doesn't affect your main question, but you are using the
wrong syntax for sudo. The -u option takes a username/uid argument.
Your command is telling sudo to run bash as user man, who doesn't
exist. sudo is normally run by a user (not root) who is listed in the
file /etc/sudoers.

     Your sudo problems don't appear to be related to your suid
problems.

Bob

-- 
   _
  |_)  _  |_       Robert D. Hilliard    <hilliard@flinet.com>
  |_) (_) |_)      Palm City, FL  USA    PGP Key ID: A8E40EB9

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Mar 15 2000 - 21:00:27 EST