diff --git a/README.md b/README.md index 7e4886f..b6aa861 100755 --- a/README.md +++ b/README.md @@ -62,10 +62,10 @@ jade networking getcryst.al --ipv6 ### configure users ```sh # make a new user called nonRootHaver, without sudo and easytohack as the password -jade users newUser nonRootaver false easytohack +jade users newUser nonRootaver easytohack # make a user called rootHaver, with sudo and omgsosuperhardtohack as the password -jade users newUser rootHaver true omgsosuperhardtohack +jade users newUser rootHaver omgsosuperhardtohack --sudoer ``` ### set root password @@ -88,6 +88,18 @@ jade desktops gnome jade setup-timeshift ``` +### debug logging + +debug messages: +```sh +jade -v +``` + +traces: +```sh +jade -vv +``` + ## How to build: Tested on latest Cargo (1.60.0-nightly) diff --git a/src/args.rs b/src/args.rs index ae8751c..17f8447 100644 --- a/src/args.rs +++ b/src/args.rs @@ -155,7 +155,7 @@ pub struct NewUserArgs { pub username: String, /// If the user should have root privileges - #[clap(long, aliases=&["has-root"])] + #[clap(long, aliases=&["has-root", "sudoer", "root"])] pub hasroot: bool, /// The password to set. NOTE: Takes hashed password, use `openssl passwd -1 ` to generate the hash.