@@ -103,7 +103,7 @@ RUST_LOG=warn cargo cli -- delete teststaff123
103103# Add user in LDAP only
104104cargo cli --ldap true --slurm false --dirs false add teststaff123 --group staff --firstname Martina --lastname Musterfrau
105105
106- # Specify key pair for ssh connection
106+ # Specify key pair for SSH connection
107107# Example of listing all users while using key pair at "~/.ssh/some_user.pub" and "~/.ssh/some_user"
108108cargo cli list --ssh-path " ~/.ssh/some_user"
109109
@@ -148,7 +148,7 @@ dpkg -i ../target/debian/*.deb
148148
149149## GUI
150150
151- We also provide a GUI version of this tool .
151+ We also provide an experimental GUI version.
152152More information can be found under the [ GUI README] ( ./usermgmt_gui/README.md ) .
153153
154154You can start the GUI version via the following command:
@@ -352,10 +352,9 @@ run_slurm_remote = true
352352ssh_port = 22
353353# If true, the application will try to authenticate via SSH agent before the simple password authentication
354354ssh_agent = false
355- # Path to ssh key pair to be used if no ssh agent is used.
355+ # Path to SSH key pair to be used if no SSH agent is used.
356356# Path points to base name of the private and public key.
357- # Example: With path "~/.shh/some_key_pair", there should be private key named "~/.shh/some_key_pair"
358- # and public key "~/.shh/some_key_pair.pub"
357+ # Example: For private key ~/.ssh/some_key_pair, there should be a corresponding public key "~/.ssh/some_key_pair.pub"
359358ssh_key_path = " ~/.ssh/some_key_pair"
360359```
361360
@@ -382,7 +381,7 @@ usermgmt delete teststaff123
382381### Adding Users
383382
384383The uid integer value will be automatically determined based on the ` --group ` parameter provided.
385- Currently you can choose between the two groups * staff* and * student* .
384+ Currently, you can choose between the two groups * staff* and * student* .
386385
387386The uid for a new user will be determined based on the following rules:
388387- Uids for * staff* start with 1000
@@ -416,19 +415,19 @@ This project currently consists of 3 crates:
416415
417416To preserve the backwards compatibility with earlier versions, this features must be opted in.
418417
419- Setup the use of creation dates in LDAP via:
418+ Set up the use of creation dates in LDAP via:
420419
4214201 . Set the field value ` ldap_add_created_at ` to ` true ` in ` conf.toml ` .
4224212 . Add the value ` createdAtRole ` to ` objectclass_common ` in ` conf.toml ` .
423422
424423### Use SSH agent for authentication
425424
426- To save yourself entering passwords for SSH authentication again and again,
425+ To save yourself from entering passwords for SSH authentication over and over again,
427426you can let the application use a running SSH agent.
428427
429428Activate this feature via setting the field ` ssh_agent ` to ` true ` in ` conf.toml ` .
430429
431- Start your SSH agent in the terminal via the command (often started automatically):
430+ Start your SSH agent in the terminal via the command (often started automatically during system boot ):
432431
433432``` sh
434433ssh-agent
@@ -447,7 +446,7 @@ and does not ask for a password.
447446If more than one key is registered within the agent,
448447you will be prompted to select the key you want to use.
449448
450- ** Additional steps on macOS:**
449+ ** Additional optional steps on macOS:**
451450
452451Ensure macOS remembers the key (optional, via Keychain):
453452
@@ -466,7 +465,6 @@ Host *
466465This integrates with the macOS keychain and ensures the key is added automatically.
467466
468467
469-
470468### Show more logs
471469
472470The log-level can be changed using the ` RUST_LOG ` environment variable.
@@ -480,24 +478,16 @@ You'll receive the most verbose output when you set it to *debug*.
480478RUST_LOG=debug usermgmt delete teststaff123
481479```
482480
483- The application also tries to write logs to logging file.
484- The application writes to a logs file within the data folder of the application according to the convention of the used OS.
485- If this is not possible, it tries to log within the same folder of the executable of this application .
486- If that fails too , the application only writes to the terminal via stderr.
487- See the [ docs] ( https://docs.rs/dirs/latest/dirs/fn.data_dir.html ) of this rust crate for details about this convention .
481+ The application also tries to write logs to a log file.
482+ Logs are written in the data folder of the application according to the convention of the used OS.
483+ If this is not possible, it tries to log to the location of the executable.
484+ If this also fails , the application only writes to the terminal via stderr.
485+ See the [ docs of this crate ] ( https://docs.rs/dirs/latest/dirs/fn.data_dir.html ) for details.
488486
489487### Show stack trace in case of error
490488
491- Many of the errors, reported by the application, can also shown with their stack trace.
492- The stack trace is quite useful for locating the place in the code where the error was caused.
493- This is especially handy for debugging.
494- By default the stack trace in Rust is disabled though.
495- You need to set the environmental variable named "RUST_BACKTRACE" to 1.
496- This can be accomplished via this command in the terminal.
497-
498- ``` bash
499- export RUST_BACKTRACE=1
500- ```
489+ Errors reported by the application, can be displayed including their stack trace.
490+ Since the stack trace is disabled by default, you need to set the environment variable ` RUST_BACKTRACE=1 ` .
501491
502492## Pitfalls
503493
0 commit comments