Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-10-2009, 08:52 AM   #1
LQ Newbie
Registered: Nov 2009
Posts: 1

Rep: Reputation: 0
Question linux don't reconize some command

Hi people, I forgot my root password of my Redhat Enterprise Server 5, I entered in single mode and I changed it. But now when I login, does'nt load the gnome as X11, it load a command window and a clock, but when I write some command like "ls", the system say "command no found", I tried to init with gnome but I got some errors, saying "No found /etc/X11/... command, etc".

What is wrong ?
Old 11-10-2009, 09:34 AM   #2
Registered: Feb 2009
Distribution: FreeBSD, OpenBSD, NetBSD, Debian, Fedora
Posts: 770
Blog Entries: 52

Rep: Reputation: 68
Are you still logging in in single user mode?
Have you tried a simple upgrade by rpm or yum through the command line?
Old 11-10-2009, 03:45 PM   #3
Registered: Nov 2005
Distribution: CentOS 5, BT5, Slackware 12.0
Posts: 207

Rep: Reputation: 29
how did you log in if you don't know the password?
Old 11-10-2009, 04:03 PM   #4
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,042
Blog Entries: 11

Rep: Reputation: 907Reputation: 907Reputation: 907Reputation: 907Reputation: 907Reputation: 907Reputation: 907Reputation: 907
Originally by themanwhowas
how did you log in if you don't know the password?
kernelimage init=/bin/bash

Which is why physical security is so important ;}

Last edited by Tinkster; 11-10-2009 at 04:04 PM.
Old 11-10-2009, 04:17 PM   #5
Registered: Jul 2009
Distribution: Arch / Mint 17
Posts: 297
Blog Entries: 3

Rep: Reputation: 50
Try entering the full path, like /bin/ls. I think your $PATH is empty. What is the out of "echo $PATH"?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do you get linux to reconize netgearwireless card lonnie 12 Linux - Wireless Networking 2 08-27-2007 04:08 AM
Can't reconize more the 4G of memory WCowger Linux - Server 2 05-30-2007 12:34 PM
slackware wont reconize external hd buffed317 Slackware - Installation 2 08-02-2004 01:11 PM
gtoaster doesnt reconize cdrom buffed317 Linux - Software 3 07-31-2004 05:17 PM
i have an intragrated sound card and linux wont reconize it help robodude Linux - Hardware 2 01-31-2004 06:07 PM

All times are GMT -5. The time now is 04:14 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration