Add info about debug logging to the README

Signed-off-by: trivernis <trivernis@protonmail.com>
axtloss/rework-partitioning
trivernis 3 years ago
parent f57e73e0c6
commit 0913e35f7f
Signed by: Trivernis
GPG Key ID: DFFFCC2C7A02DB45

@ -62,10 +62,10 @@ jade networking getcryst.al --ipv6
### configure users ### configure users
```sh ```sh
# make a new user called nonRootHaver, without sudo and easytohack as the password # 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 # 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 ### set root password
@ -88,6 +88,18 @@ jade desktops gnome
jade setup-timeshift jade setup-timeshift
``` ```
### debug logging
debug messages:
```sh
jade -v
```
traces:
```sh
jade -vv
```
## How to build: ## How to build:
Tested on latest Cargo (1.60.0-nightly) Tested on latest Cargo (1.60.0-nightly)

@ -155,7 +155,7 @@ pub struct NewUserArgs {
pub username: String, pub username: String,
/// If the user should have root privileges /// If the user should have root privileges
#[clap(long, aliases=&["has-root"])] #[clap(long, aliases=&["has-root", "sudoer", "root"])]
pub hasroot: bool, pub hasroot: bool,
/// The password to set. NOTE: Takes hashed password, use `openssl passwd -1 <password>` to generate the hash. /// The password to set. NOTE: Takes hashed password, use `openssl passwd -1 <password>` to generate the hash.

Loading…
Cancel
Save