Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 17
how to get the root password for ubuntu 5.04??/ We tried using the install cd and giving 'linux single' but nothing worked out........
  1. #1
    Just Joined!
    Join Date
    Aug 2005
    Location
    India
    Posts
    60

    root password

    how to get the root password for ubuntu 5.04??/
    We tried using the install cd and giving 'linux single' but nothing worked out.....

  2. #2
    Linux Engineer
    Join Date
    Oct 2004
    Location
    Vancouver
    Posts
    1,366
    well, you can open the root terminal from link in the menu and when it pops up you can set a root password with
    Code:
    passwd root
    there is no default root pass with ubuntu
    Operating System: GNU Emacs

  3. #3
    Just Joined!
    Join Date
    Aug 2005
    Location
    India
    Posts
    60
    i tried going to the recovery mode(menu entry was there for this mode) and set the new password.
    there it showed that the root (administrator)user can't login to the recovery mode (GUI) of
    ubuntu.Ok that was fine

    But when we went to the normal mode also it showed the message that administrator is not allowed to login to this screen....
    Why is it so???

  4. #4
    Just Joined!
    Join Date
    Oct 2004
    Posts
    42
    I'm not exactly sure what you are talking about in your last post, but to set the password just open a terminal and type:

    Code:
    sudo passwd
    It'll ask you for the current password, which I think you can get by with entering the password of your own user's password that you are under... You shouldn't have to go into rescue or anything like that... Ubuntu install default with no root password...

  5. #5
    Just Joined!
    Join Date
    Aug 2005
    Posts
    83
    Quote Originally Posted by GEJOE DANIEL
    i tried going to the recovery mode(menu entry was there for this mode) and set the new password.
    there it showed that the root (administrator)user can't login to the recovery mode (GUI) of
    ubuntu.Ok that was fine

    But when we went to the normal mode also it showed the message that administrator is not allowed to login to this screen....
    Why is it so???
    Well, you should of used the Terminal.

    Code:
    sudo passwd root
    <Enter Your Password>
    There you go.

  6. #6
    Just Joined!
    Join Date
    Aug 2005
    Location
    India
    Posts
    60
    I understood how to recover the password...that problem is closed now...
    but the problem is that i can't login as the root user in Gui.
    there it showed that the root (administrator)user can't login in this screen..
    why???

  7. #7
    Just Joined!
    Join Date
    Oct 2004
    Posts
    42
    Maybe its just a saftey precaution that ubuntu has... You should never log in as root in GUI... Very unsecure.

  8. #8
    Just Joined!
    Join Date
    Oct 2005
    Location
    Canada Eh?
    Posts
    2
    Go to System - Administration - Login Screen Setup, click the Security tab, and select "Enable root to login with GDM" if you really want root to be able to login to GUI (which you should never need to do with ubuntu set up to use gksudo for root tasks, so i'd recommend against it)

  9. #9
    Just Joined!
    Join Date
    Aug 2005
    Location
    India
    Posts
    60
    finally got it as Corvillus has told.....
    will there be any problem if we l;og in as root in GUI???

  10. #10
    Linux Guru budman7's Avatar
    Join Date
    Oct 2004
    Location
    Knee deep in Grand Rapids, Michigan
    Posts
    3,242
    will there be any problem if we l;og in as root in GUI???
    Yes, you will be much more likely to break your system by doing this.
    That is why this is not enabled by default.

    If you spend time working with "sudo" in a terminal, you will get used to it. And it is much safer than logging in as root in X.

    The root account should only be used for Administrative purposes.
    How to know if you are a geek.
    when you respond to "get a life!" with "what's the URL?"
    - Birger

    New users read The FAQ

Page 1 of 2 1 2 LastLast

Posting Permissions

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