Conversation
eb3fed6 to
dfb2353
Compare
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #1165 +/- ##
==========================================
- Coverage 87.64% 86.08% -1.56%
==========================================
Files 90 97 +7
Lines 6222 6682 +460
Branches 111 111
==========================================
+ Hits 5453 5752 +299
- Misses 713 874 +161
Partials 56 56 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
dfb2353 to
ee39e97
Compare
internal/users/manager.go
Outdated
There was a problem hiding this comment.
Shouldn't we also check if the shell is allowed in /etc/shells?
There was a problem hiding this comment.
I would prefer to follow systemd-homed in this regard:
systemd-homed does a few other checks though, which I'll also implement:
There was a problem hiding this comment.
systemd-homed does a few other checks though, which I'll also implement:
done
ee39e97 to
5911ade
Compare
4380115 to
e564efe
Compare
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #1165 +/- ##
==========================================
+ Coverage 85.00% 85.49% +0.49%
==========================================
Files 119 101 -18
Lines 7669 6770 -899
Branches 111 111
==========================================
- Hits 6519 5788 -731
+ Misses 1094 926 -168
Partials 56 56 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
The function that's tested is CheckRequestIsFromRoot.
Also renames peerCredsInfo to peerAuthInfo because the field in peer.Peer is named AuthInfo. Also improves the comment of WithUnixPeerCreds.
455feb4 to
a3059c2
Compare
Important
This is based on #1087, please review and merge that first.
Allow users to change their shell.
Closes #939
UDENG-7089