HiveMinds / tw-install

Automatically installs Taskwarrior, Taskserver (TODO: and Timewarrior). This project aims to support automated installation of all Taskwarrior hook scripts, configuration flavours etc. with a single command.
GNU Affero General Public License v3.0
17 stars 7 forks source link

Ask wsl username and pw from user. #59

Closed a-t-0 closed 2 years ago

a-t-0 commented 3 years ago
      <p>Currently the installation code uses linux username <code>testlinuxname</code> and password <code>mypassword</code> hardcoded in its installation. Change this to:<br>

0.1 asking the user the linux username
0.2 verifying it. (go back to 0.1 if fails)
1.1 ask user linux password
0.2 verifying it. (go back to 1.1 if fails)

a-t-0 commented 3 years ago
      <p>With verifying it, check if the username does not consist only of characters <code>ca</code> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="663941670" data-permission-text="Title is private" data-url="https://github.com/HiveMinds-EU/Taskwarrior-installation-original/issues/107" data-hovercard-type="issue" data-hovercard-url="/HiveMinds-EU/Taskwarrior-installation-original/issues/107/hovercard" href="https://github.com/HiveMinds-EU/Taskwarrior-installation-original/issues/107">#107</a> , and verify it only exists of a-z,A-Z.<br>

For the password, verify it against Linux password requirements.

a-t-0 commented 3 years ago
      <p>See also # 75, the usernames are still hardcoded in <code>hardcoded object</code> (I think the java object, not the powershell object).</p>

See also #72