Find the answer to your Linux question:
Results 1 to 7 of 7
I was woundering how the heck I login as root. I tired doing it from the login screen and I get a error message saiying "adminsitrator cannot login from here" ...
  1. #1
    Just Joined!
    Join Date
    Nov 2005
    Location
    The 909
    Posts
    36

    How do I login as root?

    I was woundering how the heck I login as root. I tired doing it from the login screen and I get a error message saiying "adminsitrator cannot login from here" So how do I login as root?

  2. #2
    Linux Guru techieMoe's Avatar
    Join Date
    Aug 2004
    Location
    Texas
    Posts
    9,496
    Are you trying to log into graphical mode as root? You won't be able to do that by default. Is there some reason you *need* to log in graphically? Can you not accomplish what you need by logging into X Windows as a regular user and opening up a console, then typing su -?
    Registered Linux user #270181
    TechieMoe's Tech Rants

  3. #3
    Just Joined!
    Join Date
    Nov 2005
    Location
    The 909
    Posts
    36
    Quote Originally Posted by techieMoe
    Are you trying to log into graphical mode as root? You won't be able to do that by default. Is there some reason you *need* to log in graphically? Can you not accomplish what you need by logging into X Windows as a regular user and opening up a console, then typing su -?
    I need to edit a config file which I have to logged into root to edit

  4. #4
    Linux Guru techieMoe's Avatar
    Join Date
    Aug 2004
    Location
    Texas
    Posts
    9,496
    Quote Originally Posted by jdrusmtik9
    I need to edit a config file which I have to logged into root to edit
    Ok. You don't need a graphical interface for that. Simply log in as a regular user, open up a console, type su - followed by your root password, then open up a text editor to edit your config file.
    Registered Linux user #270181
    TechieMoe's Tech Rants

  5. #5
    Just Joined!
    Join Date
    Nov 2005
    Location
    The 909
    Posts
    36
    Quote Originally Posted by techieMoe
    Quote Originally Posted by jdrusmtik9
    I need to edit a config file which I have to logged into root to edit
    Ok. You don't need a graphical interface for that. Simply log in as a regular user, open up a console, type su - followed by your root password, then open up a text editor to edit your config file.
    do I have to open up the text editor through terminal? And how do I do that?

  6. #6
    Linux User
    Join Date
    Apr 2005
    Location
    Ohio
    Posts
    326
    nano /some/file/name

    or

    pico /some/file/name

    or

    vi /some/file/name - Not a great editor for beginners, but if you learn vi you should find it on pretty much ANY *nix system you work on..
    far...out

  7. #7
    Just Joined!
    Join Date
    Nov 2005
    Location
    The 909
    Posts
    36
    oh I figured it out just type gedit in the terminal. got it working thanks a lot guys!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •