LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 11-10-2009, 08:52 AM   #1
alexeicu
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
Mr-Bisquit
Member
 
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
themanwhowas
Member
 
Registered: Nov 2005
Distribution: CentOS 5, Fedora 23
Posts: 218

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

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Quote:
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
Bratmon
Member
 
Registered: Jul 2009
Location: 75.126.162.205:80
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"?
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:31 PM.

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