| View previous topic :: View next topic |
| Author |
Message |
dcro Apprentice

Joined: 29 Aug 2002 Posts: 160
|
Posted: Sun Dec 01, 2002 11:07 am Post subject: Problems with SU |
|
|
In console (terminal) mode I can't use a soft (in root after su) :
dcro@didier dcro $
dcro@didier dcro $ su
Password:
root@didier dcro # gkrellm
bash: gkrellm: command not found
root@didier dcro #
I have the same result with : konqueror, mozilla, kate, etc.
This problem began 3 days ago, I don't know why. The only changed my screen (from a CRT to a LCD one) |
|
| Back to top |
|
 |
sisyphus Tux's lil' helper


Joined: 07 Oct 2002 Posts: 138 Location: Bristol & London - UK
|
Posted: Sun Dec 01, 2002 2:23 pm Post subject: |
|
|
It's 'cos they're not on root's path.
type:
and compare with your standard user.
To get your full root path do:
instead of straigt su. Alternatively, just type:
| Code: |
source /etc/profile
|
Which has the same effect. _________________ wibble |
|
| Back to top |
|
 |
dcro Apprentice

Joined: 29 Aug 2002 Posts: 160
|
Posted: Sun Dec 01, 2002 5:28 pm Post subject: |
|
|
After doing :
I have a diffirence in PATH between user and root !
How can I modify the root PATH ? |
|
| Back to top |
|
 |
rac Bodhisattva


Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Sun Dec 01, 2002 6:34 pm Post subject: |
|
|
There are several ways, but it's hard to do it permanently. Look for settings of ROOTPATH in files in /etc/env.d. _________________ For every higher wall, there is a taller ladder |
|
| Back to top |
|
 |
dcro Apprentice

Joined: 29 Aug 2002 Posts: 160
|
Posted: Sun Dec 01, 2002 7:29 pm Post subject: |
|
|
I don't understand I have the good information in these files  |
|
| Back to top |
|
 |
rac Bodhisattva


Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Sun Dec 01, 2002 11:23 pm Post subject: |
|
|
Then try running "env-update". _________________ For every higher wall, there is a taller ladder |
|
| Back to top |
|
 |
dcro Apprentice

Joined: 29 Aug 2002 Posts: 160
|
Posted: Wed Dec 04, 2002 6:05 pm Post subject: |
|
|
| env-update has no effect |
|
| Back to top |
|
 |
ebrostig Bodhisattva


Joined: 20 Jul 2002 Posts: 3152 Location: Orlando, Fl
|
Posted: Wed Dec 04, 2002 6:20 pm Post subject: |
|
|
| dcro wrote: | | env-update has no effect |
Then after env-update, run :
source /etc/profile
Now you can check your environement for the changed variables.
Erik |
|
| Back to top |
|
 |
|