|
d81bac5146
|
add get nth line function
|
2020-10-23 19:46:20 +02:00 |
|
|
932fb2827d
|
comment broken newuser
|
2020-10-23 19:45:51 +02:00 |
|
|
f33ba8e767
|
persistent ordering of the passwd file
|
2020-10-23 15:21:30 +02:00 |
|
|
98d4c72f7f
|
properly do read_all
|
2020-10-23 15:18:57 +02:00 |
|
|
134b97cfec
|
first try implementing userdbwrite
|
2020-10-23 12:33:34 +02:00 |
|
|
70fcd823da
|
adjust and implement more of the api
|
2020-10-22 12:40:30 +02:00 |
|
|
f2000c7650
|
remove erronous warning
|
2020-10-19 13:04:03 +02:00 |
|
|
d09f861ab0
|
add validation for usernames and groupnames
|
2020-10-19 12:14:00 +02:00 |
|
|
7ec3bc3f0c
|
first draft of username and groupname validation
|
2020-10-18 20:35:53 +02:00 |
|
|
403f948c67
|
implement UserDbRead
|
2020-10-18 15:22:17 +02:00 |
|
|
60bbe1ef1b
|
add some documentation
|
2020-10-18 08:50:19 +02:00 |
|
|
abdb704ba0
|
remove duplicated code
|
2020-10-18 08:38:23 +02:00 |
|
|
ffafa7e473
|
Make the conten of shadow part of the user struct
|
2020-10-17 20:38:28 +02:00 |
|
|
9482e85821
|
add rough api draft
|
2020-10-16 13:19:32 +02:00 |
|
|
01a76b16a1
|
explicit types
|
2020-10-16 08:29: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 |
|
|
180934b789
|
Make shadow an entry of the passwd struct
|
2020-10-03 21:07:47 +02:00 |
|
|
4af05c1134
|
initial parsing and testing for a shadow line
|
2020-10-03 15:18:45 +02:00 |
|
|
4db597c058
|
initial parsing of shadow file
|
2020-10-02 18:13:15 +02:00 |
|
|
c6af13f3af
|
Add is system user
|
2020-10-02 12:40:03 +02:00 |
|
|
9b4956c78a
|
Restructure the passwd file
|
2020-10-02 11:55:56 +02:00 |
|
|
24db3e2579
|
Add warning on unconventional usernames
|
2020-10-02 09:50:02 +02:00 |
|
|
d4d3c0f0cf
|
Merge pull request 'make the username part of the invalid message.' (#1) from local into master
Reviewed-on: http://git.teilgedanken.de/Rust/useradd/pulls/1
|
2020-10-02 07:46:59 +00:00 |
|
|
a95fa96d08
|
Adding a testcase for the ubuntu special user
|
2020-10-02 09:45:08 +02:00 |
|
|
b030045355
|
make the username part of the invalid message.
|
2020-10-02 09:45:08 +02:00 |
|
|
063fb41708
|
restructure
|
2020-10-01 09:38:13 +02:00 |
|
|
1ab0adbc06
|
user validation and tests
|
2020-09-30 20:58:24 +02:00 |
|
|
5000fba6e7
|
doc update for enum Gecos
|
2020-09-30 18:23:44 +02:00 |
|
|
676a5218e6
|
rename shell_dir -> shell_path
|
2020-09-30 18:02:02 +02:00 |
|
|
2094bb7549
|
fix switched values
|
2020-09-30 17:35:39 +02:00 |
|
|
ee04fa30af
|
Fix failing tests because ubuntu has no comment field
|
2020-09-30 11:09:43 +02:00 |
|
|
0761afa6a0
|
ignore non ascii characters in tests
|
2020-09-30 08:40:19 +02:00 |
|
|
b72449eb88
|
partially fix clippy warnings regarding umlauts
|
2020-09-29 20:10:01 +02:00 |
|
|
020a95920e
|
Make the other field variable length, it can now be many fields or be missing entirely
|
2020-09-29 14:19:40 +02:00 |
|
|
a25092c7a0
|
Add getters for the attributes
|
2020-09-29 12:26:49 +02:00 |
|
|
5d83f1264f
|
Add custom errors
|
2020-09-29 12:26:43 +02:00 |
|
|
3232f2b1da
|
add test case if gecos has no other field.
|
2020-09-23 10:57:04 +02:00 |
|
|
4e80b7128a
|
fix tests ubuntu
|
2020-09-23 10:52:36 +02:00 |
|
|
670f4d2a96
|
comments
|
2020-09-23 09:37:32 +02:00 |
|
|
8c1a0a52f6
|
make the parser use the TryFrom trait.
|
2020-09-22 20:09:53 +02:00 |
|
|
c9cba38f2f
|
remove pw_prefix
|
2020-09-22 13:08:15 +02:00 |
|
|
a68f0800cc
|
more tests
|
2020-09-22 12:51:28 +02:00 |
|
|
1bd6031e5a
|
Adding tests
|
2020-09-21 14:37:21 +02:00 |
|
|
cd19cb7115
|
Parsing the passwd file
|
2020-09-21 09:05:38 +02:00 |
|