Bug 103124 - can't execute programs under /sbin without enter the full path
Summary: can't execute programs under /sbin without enter the full path
Status: RESOLVED INVALID
: 105575 (view as bug list)
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Beta 1
Hardware: Other All
: P5 - None : Normal
Target Milestone: ---
Assignee: Dr. Werner Fink
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-09 18:04 UTC by Christopher Stender
Modified: 2005-08-18 15:32 UTC (History)
2 users (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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. ***