Koozali.org: home of the SME Server

Admin and root passwords are not in sync?

Mika Löf

Admin and root passwords are not in sync?
« on: November 05, 2003, 09:56:03 PM »
Were I confused by the fact that admin and root passwords are by default the same after installation, but not necessarily in sync thereafter? After changning roots password admin could not log in. This indcates they are not. Am I confused or is this a feature?

Mika

Nathan Fowler

Re: Admin and root passwords are not in sync?
« Reply #1 on: November 05, 2003, 11:51:12 PM »
admin and root passwords are separate.  They are two different and distinct accounts.

Michiel

Re: Admin and root passwords are not in sync?
« Reply #2 on: November 05, 2003, 11:53:58 PM »
> in sync thereafter? After changning roots password admin
> could not log in. This indcates they are not. Am I confused

If you changed the root password with "passwd root", than they would certainly be out of sync. You should only use the server-manager to change passwords. On a similar note, don't use useradd or groupadd.

Paul Nesbit

Re: Admin and root passwords are not in sync?
« Reply #3 on: November 05, 2003, 11:55:35 PM »
Mika Löf wrote:
>
> Were I confused by the fact that admin and root passwords are
> by default the same after installation, but not necessarily
> in sync thereafter? After changning roots password admin
> could not log in. This indcates they are not. Am I confused
> or is this a feature?

Use the server-manager's password panel to change the admin password, and you won't run into any problems with admin/root passwords getting out of sync.  (All cli utilities (e.g. passwd) should be avoided, unless you know precisely what you're doing. Particularly if there exists a server-manager panel to do what you want.)

  Paul

Mika Löf

Re: Admin and root passwords are not in sync?
« Reply #4 on: November 06, 2003, 12:20:47 AM »
Yes, exactly that's what I did. I used the cli which made them unsync. Is this feature documented?

Thanks for the information.

Mika

Paul Nesbit

Re: Admin and root passwords are not in sync?
« Reply #5 on: November 06, 2003, 12:40:45 AM »
Mika Löf wrote:
>
> Yes, exactly that's what I did. I used the cli which made
> them unsync. Is this feature documented?

Yes, the password change feature is documented in the user documentation at http://edocs.mitel.com/

  Paul