Sunil Mohan Adapa
b057a57dec
ssh: Add comment about regenerating SSH keys
...
Closes #1230 .
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-03-24 20:12:10 -04:00
Sunil Mohan Adapa
dea4af17fb
Rename Plinth to FreedomBox in license headers
...
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-02-16 20:10:09 -05:00
Sunil Mohan Adapa
07c062aef3
ssh: New application to manage SSH server
...
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2017-09-01 20:03:58 -04:00
Johannes Keyser
634afef1c9
actions: Make subparsers mandatory, fixes calls without arguments
...
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2017-04-10 11:54:23 +05:30
Sunil Mohan Adapa
580522125f
users: Fix checking username in retrieving SSH key
...
When using username containing malicious the following method should be
safe:
- pwd.getpwnam()
- shutil.chown()
- mkhomedir_helper()
2016-06-04 12:57:56 -04:00
Sunil Mohan Adapa
506bff5c7b
users: Multiple SSH keys and better home creation
...
- Allow setting multiple SSH keys one per line (which is already
allowed, but advertise it better).
- Use mkhomedir_helper to create the user's home directory. Avoid
security and accuracy complexities of creating a home directory.
- Allow homes that don't exist in /home.
2016-01-30 15:30:52 +05:30
James Valleroy
ad7d6db968
users: Add field to set user's SSH key.
2016-01-30 15:30:32 +05:30