LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-19-2003, 05:45 AM   #1
oicu812
LQ Newbie
 
Registered: Oct 2003
Posts: 3

Rep: Reputation: 0
Root access question from a newbie


Okay, I'm totally new at this. I need to get root access from the terminal inorder to enter some commands to get inbound telnet working. I assume I enter the command "login" and when I get the login prompt i type "root" and when I enter the password (same password that Red Hat ask me for in other places) it comes back as incorrect.

Any ideas as to what to do next?

thanks
 
Old 10-19-2003, 05:59 AM   #2
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,205

Rep: Reputation: 397Reputation: 397Reputation: 397Reputation: 397
you forgot your root password? hmm, that's posted several times on this board how to recover the root password, and most of them involve telling lilo (or grub) to have your system boot into single user mode and then changing the password using passwd
then if you'r really bold you can leave a backdoor for your self incase you forget, and that is edit the /etc/sudoers file using visudo (do this as root of course) to allow yourself access to the shell as root then you can to use the passwd command for root
 
Old 10-19-2003, 06:27 AM   #3
oicu812
LQ Newbie
 
Registered: Oct 2003
Posts: 3

Original Poster
Rep: Reputation: 0
Well, I don't think I forgot the root password. If I go to the "System Settings" menu and then follow over to the "Security Level" menu, I then get asked for my "root" password. I enter it and it then allows me access.

However, if I pull up the Terminal and try to login in as root it says it's incorrect. Kind of strange. I would think they are one in the same, but I guess not.
 
Old 10-19-2003, 08:07 AM   #4
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
If you are already logged in as a user, you should issue the 'su' command in a terminal.

ie open a terminal, type su and hit enter, enter root's password and hit enter, you can now issue commands as root.
 
Old 10-19-2003, 08:21 AM   #5
hunter_one
Member
 
Registered: Jun 2003
Distribution: mdk 9.1 , gentoo
Posts: 101

Rep: Reputation: 15
[hunter@localhost hunter]$ su
Password:
[root@localhost hunter]#


 
Old 10-19-2003, 02:14 PM   #6
oicu812
LQ Newbie
 
Registered: Oct 2003
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks to all, that worked great! I'm slowly shedding this newbie skin..LOL
 
Old 10-19-2003, 05:26 PM   #7
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,205

Rep: Reputation: 397Reputation: 397Reputation: 397Reputation: 397
well good job, when the newbie skin comes off, hopefully it is replaced with that warm fuzzy felieng about linux like i have
 
  


Reply


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
A strange question: Limiting root access sibtay Linux - Security 4 10-18-2004 07:30 AM
newbie question- how to get root? piercival Linux - Software 4 05-03-2004 02:24 PM
the most stupid question about root access KoBe1510 Linux - General 4 06-10-2003 12:28 PM
Only root can connect to the net! {Newbie question} Radio Linux - Networking 2 05-20-2002 04:12 PM
Linux internet access (Stupid newbie question) Phr33za Linux - Newbie 11 04-01-2002 05:29 AM


All times are GMT -5. The time now is 02:28 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration