Bugzilla – Bug 103124
can't execute programs under /sbin without enter the full path
Last modified: 2005-08-18 15:32:29 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:~ #
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"
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?
Yes was changed. To get full root env use "su -" from now. Can we close this bug now?
Yes, you can.
I close the Bug now.
*** Bug 105575 has been marked as a duplicate of this bug. ***