https://bugzilla.novell.com/show_bug.cgi?id=673669 https://bugzilla.novell.com/show_bug.cgi?id=673669#c0 Summary: invoking commands with sudo behaves different from normal user / root Classification: openSUSE Product: openSUSE 11.4 Version: Factory Platform: x86-64 OS/Version: SuSE Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: casualprogrammer@opensuse.org QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:2.0b11) Gecko/20110203 Firefox/4.0b11 Invoking a command in a terminal as "normal" user like, for instance, hwinfo --help produces:
hwinfo --help Absolute path to 'hwinfo' is '/usr/sbin/hwinfo', so running it may require superuser privileges (eg. root).
The same as root:
# hwinfo --help
Usage: hwinfo [OPTIONS]
Probe for hardware.
Options:
--
sudo hwinfo --help root's password: sudo: hwinfo: command not found
Only when the absolute path is given, sudo will do as told. Consecutive trys then work as expected, as long as the same gnome-terminal is used. Opening a new terminal reproduces the ill behaviour. Reproducible: Always Steps to Reproduce: 1. open a gnome-terminal 2. enter hwinfo --help (or other command restricted to root) 3. repeat prefixed with sudo Actual Results: see above Expected Results: to behave identical to "normal" user or root -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.