Results 1 to 10 of 10

Thread: changing admin password

  1. #1

    Default changing admin password

    I did an upgrade install. So, I didn't get the prompt to make one. How to change the admin password? I think I know how I can change my username and password.

  2. #2

    Default Re: changing admin password

    I have suse 11.4

  3. #3
    Join Date
    Mar 2010
    Location
    Europe
    Posts
    657

    Default Re: changing admin password

    You mean root's password. That can be done in YaST 'User and Group Management'. Either with YaST's Qt/Gtk interface, or with the ncurses interface.

    The only thing is that you need to filter for "System Users".

  4. #4
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,140
    Blog Entries
    48

    Smile Re: changing admin password

    To change the admin or root password, you must open a terminal session, become root and the use the command passwd and then follow the prompts:

    Code:
    su -
    password:
    passwd
    Changing password for root.
    New Password: 
    Reenter New Password:
    Password changed.
    The commands shown in bold is what you enter. The rest are prompts for you to enter the old and new passwords. If you enter a new password, thought to be too simple, you will get an error message that says "Bad password: too simple", but if you proceed with the same new simple password, it will still be changed, even if it is considered too simple.

    Thank You,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

  5. #5
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    16,288

    Default Re: changing admin password

    Note that if you missed the check box to create different root (admin) password the root password defaults to the first user password you created in the install.

    Either method above will work to change it.

  6. #6
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: changing admin password

    On 2011-03-21 22:36, lord valarian wrote:
    >
    > I did an upgrade install. So, I didn't get the prompt to make one. How
    > to change the admin password? I think I know how I can change my
    > username and password.


    You have the same admin password as you had before. And you change root's
    password as any other user's: command "passwd".

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" at Telcontar)

  7. #7

    Default Re: changing admin password

    Quote Originally Posted by jdmcdaniel3 View Post
    To change the admin or root password, you must open a terminal session, become root and the use the command passwd and then follow the prompts:

    Code:
    su -
    password:
    passwd
    Changing password for root.
    New Password: 
    Reenter New Password:
    Password changed.
    The commands shown in bold is what you enter. The rest are prompts for you to enter the old and new passwords. If you enter a new password, thought to be too simple, you will get an error message that says "Bad password: too simple", but if you proceed with the same new simple password, it will still be changed, even if it is considered too simple.

    Thank You,
    It worked, easy. Thanks.


    Also, I'v tried finding it in yast, before and with the new info. Filter for system users gave a long list. What then? For later reference.

    "nobody" is in that list??

  8. #8
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,140
    Blog Entries
    48

    Smile Re: changing admin password

    It worked, easy. Thanks.
    In general, if there is a short way to do in Terminal, just save a copy of the command for future reference, until you know it by heart and don't worry about any other methods. Of course I do use GUI's all of the time, but only if it is better than in terminal, in my (or your) opinion.

    Thank You,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

  9. #9
    Join Date
    Mar 2010
    Location
    Europe
    Posts
    657

    Default Re: changing admin password

    Quote Originally Posted by lord_valarian View Post
    Also, I'v tried finding it in yast, before and with the new info. Filter for system users gave a long list. What then? For later reference.
    Pick user "root" and click "Edit".

    Just as you would with any normal user.

  10. #10

    Default Re: changing admin password

    Quote Originally Posted by Lord_Emsworth View Post
    Pick user "root" and click "Edit".

    Just as you would with any normal user.
    Thanks to all, everything is now updated.

Posting Permissions

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