16 Commits

Author SHA1 Message Date
d03ed65f60
updating group membership on user deletion
until now groups had members without useraccount after the account has been deleted.

fixes: #5
2020-11-27 17:27:39 +01:00
e9fbbd91ce
Enum to discriminate primary and reg. memberships 2020-11-24 19:20:48 +01:00
8b42c8c3b2
add group members 2020-11-19 09:14:00 +01:00
65542c9b69
make Group a Rc<Inner> type 2020-11-17 07:53:49 +01:00
5a678bc3d5 renaming the project adduser -> umanux 2020-11-16 10:37:18 +01:00
467c8ee007 linting changes 2020-11-09 09:56:24 +01:00
31fbfbe628 remove from groups 2020-10-31 16:40:26 +01:00
8337c737d9 make userlib module a directory 2020-10-30 16:13:05 +01:00
1af8a7cd65 Add better error handling 2020-10-30 08:39:59 +01:00
83255390e3 make the structs clonable, add pos and source to the fields 2020-10-23 19:49:21 +02:00
f33ba8e767 persistent ordering of the passwd file 2020-10-23 15:21:30 +02:00
70fcd823da adjust and implement more of the api 2020-10-22 12:40:30 +02:00
d09f861ab0 add validation for usernames and groupnames 2020-10-19 12:14:00 +02:00
403f948c67 implement UserDbRead 2020-10-18 15:22:17 +02:00
f14d4b34ee fix some warnings 2020-10-09 12:11:23 +02:00
b6eb9972d2 restructuring
Fix (remove) lifetimes and restructure the code

Co-authored-by: Dietrich <dietrich@teilgedanken.de>
Reviewed-on: http://git.teilgedanken.de/Rust/useradd/pulls/2
2020-10-07 15:11:10 +00:00