Skip to content

Conversation

prairienerd-18
Copy link

When a new user is created in cinnamon, there is no password set. Cinnamon-settings-user does not allow changing the password if the current password is not entered into the current_password field. This commit changes that, so the user module does two things differently.

  1. It allows the current_password field to be left blank if no password is currently set.
  2. It changes what data is passed to the 'passwd' command, as the 'passwd' command does not ask for a current password when there is none.

When a new user is created in cinnamon, there is no password set.
Cinnamon-settings-user does not allow changing the password if the
current password is not entered into the current_password field. This
commit changes that, so the user module does two things differently.

1. It allows the current_password field to be left blank if no password
     is currently set.
2. It changes what data is passed to the 'passwd' command, as the
     'passwd' command does not ask for a current password when there is
     none.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant