Am 28.03.2012 16:48, schrieb Mark Haney:
On 03/28/2012 10:28 AM, suvayu ali wrote:
> On Wed, Mar 28, 2012 at 16:22, Mark Haney<markh(a)abemblem.com> wrote:
>> True, but if that's the case then specifying the user should work as well.
>> It doesn't. (and yes I've logged out and in again. sudoers has been
that
>> way for a couple of weeks now so that's not a problem.)
>
> What does /var/log/secure say for each sudo command you try?
>
Not much:
> Mar 28 10:22:48 marius sudo: markh : TTY=pts/0 ; PWD=/home/markh ; USER=root ;
COMMAND=/bin/su
> Mar 28 10:23:59 marius sudo: markh : TTY=pts/5 ; PWD=/home/markh/Documents ;
USER=root ; COMMAND=/usr/bin/kate
> Mar 28 10:25:07 marius sudo: markh : TTY=pts/7 ; PWD=/home/markh ; USER=root ;
COMMAND=/bin/su
> Mar 28 10:46:58 marius sudo: markh : TTY=pts/7 ; PWD=/home/markh ; USER=root ;
COMMAND=/bin/cat /var/log/secure
and where is now exactly the problem?
these are logs with SUCCESS!
see below, this is a test on my buildmachine where
"builduser" has exactly this permissions to build/update/build
automated a bundle of packages
Mar 28 16:50:02 buildserver sudo: builduser : TTY=pts/0 ; PWD=/home/builduser ; USER=root
; COMMAND=/bin/env
PATH=/usr/lib64/qt-3.3/bin:/buildserver/:/usr/local/bin:/bin:/usr/bin date