Commit graph

23 commits

Author SHA1 Message Date
Stéphane Lesimple
0b0200951e enh: sudoers: support per-OS templates, add one for FreeBSD 2020-11-17 11:31:34 +01:00
Stéphane Lesimple
7085b2d091 fix: osh.pl: fix pamtester use under FreeBSD
Under FreeBSD, users can't read /etc/spwd.db, and there is no helper
for pam_unix.so to validate user passwords, as this is the case under
Linux, so we have to launch pamtester under root so that pam_unix.so
can do its job
2020-11-17 11:29:39 +01:00
Stéphane Lesimple
60cea897f8 enh: osh.pl: replace harcoded selfMFASetupPassword logic by configuration 2020-11-17 11:28:05 +01:00
Stéphane Lesimple
ee81bd4070 enh: packages-check.sh: better handling of FreeBSD packagees 2020-11-17 11:27:46 +01:00
Stéphane Lesimple
7ee203aa71 enh: install-ttyrec.h: error msg for non-supported OSes 2020-11-17 11:19:50 +01:00
Stéphane Lesimple
9f1a8b925e enh: install: better handling of non-Linux standard paths 2020-11-17 11:17:17 +01:00
Stéphane Lesimple
234dd0768a feat: freebsd: add specific FreeBSD ssh config templates 2020-11-17 11:15:10 +01:00
Stéphane Lesimple
09bd6dffd9 fix: freebsd: add md5sum_compat()
to account for systems where md5sum's binary name is gmd5sum
2020-11-17 11:14:34 +01:00
Stéphane Lesimple
4105c10193 fix: freebsd: replace 'root' by '0' so that it works even if uid0's name is not root 2020-11-17 11:12:53 +01:00
Stéphane Lesimple
811b2f9c15
Merge branch 'master' into master 2020-11-13 18:52:30 +01:00
Stéphane Lesimple
418dc3a332 feat: add more archs to dockerhub sandbox 2020-11-13 18:38:53 +01:00
snk33
7685114cfd
allow adminSudo plugin to read from stdin
add expects_stdin to the execute call so an admin will be able to replay session from another account
2020-11-13 18:35:40 +01:00
Stéphane Lesimple
cfef70daef
chore: install-ttyrec.sh: adapt for multiarch 2020-11-09 16:47:57 +00:00
Stéphane Lesimple
5c72c92bdd
chore: fix typos everywhere 2020-11-05 17:36:17 +00:00
Stéphane Lesimple
619000fa84
enh: install-ttyrec.sh replaces build-and-install-ttyrec.sh
No longer build ttyrec inplace, either download and install the
Debian/RPM package, or install the prebuild static binaries.

Modify the Dockerfiles accordingly.
2020-11-05 09:56:05 +00:00
Stéphane Lesimple
202790367d enh: packages-check.sh: add qrencode-libs for rhel/centos
This enables direct printing of the qrcode on the terminal for TOTP enrollment
2020-11-01 19:45:42 +01:00
Thomas Soëte
9a23c1ce6a
Add missing dev package
Install shellcheck too

Signed-off-by: Thomas SOËTE <github@alkorin.fr>
2020-10-26 19:05:01 +01:00
Stéphane Lesimple
d3a7818046
Merge pull request #10 from ovh/issue-8
fix: accountModify is master-only
2020-10-22 12:26:53 +02:00
Stéphane Lesimple
4b8b1457e9
fix: accountModify is master-only 2020-10-22 10:24:14 +00:00
Romain Beuque
cb1e54b42a
clush: change description for --no-pause-on-failure to represent the actual behavior
Signed-off-by: Romain Beuque <romain.beuque@ovhcloud.com>
2020-10-22 12:21:29 +02:00
Stéphane Lesimple
e453377245
chore: add some documentation and fix a few comments 2020-10-22 08:12:49 +00:00
Thomas Soëte
e766a54a35 Enhance osh-sync-watcher logs
With server name and step number
2020-10-20 16:49:27 +00:00
Stéphane Lesimple
fde20136ef
Initial commit 2020-10-20 14:30:27 +00:00