Commit Graph
93 Commits
Author SHA1 Message Date
dietrich 93e958108b better tests for groups 2020-11-19 09:34:49 +01:00
dietrich 8b42c8c3b2 add group members 2020-11-19 09:14:00 +01:00
dietrich 65542c9b69 make Group a Rc<Inner> type 2020-11-17 07:53:49 +01:00
dietrich 98b1634924 adding new title 2020-11-16 14:35:06 +01:00
dietrich e5583bb378 add summary 2020-11-16 14:21:16 +01:00
dietrich 36f5e51811 updating dependencies 2020-11-16 14:13:25 +01:00
dietrich 0a1bb3bd7e fix clippy warning 2020-11-16 13:08:37 +01:00
dietrich 10d9e3e71e right parameters 2020-11-16 13:04:16 +01:00
dietrich 3583d89697 fix indentation 2020-11-16 12:57:23 +01:00
dietrich c056016d43 add clippy info 2020-11-16 12:52:12 +01:00
dietrich 5a678bc3d5 renaming the project adduser -> umanux 2020-11-16 10:37:18 +01:00
dietrich 05cbd2d139 better 2020-11-16 09:14:40 +00:00
dietrich 425de573d5 update readme 2020-11-16 10:12:51 +01:00
dietrich e13a81f814 use +nightly (#2)
* use +nightly
2020-11-16 08:46:34 +01:00
dietrich 95ce925286 Merge pull request #1 from umanux/enaut-add-rust-workflow
Add rust workflow
2020-11-16 08:11:18 +01:00
dietrich 60e6eb6fa4 Add rust workflow 2020-11-16 08:11:00 +01:00
dietrich 3dae3c4109 modify the shadow file and test the binary 2020-11-15 17:04:31 +01:00
dietrich ed77466bd6 add default shadow entry to default users 2020-11-15 17:02:35 +01:00
dietrich 32d02dcc81 add parameters for files to create_user 2020-11-15 17:01:47 +01:00
dietrich c21ba2fa39 return from main function 2020-11-11 08:20:09 +01:00
dietrich f7fc3229ed optimize release builds for size 2020-11-11 06:58:17 +01:00
dietrich 101dcbb649 first binary test not complete 2020-11-11 06:57:46 +01:00
dietrich de17ff12be first version of create_user 2020-11-10 13:45:21 +01:00
dietrich ed06c58913 remove debug and commented code 2020-11-09 20:25:42 +01:00
dietrich 8fcd32eca2 Fix missing lints - Docs need to be improved still 2020-11-09 13:58:13 +01:00
dietrich 467c8ee007 linting changes 2020-11-09 09:56:24 +01:00
dietrich 647881f022 Adding a first integrationtest for delete_user 2020-11-08 10:41:20 +01:00
dietrich 732893b5d4 first integration test try 2020-11-05 09:01:51 +01:00
dietrich 4062f7a6bb delete the home directory 2020-11-03 13:09:16 +01:00
dietrich f3a18641e0 make delete_user take a struct use derive_builder 2020-11-02 07:55:33 +01:00
dietrich 31fbfbe628 remove from groups 2020-10-31 16:40:26 +01:00
dietrich b72f292891 improve functionlength 2020-10-31 15:55:15 +01:00
dietrich d9fe8b8160 improve error handling 2020-10-31 11:15:29 +01:00
dietrich 6389bb988d actually remove the shadow line and fix a final newline 2020-10-30 19:45:41 +01:00
dietrich bacbfae4d1 delete the shadow entry along with the passwd one 2020-10-30 19:09:56 +01:00
dietrich 4207e1dc0f split Hashes into sepparate module 2020-10-30 16:37:57 +01:00
dietrich 8dd2c53aa9 sepparate Files struct 2020-10-30 16:26:31 +01:00
dietrich 8337c737d9 make userlib module a directory 2020-10-30 16:13:05 +01:00
dietrich 1af8a7cd65 Add better error handling 2020-10-30 08:39:59 +01:00
dietrich bf6908346e first draft of working user deletion
TODO:
  * remove user group
  * remove shadow entry
2020-10-28 09:39:42 +01:00
dietrich b8c1e3989a use env_logger 2020-10-26 14:33:05 +01:00
dietrich 927e7ba4a7 unify locking of a single file to locking of all files 2020-10-26 08:13:24 +01:00
dietrich b8c544a846 first draft of file locking 2020-10-25 11:08:56 +01:00
dietrich 338b4949e4 add must uses 2020-10-24 13:50:33 +02:00
dietrich 91f0453be6 do not use deprecated description 2020-10-24 13:50:20 +02:00
dietrich 56a6679ccb create draft binary for create_users 2020-10-23 19:50:06 +02:00
dietrich 67af4a39cd add getters to User 2020-10-23 19:49:47 +02:00
dietrich 83255390e3 make the structs clonable, add pos and source to the fields 2020-10-23 19:49:21 +02:00
dietrich d81bac5146 add get nth line function 2020-10-23 19:46:20 +02:00
dietrich 932fb2827d comment broken newuser 2020-10-23 19:45:51 +02:00