Help, i think i screwed up my linux system!

jmcoreymv

Diamond Member
Oct 9, 1999
4,264
0
0
Hey, ok im running Red Hat 7 and heres the problem. (I only use the command line BTW). No commands work, like linuxconf. It says "bash: linuxconf: command not found" or like useradd, the same thing. It was working before but something changed, any ideas?
 

JchrisW

Member
Jul 25, 2000
65
0
0
Your path setting in /root/.bash_profile (if using default bash shell) needs to be set. All your programs are still there, the system just doesn't know where to find them. You could use /usr/sbin/useradd, etc, for the time being.

Jordan
 

oldfart

Lifer
Dec 2, 1999
10,207
0
0
linuxconf and useradd are SU (super user) commands. Are you in as root? Can you use other commands that dont require root permissions?
 

jmcoreymv

Diamond Member
Oct 9, 1999
4,264
0
0
Also, you know the message you get before you enter your login for a telnet session? Is there anyway to change what it says?