Koozali.org: home of the SME Server

Contribs.org Forums => General Discussion => Topic started by: GZgidnick on March 26, 2018, 06:11:57 AM

Title: Viewing Passwrd Strenght????
Post by: GZgidnick on March 26, 2018, 06:11:57 AM
Hi Gents,

Very new to SME so please bear my ignorance.

I was trying to change the password complexity, which I succeed.
I used:
Quote
config setprop passwordstrength Users normal
 config setprop passwordstrength Ibays normal

Now I'm trying for a clean way to check the password settings without viewing the full config but nothing works.
I can find the password settings running:
Quote
config show

Can anyone help please?
Title: Re: Viewing Passwrd Strenght????
Post by: Jean-Philippe Pialasse on March 26, 2018, 07:52:11 AM
Code: [Select]
config show passwordstrength

config getprop passwordstrength Ibays

config print passwordstrength
pick one !
Title: Re: Viewing Passwrd Strenght????
Post by: GZgidnick on March 27, 2018, 04:27:56 AM
Thank you!

Can I also have some help with braking the link between the admin password and root password.

When I try to break the link between the root and admin password in the past I used:
Quote
config set AdminIsNotRoot enabled

Now if I do this and than do
Quote
passwd
to change the root password in terminal, the root and admin password are different.
However though, if someone goes in the Web Interface and changes the admin password, the root password is made same as the admin password.

Title: Re: Viewing Passwrd Strenght????
Post by: Jean-Philippe Pialasse on March 27, 2018, 06:04:23 AM
Thank you!

Can I also have some help with braking the link between the admin password and root password.

When I try to break the link between the root and admin password in the past I used:
Now if I do this and than do  to change the root password in terminal, the root and admin password are different.
However though, if someone goes in the Web Interface and changes the admin password, the root password is made same as the admin password.

config set AdminIsNotRoot enabled
 is exactly to avoid to set the root password in when changing the admin password from the server-manager. tjis property is called in the userpanel to decide if it should be done or not.
Title: Re: Viewing Passwrd Strenght????
Post by: GZgidnick on March 27, 2018, 06:28:17 AM
config set AdminIsNotRoot enabled
 is exactly to avoid to set the root password in when changing the admin password from the server-manager. tjis property is called in the userpanel to decide if it should be done or not.

But does not work.
1. I set the variable to enabled
Quote
[root@micollab ~]# config show AdminIsNotRoot
AdminIsNotRoot=enabled

2. I use
Quote
passwd
to change to root password

3. I go in server-manager and login with admin account. I change the admin account password. My root password is changed as well!  :(
Title: Re: Viewing Passwrd Strenght????
Post by: Jean-Philippe Pialasse on March 27, 2018, 07:48:02 AM
what returns
Code: [Select]
cat /etc/e-smith-release