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

20 commits

Author SHA1 Message Date
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
Adrian Dvergsdal
c88a232a40 Add beforeTest and afterTest in bashunit 2015-11-23 13:37:46 +01:00
Adrian Dvergsdal
13a79b5e8f Add bashunit.bash
Source:
4a155c4e4f/bashunit.bash
2015-11-22 19:19:04 +01:00