Adrian Dvergsdal
|
4314252745
|
Merge branch 'master' of https://github.com/rfeijolo/sftp into rfeijolo-master
|
2018-01-05 13:11:32 +01:00 |
|
Adrian Dvergsdal
|
a2863269a0
|
Remove unused stdin args and parse args from env
|
2018-01-04 20:16:17 +01:00 |
|
Adrian Dvergsdal
|
9405974cc9
|
Tidy up variables in createUser()
|
2018-01-04 19:22:15 +01:00 |
|
Hollin Wilkins
|
6ba0edae23
|
Make sure to reset chpasswdOptions.
|
2017-12-27 00:33:10 -08:00 |
|
Rodrigo Aiala Feijolo Rodrigues
|
7fed52f018
|
Update entrypoint
|
2017-11-20 17:26:27 -03:00 |
|
Adrian Dvergsdal
|
59ad42f086
|
Less stricter username regex (but still POSIX)
For more info See this answer: https://serverfault.com/a/578264
Relevant issue: https://github.com/atmoz/sftp/issues/94
|
2017-10-22 23:25:52 +02:00 |
|
Adrian Dvergsdal
|
f3212b3377
|
Consistent syntax for subshell
|
2017-10-13 23:39:04 +02:00 |
|
Adrian Dvergsdal
|
0fba0da794
|
Use getent to check the existence of user/group
|
2017-10-13 23:31:17 +02:00 |
|
Adrian Dvergsdal
|
f315792bd7
|
Allow comments in users.conf
|
2017-10-08 19:08:53 +02:00 |
|
Adrian Dvergsdal
|
ce4a480b3e
|
Only change permission on newly created dirs
|
2017-10-08 18:44:15 +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
|
77c0fd7860
|
Merge branch 'fix_chown_on_alpine' of https://github.com/thoralf-gutierrez/sftp into thoralf-gutierrez-fix_chown_on_alpine
|
2017-06-25 15:46:56 +02:00 |
|
Adrian Dvergsdal
|
c4fd217a7e
|
Backward compatibility with legacy config path
|
2017-06-25 14:05:22 +02:00 |
|
Thoralf Gutierrez
|
ad8a56789d
|
Fix chown commands on alpine for user names with a dot
|
2017-05-22 17:54:16 +02:00 |
|
Jason Murray
|
efa7f88ff2
|
Move user file to /etc/sftp/ directory
This allows for mounting with ConfigMap or Secrets in Kubernetes
|
2017-03-08 11:25:40 +01:00 |
|
Magnus Tovslid
|
9c6eb31358
|
Add empty password to ssh keys
|
2016-11-15 15:32:03 +01:00 |
|
Adrian Dvergsdal
|
125d105403
|
Disable password login if password is zero
|
2016-09-27 23:41:58 +02:00 |
|
Adrian Dvergsdal
|
0549dfa4af
|
Precise grep pattern, skip function instead of exit
|
2016-09-11 01:05:01 +02:00 |
|
Adrian Dvergsdal
|
8bc91ed283
|
Group name must begin with letters
|
2016-09-03 01:02:47 +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 |
|
Christian Bundy
|
bda3f0d48e
|
Ignore blank lines in sftp-users.conf
|
2016-03-28 20:15:39 -07:00 |
|
Adrian Dvergsdal
|
9c63c2d806
|
Log to stderr (issue #24)
|
2016-03-28 18:27:16 +02:00 |
|
Adrian Dvergsdal
|
8ffc9c2b6f
|
Generate unique ssh keys for each container (issue #32)
|
2016-03-28 18:09:23 +02:00 |
|
Sergey Galuza
|
e521b243f4
|
fixed whitespace
|
2016-03-24 08:00:48 +03:00 |
|
Sergey Galuza
|
4c3c0608b4
|
run /etc/sftp.d script each time (even after restarts)
|
2016-03-24 00:32:26 +03:00 |
|
Adrian Dvergsdal
|
beae8655d9
|
Simpler subshell
|
2016-03-17 21:07:49 +01:00 |
|
Adrian Dvergsdal
|
0e8ee2bd40
|
Source custom scripts, for e.g. mount bind volumes
|
2015-12-21 01:46:11 +01:00 |
|
Adrian Dvergsdal
|
27939df2ff
|
Minor refactoring of checks
|
2015-12-21 01:37:42 +01:00 |
|
Adrian Dvergsdal
|
02b5d4d09e
|
Check if folder is missing
|
2015-12-21 00:55:32 +01:00 |
|
Adrian Dvergsdal
|
c388a4ec68
|
Do not create users on container restart
|
2015-12-16 19:41:49 +01:00 |
|
Adrian Dvergsdal
|
55d879419f
|
Bugfix: check return status, not return value
|
2015-12-16 15:33:12 +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
|
3c756a9b33
|
Simple help output
|
2015-07-25 14:00:24 +02:00 |
|
Adrian Dvergsdal
|
1e506399b9
|
Checking parameters and showing help
|
2015-07-25 13:55:33 +02:00 |
|
Adrian Dvergsdal
|
a65979595d
|
Concatenate ssh keys to authorized_keys and set correct permissions
|
2015-06-03 12:03:55 +02:00 |
|
Adrian Dvergsdal
|
bf86e22d11
|
Rename variables
|
2015-01-03 13:10:38 +01:00 |
|
Adrian Dvergsdal
|
0661a5923e
|
Make entrypoint runnable
|
2014-12-31 16:45:50 +01:00 |
|
Adrian Dvergsdal
|
9ce386d7ae
|
Improved readability
|
2014-12-31 16:42:09 +01:00 |
|
Adrian Dvergsdal
|
c5ec0cfc3f
|
Rename run to entrypoint
|
2014-12-31 16:35:46 +01:00 |
|