create_linux_account: username handling is broken

Issue #30 resolved
Vladimir Mihailenco
created an issue

create_linux_account(path, username='another_user') is broken since it is working on current user (taken from env.hosts) home dir, but it should work on username working dir. Actually it is crtical issue, because it changes owner of .ssh dir and SSH server disables access for the current user. I have fixed this in my fork:

Comments (3)

  1. Mikhail Korobov repo owner
    • changed status to open

    Thanks for this! Looks reasonable. I'm not marking this as fixed because there are no tests for this bug and I haven't executed the test suite after merging.

  2. Log in to comment