http://bugzilla.novell.com/show_bug.cgi?id=574348 http://bugzilla.novell.com/show_bug.cgi?id=574348#c0 Summary: sudo can only execute commands in /sbin and /usr/sbin by full path Classification: openSUSE Product: openSUSE 11.2 Version: Final Platform: i586 OS/Version: openSUSE 11.2 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: iceman@fastmail.com.au QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.1.6) Gecko/20091201 SUSE/3.5.6-1.1.1 Firefox/3.5.6 The Opensuse sudo RPM is build with --without-secure-path instead of the option --with-secure-path. Because of this when running commands such as /sbin/chkconfig you have to type out 'sudo /sbin/chkconfig' instead of just 'sudo chkconfig'. The --with-secure-path option should be used instead as sudo is a command primarily used for running commands as the root user, so should have the /sbin and /usr/sbin in its PATH. Mandriva is an example of a Linux distribution that uses the --with-secure-path option in their sudo RPM. Reproducible: Always Steps to Reproduce: 1. sudo chkconfig Actual Results: it shows a 'command not found' message Expected Results: for chkconfig to run and show a list of services on the system -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.