LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 09-30-2004, 03:48 PM   #1
Ree
LQ Newbie
 
Registered: Sep 2004
Posts: 15

Rep: Reputation: 0
How to log in as root user


I need to log in as root user to edit a file and i can't. If i go to switch user and do it in a new session all it does is open up YaST. So I can't get into KDE as a root user, how do i do this. (i am using SuSE by the way.
 
Old 09-30-2004, 03:53 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,004
Blog Entries: 11

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
You open up a console (xterm, terminal, konsole ... )
and type

su -<enter>
followed by roots password.


Cheers,
Tink
 
Old 09-30-2004, 04:12 PM   #3
bobbens
Member
 
Registered: Sep 2004
Location: Barcelona
Distribution: Debian, FreeBSD, Gentoo
Posts: 586

Rep: Reputation: 30
or when you're using an X loader type root as username and your password in the password section. The gdm has to be configured to allow the root to log in, dont know about other x loaders.
 
Old 09-30-2004, 05:12 PM   #4
nicksmart234
Member
 
Registered: Sep 2004
Location: CT,USA
Distribution: Kubuntu 7.10
Posts: 53

Rep: Reputation: 15
sometimes u need to just restart the comp after u do wut tink said and it ussualy coms up + if u try to access yast it will prompt for root pass y dont u just put in there?
 
Old 09-30-2004, 05:35 PM   #5
Blinker_Fluid
Member
 
Registered: Jul 2003
Location: Clinging to my guns and religion.
Posts: 682

Rep: Reputation: 63
And just because SuSE is lame you may need to use 'sux -' instead of just 'su -'.
(sorry still scratching my head as to why they even need sux)
 
  


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
Can not log in as root user backpacker Linux - Newbie 3 06-10-2005 04:21 AM
Cant only log in as root after user log-in. ADJenkins Linux - General 2 11-17-2004 05:18 PM
Log Out root Then Log In As Other User xtremcoder Linux - General 4 10-05-2004 12:01 AM
Root user can't log in Phaethar Linux - General 3 05-04-2004 11:05 AM
Can't log in as user, only as root trentk Linux - Newbie 5 02-28-2002 09:27 PM


All times are GMT -5. The time now is 07:59 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration