| 
						
					 | 
					
						
						
						
						
							
						
						
							5a678bc3d5
							
						
					 | 
					
						
						
							
							renaming the project adduser -> umanux
						
						
						
						
						
						
					 | 
					
						2020-11-16 10:37:18 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							05cbd2d139
							
						
					 | 
					
						
						
							
							better
						
						
						
						
						
						
					 | 
					
						2020-11-16 09:14:40 +00:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							425de573d5
							
						
					 | 
					
						
						
							
							update readme
						
						
						
						
						
						
					 | 
					
						2020-11-16 10:12:51 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
							
						
						
						
							
						
						
							e13a81f814
							
						
					 | 
					
						
						
							
							use +nightly (#2)
						
						
						
						
						
						
						
						* use +nightly 
						
						
					 | 
					
						2020-11-16 08:46:34 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
							
						
						
						
							
						
						
							95ce925286
							
						
					 | 
					
						
						
							
							Merge pull request #1 from umanux/enaut-add-rust-workflow
						
						
						
						
						
						
						
						Add rust workflow 
						
						
					 | 
					
						2020-11-16 08:11:18 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
							
						
						
						
							
						
						
							60e6eb6fa4
							
						
					 | 
					
						
						
							
							Add rust workflow
						
						
						
						
						
						
					 | 
					
						2020-11-16 08:11:00 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							3dae3c4109
							
						
					 | 
					
						
						
							
							modify the shadow file and test the binary
						
						
						
						
						
						
					 | 
					
						2020-11-15 17:04:31 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							ed77466bd6
							
						
					 | 
					
						
						
							
							add default shadow entry to default users
						
						
						
						
						
						
					 | 
					
						2020-11-15 17:02:35 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							32d02dcc81
							
						
					 | 
					
						
						
							
							add parameters  for files to create_user
						
						
						
						
						
						
					 | 
					
						2020-11-15 17:01:47 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							c21ba2fa39
							
						
					 | 
					
						
						
							
							return from main function
						
						
						
						
						
						
					 | 
					
						2020-11-11 08:20:09 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							f7fc3229ed
							
						
					 | 
					
						
						
							
							optimize release builds for size
						
						
						
						
						
						
					 | 
					
						2020-11-11 06:58:17 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							101dcbb649
							
						
					 | 
					
						
						
							
							first binary test not complete
						
						
						
						
						
						
					 | 
					
						2020-11-11 06:57:46 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							de17ff12be
							
						
					 | 
					
						
						
							
							first version of create_user
						
						
						
						
						
						
					 | 
					
						2020-11-10 13:45:21 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							ed06c58913
							
						
					 | 
					
						
						
							
							remove debug and commented code
						
						
						
						
						
						
					 | 
					
						2020-11-09 20:25:42 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							8fcd32eca2
							
						
					 | 
					
						
						
							
							Fix missing lints - Docs need to be improved still
						
						
						
						
						
						
					 | 
					
						2020-11-09 13:58:13 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							467c8ee007
							
						
					 | 
					
						
						
							
							linting changes
						
						
						
						
						
						
					 | 
					
						2020-11-09 09:56:24 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							647881f022
							
						
					 | 
					
						
						
							
							Adding a first integrationtest for delete_user
						
						
						
						
						
						
					 | 
					
						2020-11-08 10:41:20 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							732893b5d4
							
						
					 | 
					
						
						
							
							first integration test try
						
						
						
						
						
						
					 | 
					
						2020-11-05 09:01:51 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							4062f7a6bb
							
						
					 | 
					
						
						
							
							delete the home directory
						
						
						
						
						
						
					 | 
					
						2020-11-03 13:09:16 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							f3a18641e0
							
						
					 | 
					
						
						
							
							make delete_user take a struct use derive_builder
						
						
						
						
						
						
					 | 
					
						2020-11-02 07:55:33 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							31fbfbe628
							
						
					 | 
					
						
						
							
							remove from groups
						
						
						
						
						
						
					 | 
					
						2020-10-31 16:40:26 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							b72f292891
							
						
					 | 
					
						
						
							
							improve functionlength
						
						
						
						
						
						
					 | 
					
						2020-10-31 15:55:15 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							d9fe8b8160
							
						
					 | 
					
						
						
							
							improve error handling
						
						
						
						
						
						
					 | 
					
						2020-10-31 11:15:29 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							6389bb988d
							
						
					 | 
					
						
						
							
							actually remove the shadow line and fix a final newline
						
						
						
						
						
						
					 | 
					
						2020-10-30 19:45:41 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							bacbfae4d1
							
						
					 | 
					
						
						
							
							delete the shadow entry along with the passwd one
						
						
						
						
						
						
					 | 
					
						2020-10-30 19:09:56 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							4207e1dc0f
							
						
					 | 
					
						
						
							
							split Hashes into sepparate module
						
						
						
						
						
						
					 | 
					
						2020-10-30 16:37:57 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							8dd2c53aa9
							
						
					 | 
					
						
						
							
							sepparate Files struct
						
						
						
						
						
						
					 | 
					
						2020-10-30 16:26:31 +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 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							bf6908346e
							
						
					 | 
					
						
						
							
							first draft of working user deletion
						
						
						
						
						
						
						
						TODO:
  * remove user group
  * remove shadow entry 
						
						
					 | 
					
						2020-10-28 09:39:42 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							b8c1e3989a
							
						
					 | 
					
						
						
							
							use env_logger
						
						
						
						
						
						
					 | 
					
						2020-10-26 14:33:05 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							927e7ba4a7
							
						
					 | 
					
						
						
							
							unify locking of a single file to locking of all files
						
						
						
						
						
						
					 | 
					
						2020-10-26 08:13:24 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							b8c544a846
							
						
					 | 
					
						
						
							
							first draft of file locking
						
						
						
						
						
						
					 | 
					
						2020-10-25 11:08:56 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							338b4949e4
							
						
					 | 
					
						
						
							
							add must uses
						
						
						
						
						
						
					 | 
					
						2020-10-24 13:50:33 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							91f0453be6
							
						
					 | 
					
						
						
							
							do not use deprecated description
						
						
						
						
						
						
					 | 
					
						2020-10-24 13:50:20 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							56a6679ccb
							
						
					 | 
					
						
						
							
							create draft binary for create_users
						
						
						
						
						
						
					 | 
					
						2020-10-23 19:50:06 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							67af4a39cd
							
						
					 | 
					
						
						
							
							add getters to User
						
						
						
						
						
						
					 | 
					
						2020-10-23 19:49:47 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							83255390e3
							
						
					 | 
					
						
						
							
							make the structs clonable, add pos and source to the fields
						
						
						
						
						
						
					 | 
					
						2020-10-23 19:49:21 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							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 | 
					
					
						
						
							
							
							
						
					 |