0
0
Fork 0
mirror of https://github.com/atmoz/sftp.git synced 2024-11-17 12:51:33 -05:00
Commit graph

21 commits

Author SHA1 Message Date
Adrian Dvergsdal
b5cc641442
Test dir with spaces 2018-11-16 16:04:28 +01:00
Adrian Dvergsdal
b571394a43
Tests in shunit2 and extracted user creation 2018-11-16 00:57:33 +01:00
Adrian Dvergsdal
d5d670f682
Use lower-case usernames in test.
See #109 for more info.
2018-01-17 22:52:57 +01:00
Adrian Dvergsdal
a2863269a0
Remove unused stdin args and parse args from env 2018-01-04 20:16:17 +01:00
Adrian Dvergsdal
f315792bd7 Allow comments in users.conf 2017-10-08 19:08:53 +02:00
Adrian Dvergsdal
da53454b4b Validation of args and allow command override
Using regex to validate arguments. Remove readme and usage output from
image (expecting people to read documentation online). Some cleanups.
2017-10-08 18:36:51 +02:00
Adrian Dvergsdal
2891aab052 Test usernames with dots 2017-06-25 15:16:41 +02:00
Adrian Dvergsdal
c4fd217a7e Backward compatibility with legacy config path 2017-06-25 14:05:22 +02:00
Adrian Dvergsdal
11ac015ed4 Tests need sudo on some systems (like mine) and wait on server 2017-06-05 13:30:16 +02:00
Adrian Dvergsdal
bfe3c13470 --no-cache build option by default 2016-09-26 20:13:53 +02:00
Adrian Dvergsdal
e6aa103675 Typo and text update 2016-08-18 12:45:59 +02:00
Adrian Dvergsdal
d961e18d73 Fix dir for loop 2016-08-12 20:45:21 +02:00
Adrian Dvergsdal
429d8559d2 Create directories and/or set permissions 2016-08-12 16:21:07 +02:00
Adrian Dvergsdal
3042075111 Improved security 2016-07-31 15:36:36 +02:00
Adrian Dvergsdal
2d7f37cd20 Document and test bind-mounting with /etc/sftp.d/ 2016-03-17 21:27:41 +01:00
Adrian Dvergsdal
27939df2ff Minor refactoring of checks 2015-12-21 01:37:42 +01:00
Adrian Dvergsdal
c5d2a490ef Test minimal setup as well 2015-12-20 23:45:28 +01:00
Adrian Dvergsdal
6213664492 Check if STDIN is coming from a pipe or a file
See: http://www.linuxjournal.com/content/working-stdin-and-stdout
2015-12-16 11:54:57 +01:00
Adrian Dvergsdal
8d310f3af0 Add users from STDIN or config file 2015-12-07 10:10:24 +01:00
Adrian Dvergsdal
be889cbea5 Make sure private key is only readable by user 2015-11-23 14:02:41 +01:00
Adrian Dvergsdal
bc2cbdef4f Add basic unit testing 2015-11-23 13:39:17 +01:00