Bug 103124

Summary: can't execute programs under /sbin without enter the full path
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Christopher Stender <cstender>
Component: BasesystemAssignee: Dr. Werner Fink <werner>
Status: RESOLVED INVALID QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: dkukawka, fmfischer
Version: Beta 1   
Target Milestone: ---   
Hardware: Other   
OS: All   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Christopher Stender 2005-08-09 18:04:49 UTC
Programs under /sbin aren't avaible in xterm directly.

Example:

tank:~ # fdisk
bash: fdisk: command not found

tank:~ # whereis fdisk
fdisk: /sbin/fdisk /usr/share/man/man8/fdisk.8.gz

tank:~ # /sbin/fdisk 

Aufruf: fdisk [-l] [-b SSZ] [-u] Gerät
Zum Beispiel: fdisk /dev/hda       (die erste IDE-Festplatte)
        oder: fdisk /dev/sdc       (die dritte SCSI-Festplatte)
        oder: fdisk /dev/eda       (die erste PS/2 ESDI-Festplatte)
        oder: fdisk /dev/rd/c0d0
        oder: fdisk /dev/ida/c0d0  (RAID-Festplatten)
        ...
tank:~ #
Comment 1 Danny Al-Gaaf 2005-08-09 18:26:56 UTC
How do you get root user? with su? This works for me if you login directly as 
root (and open xterm) or if you use "su -" instead of "su" 
Comment 2 Christopher Stender 2005-08-09 20:09:42 UTC
I logged in as a normal user and opened xterm. Then i used "su" to get root. 
It works well under SuSE Linux < 10.0 but not with 10.0 Beta1.

"su -" works... what has changed?
Comment 3 Danny Al-Gaaf 2005-08-09 20:40:25 UTC
Yes was changed. To get full root env use "su -" from now. Can we close this bug 
now?
Comment 4 Christopher Stender 2005-08-09 20:49:09 UTC
Yes, you can.
Comment 5 Danny Al-Gaaf 2005-08-09 20:55:24 UTC
I close the Bug now.
Comment 6 Andreas Schwab 2005-08-18 15:32:29 UTC
*** Bug 105575 has been marked as a duplicate of this bug. ***