sol-eng / wbi

CLI for installing and configuring Posit Workbench
MIT License
5 stars 0 forks source link

Add user step to setup and add prompt user with lookup and validation #154

Closed tnederlof closed 1 year ago

tnederlof commented 1 year ago

Closes https://github.com/sol-eng/wbi/issues/126

This PR adds a step "user" to wbi setup command, which prompts for a non-root username and then validates the user is not root and has a home directory. Then in the "verify" step it uses the previously found username (or if invoked directly prompts then for a username) and includes it in the verify-installation command for a true verification.

Screenshot below from a fresh RHEL 9 install: image

tnederlof commented 1 year ago

@samcofer I moved it all to the verify section and removed the user step. I also implemented the skip logic when it asks for a user, good idea!