LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 05-14-2009, 07:35 PM   #1
SSJGoku
Member
 
Registered: Apr 2009
Location: Clemson, SC
Distribution: Fedora 10
Posts: 71

Rep: Reputation: 15
root login?


ok so im running fedora 10 in KDE and was woundering how do you login into root through the login screen.
Ive tried user: root and my root password but it says unable to authenticate user


also i was woundering how to open files via the command line

thanks in advance
 
Old 05-14-2009, 07:39 PM   #2
dxqcanada
Member
 
Registered: Sep 2006
Location: Canada
Distribution: Gentoo
Posts: 702

Rep: Reputation: 43
Normally root login via KDM is not allowed.
The kdmrc file would have to be modified to allow it.

It is suggested to use log in as a normal user and then use sudo to run applications as root only when necessary.

You open files via CLI using the appropriate console application.
 
Old 05-14-2009, 07:42 PM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,241

Rep: Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325
1. I believe that root login at the GUI has been disabled for security reasons as of F10.
You'll have to login as yourself and the use

su -

to get root.

2. 'open a file': I assume you mean edit?
There a various editors you can try: vim is the default and very good. Others include gedit, nano, pico, kate/kedit(?).
 
Old 05-14-2009, 07:43 PM   #4
SSJGoku
Member
 
Registered: Apr 2009
Location: Clemson, SC
Distribution: Fedora 10
Posts: 71

Original Poster
Rep: Reputation: 15
how do u use sudo? i ussually only us su. and what is the diffrence.

oh and the reason i wanted to login as root is because I wanted to change some permissions of a folder




i guess i just wanted to know how to open files via the command line. for example a doc file in open office

Last edited by SSJGoku; 05-14-2009 at 07:50 PM.
 
Old 05-14-2009, 07:54 PM   #5
dxqcanada
Member
 
Registered: Sep 2006
Location: Canada
Distribution: Gentoo
Posts: 702

Rep: Reputation: 43
su - change user ID or become superuser

sudo, sudoedit - execute a command as another user


You want to launch Open Office Writer from the console/command line and open the specified file ?

You can only do this from an X Windows console terminal ...
Code:
$ oowriter [filename]
 
Old 05-14-2009, 08:02 PM   #6
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,241

Rep: Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325
For Open office you'd usually use the GUI, which you seem to have. Cmd line is possible as well.
 
Old 05-14-2009, 09:51 PM   #7
SSJGoku
Member
 
Registered: Apr 2009
Location: Clemson, SC
Distribution: Fedora 10
Posts: 71

Original Poster
Rep: Reputation: 15
i know i just want to get to where i dont have to use the gui and i can just use the command line to do everything
 
Old 05-14-2009, 10:07 PM   #8
vibinlakshman
Member
 
Registered: Dec 2008
Location: Kerala, India
Distribution: Ubuntu 11.10
Posts: 334

Rep: Reputation: 33
Wink

Plz check if u have a file name gdm.conf , usually Ubuntu have , not sure in Fedora , if there , its a conf file , where u can see variable named AllowRoot , to true , which will satisfy ur need .
But normally not used coz of security reasons ,plz set to false after ur need

mine is in /etc/gdm/gdm.conf , i'll show some part of it

[security]
# Allow root to login. It makes sense to turn this off for kiosk use, when
# you want to minimize the possibility of break in.
AllowRoot=false ------ set to true will make u happy

Last edited by vibinlakshman; 05-14-2009 at 10:11 PM.
 
  


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
Adding root privaliges to user accounts or auto login as root Val-Ent Linux - General 15 03-02-2010 05:27 PM
wrong login shell prevent root login cefs99 Linux - Security 4 05-31-2006 09:28 AM
Gnome: Cannot login as default user, sends back to login, works as root Danny-T Linux - Newbie 2 05-27-2006 04:44 AM
I have re-installed MK 9.2 but cannot login as user, login as root works. bobinglis Mandriva 2 02-22-2004 12:39 PM
can only login as root? user login doesnt work..? anyone? hacking_4_b33r Linux - General 1 02-06-2004 12:40 AM


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