Koozali.org: home of the SME Server

Viewing Passwrd Strenght????

Offline GZgidnick

  • 3
  • +0/-0
Viewing Passwrd Strenght????
« 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?

Offline Jean-Philippe Pialasse

  • *
  • 2,746
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Viewing Passwrd Strenght????
« Reply #1 on: March 26, 2018, 07:52:11 AM »
Code: [Select]
config show passwordstrength

config getprop passwordstrength Ibays

config print passwordstrength
pick one !

Offline GZgidnick

  • 3
  • +0/-0
Re: Viewing Passwrd Strenght????
« Reply #2 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.


Offline Jean-Philippe Pialasse

  • *
  • 2,746
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Viewing Passwrd Strenght????
« Reply #3 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.

Offline GZgidnick

  • 3
  • +0/-0
Re: Viewing Passwrd Strenght????
« Reply #4 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!  :(

Offline Jean-Philippe Pialasse

  • *
  • 2,746
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Viewing Passwrd Strenght????
« Reply #5 on: March 27, 2018, 07:48:02 AM »
what returns
Code: [Select]
cat /etc/e-smith-release