You are not logged in.

#1 2004-06-16 18:47:46

kaloyer
Member
From: Tucson, AZ, USA
Registered: 2004-06-15
Posts: 29
Website

Command only work as user

hey, i searched around and couldn't find the answer for this. I've installed some packages(including X) and have also added a user. Now, whenever I try to run installed commands as root(xf86config, for example) and it says command not found, but when I run them as my user, it works fine. Some commands, however, refuse to run unless you have root access. AHHHHHHH CATCH-22!!!  :cry: There has to be a way to refresh the commands.  :? Thanks in advance


He who opens the windows lets the bugs in...

Offline

#2 2004-06-16 18:52:06

kaloyer
Member
From: Tucson, AZ, USA
Registered: 2004-06-15
Posts: 29
Website

Re: Command only work as user

awww damn it's another 'i'm so dumb for posting', all i had to do was cold reboot(shut down and reboot by hand) and it fixed everything(WHY ISN'T THIS SO OBVIOUS). another one of arch's little quirks  :? whatever, maybe this will help someone.


He who opens the windows lets the bugs in...

Offline

#3 2004-06-17 02:43:49

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: Command only work as user

likely you just needed to update your path for the user


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

#4 2004-06-17 03:01:53

famavolat
Member
From: Louisville, KY
Registered: 2003-09-22
Posts: 80
Website

Re: Command only work as user

cactus wrote:

likely you just needed to update your path for the user

I have been wondering if there was a way to update your path on the fly with out logging out and back in? Anyone?

Offline

#5 2004-06-17 04:58:09

smoochie
Member
From: chicago, USA
Registered: 2004-04-01
Posts: 27

Re: Command only work as user

You can use the command source or .  and then the file containing the path. In AL case it would be either

source /etc/profile

or

. /etc/profile

Thanks,
Jason

Offline

#6 2004-06-20 22:23:04

kaloyer
Member
From: Tucson, AZ, USA
Registered: 2004-06-15
Posts: 29
Website

Re: Command only work as user

Hey thanks smoochie, I just use the source thing, and BLAM, my commands work  big_smile . NO MORE STUPID REBOOTS LIKE WINBLOWS!!!!  tongue


He who opens the windows lets the bugs in...

Offline

#7 2004-06-20 23:03:45

Xentac
Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797
Website

Re: Command only work as user

kaloyer wrote:

Hey thanks smoochie, I just use the source thing, and BLAM, my commands work  big_smile . NO MORE STUPID REBOOTS LIKE WINBLOWS!!!!  tongue

Reboots?  All you have to do is log out and log back in...


I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal

Offline

Board footer

Powered by FluxBB