diff --git a/plinth/modules/first_boot/forms.py b/plinth/modules/first_boot/forms.py index a85265dc3..bb26a401a 100644 --- a/plinth/modules/first_boot/forms.py +++ b/plinth/modules/first_boot/forms.py @@ -48,8 +48,11 @@ than 63 characters in length.'), 'password': forms.PasswordInput, } help_texts = { - 'username': _('Choose a username and password to access this web\ - interface. The password can be changed and other users can be added later.'), + 'username': + _('Choose a username and password to access this web interface. ' + 'The password can be changed and other users can be added ' + 'later. A POSIX system user with administrative privileges ' + '(sudo) is also created.'), } def save(self, commit=True): diff --git a/plinth/modules/users/templates/users_change_password.html b/plinth/modules/users/templates/users_change_password.html index 15a148c04..17737170e 100644 --- a/plinth/modules/users/templates/users_change_password.html +++ b/plinth/modules/users/templates/users_change_password.html @@ -31,6 +31,12 @@ {{ form|bootstrap }} + {% if is_posix_user %} +
This user is also a POSIX system user and password for POSIX system + user will also be updated. +
+ {% endif %} + diff --git a/plinth/modules/users/templates/users_delete.html b/plinth/modules/users/templates/users_delete.html index fa2b2ffc2..8f4d95899 100644 --- a/plinth/modules/users/templates/users_delete.html +++ b/plinth/modules/users/templates/users_delete.html @@ -24,6 +24,12 @@This user is also a POSIX system user. POSIX system user will also be + deleted. +
+ {% endif %} +Delete user permanently?