Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set random password at the end of the login and store in ~ukraina/. #14

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

petterreinholdtsen
Copy link
Contributor

The password is generated using pwgen 10, and stored in ~/README-change-password.txt.

Fixes #10.

The password is generated using pwgen 10, and stored in
~/README-change-password.txt.

Fixes malinkb#10.
@malinkb
Copy link
Owner

malinkb commented Oct 21, 2023

Does this change the user password, or does it make a unique root-password?

@petterreinholdtsen
Copy link
Contributor Author

petterreinholdtsen commented Oct 21, 2023 via email

@solbu
Copy link

solbu commented Oct 21, 2023

Does this change the user password, or does it make a unique root-password?

It only change the user password. There is no root password, it is not possible to log in as root with a password, root is only available via sudo.

This is also how Ubuntu deals with the root user; there is no password and one cannot login as root via the normal means of login.

@petterreinholdtsen
Copy link
Contributor Author

Note that this remove the security problem associated with a well known username and password giving access to the machine. It seem particularly important in this setting.

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.

Installation leave user with known password
3 participants