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
--
Mark Haney
Software Developer/Consultant
AB Emblem
markh(a)abemblem.com
Linux marius.homelinux 3.3.0-4.fc16.x86_64 GNU/Linux