LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 09-30-2004, 02: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, 02:53 PM   #2
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
You open up a console (xterm, terminal, konsole ... )
and type

su -<enter>
followed by roots password.


Cheers,
Tink
 
Old 09-30-2004, 03: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, 04: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, 04:35 PM   #5
Blinker_Fluid
Member
 
Registered: Jul 2003
Location: Clinging to my guns and religion.
Posts: 683

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



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

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

All times are GMT -5. The time now is 07:42 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