LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-15-2004, 04:30 PM   #1
linuxmandrake
Member
 
Registered: Sep 2004
Distribution: debian sarge 64bit (AMD)
Posts: 709

Rep: Reputation: 30
How to boot in as root


Is there a way to login as root without using the command prompt. As i want ot be able to edit system files but doesn't allow me to do so even if i've logged in as root via command prompt
 
Old 09-15-2004, 04:37 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Gives a bit more detail?

Where are you, how did you get there?

Is this on a system rescue console or something?


Cheers,
Tink
 
Old 09-15-2004, 04:40 PM   #3
linuxmandrake
Member
 
Registered: Sep 2004
Distribution: debian sarge 64bit (AMD)
Posts: 709

Original Poster
Rep: Reputation: 30
Well i used the bash console then typed su and it asked me for my root password i typed it in then it said root@localhost i can access the folders which only a root user could access. but what i dont understand is I made myself a part of the root group via the mandrake control center. It doesn't sense for linux to lock me out when I am part of the group.

Last edited by linuxmandrake; 09-15-2004 at 04:41 PM.
 
Old 09-15-2004, 04:45 PM   #4
Conpen2000
LQ Newbie
 
Registered: Jan 2004
Location: Vail and Denver, CO
Distribution: Fedora Core 2 (Home) / RH9 (Server)
Posts: 28

Rep: Reputation: 15
At login, just type "root" as your user name. But working as root isn't neccecarily desireable. I would recommend using a command line text editor as root.

for example:

Code:
su
"yourpassword"
cd /yourdirectory
vim ./yourfile
You can use any command line editor, such as pico, vi, or emacs (to name a few) to edit these files.

http://www.fprintf.net/vimCheatSheet.html

^^^ that is a good vim command list. All you need to know, though, is:

press "esc" and then press ":" to execute a command. To get back into edit mode, press "Insert"

:P good luck!
 
Old 09-15-2004, 04:51 PM   #5
linuxmandrake
Member
 
Registered: Sep 2004
Distribution: debian sarge 64bit (AMD)
Posts: 709

Original Poster
Rep: Reputation: 30
but how wud i change the file permissions if am not logged in as root. also am using mandrake 10 it doesn't allow me to type in root as username it like xp u click on a picture beside the username

Last edited by linuxmandrake; 09-15-2004 at 04:57 PM.
 
Old 09-15-2004, 05:15 PM   #6
Conpen2000
LQ Newbie
 
Registered: Jan 2004
Location: Vail and Denver, CO
Distribution: Fedora Core 2 (Home) / RH9 (Server)
Posts: 28

Rep: Reputation: 15
Things you can do:

Code:
su
chmod a+x ./file "yourusername"
that changes the file preferences

ALSO

you can change the login screen settings in the KDE Controll Center (Controll Panel?)
 
Old 09-15-2004, 05:21 PM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,932

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
Logging in as root from the graphical log in is disabled in Mandrake. You can enable it from the control center. However, using su is the preferred method.
 
Old 09-15-2004, 05:57 PM   #8
linuxmandrake
Member
 
Registered: Sep 2004
Distribution: debian sarge 64bit (AMD)
Posts: 709

Original Poster
Rep: Reputation: 30
cud u be a little more specific as to where about the setting is
 
Old 09-15-2004, 06:35 PM   #9
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
How about showing some natural curiosity ... ?

And could you stop butchering the language?
People have enough difficulties spelling without
your bad example of using "SMSish" ...


Cheers,
Tink
 
  


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
LILO -boot and root ..... wombat53 Linux - General 7 07-17-2005 04:22 PM
Boot Error: Root file system /dev/root adtomar Linux - Networking 0 12-27-2004 11:50 AM
Cannot boot in root??? Cirius Linux - Software 3 01-03-2004 02:51 PM
Boot as root CARDONA Linux - General 2 07-16-2003 05:54 AM
Help with initial boot: boot root disk Joules Slackware 3 05-25-2002 10:44 AM


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