On Tue, 2003-02-04 at 12:37, rahul b jain cs student wrote: > Hi, > > I was trying to make use of the sudo utility, which in my understanding > allows the root to give certains users the privelege the execute a set of > commands. > > I configured the file sudoers making use of the command visudo. My sudoers > file looks like this > > # User alias specification > User_Alias FULLTIME = rbj2 > > # Host alias specification > Host_Alias MARIEKE = 10.2.0.1 > > # Runas alias specification > Runas_Alias OP = root > > # Cmnd alias specification > Cmnd_Alias NETWORKS = /usr/sbin/ > > # Defaults specification > > # User privilege specification > root ALL=(ALL) ALL > FULLTIME MARIEKE = (OP) NOPASSWD: NETWORKS > > However when I login as the specified user and try to execute a command in > the directory /usr/sbin/ (eg: tcpdump, visudo), it gives me the following > error message "sudo: tcpdump: command not found". Any insights why I am > getting this error ? Also when I executed the command "sudo tcpdump", it > asked me for my password even though I have specified NOPASSWD. > > Any suggestions / advice ? >
Is tcpdump in your path? try sudo /usr/sbin/tcpdump Bret -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list