Comments (4)
I'm working on a solution for this, since I'm looking to adopt this for our clusters at my workplace.
The deprecated service
command on systems with systemd
shouldn't be relied on to exist, as you note. Hopefully, I'll be able to support both systemd
and upstart
once I finish testing.
from aws-ec2-ssh.
There are actually two things that need to be considered here for CentOS/RHEL support. One is the use of systemd
. The other is SELinux being turned on with default policies.
It looks like there may be a way around that without needing the end user to disable SELinux or put SELinux into permissive mode. SELinux provides booleans that can tune the base policy from CentOS or Red Hat, and turning on the NIS boolean would allow for auth programs (like PAM or sshd) to make outbound calls to get user information.
I'm currently testing a patch in the installer script to allow this. Once that is done, it may be worth looking into making that change in the RPM itself.
from aws-ec2-ssh.
I prepare a test case to ensure that CentOS is always working...
from aws-ec2-ssh.
The systemd code that is in #99 and got updated in #107 should support CentOS, along with the SELinux portions of #99
We should be able to close out this issue. Perhaps now with the fix, we could add CentOS to the Showcase.
from aws-ec2-ssh.
Related Issues (20)
- Received FAILURE signal with UniqueId HOT 6
- Feature: AWS MFA HOT 3
- AuthorizedKeysCommand /opt/authorized_keys_command.sh [user] failed, status 1 HOT 3
- Install fails if sudoers_group has no members HOT 1
- Amazon Linux 2 delivers their own AuthorizedKeysCommand HOT 5
- Showcase.yaml not working HOT 1
- Changes required to work under CentOS 6 HOT 4
- RHEL > 7.4 support HOT 3
- Implementing feature in private subnet HOT 3
- User password gets expired after 60 days on RHEL box
- Using the install.sh method is missing an option for LOCAL_MARKER_GROUP
- Feature request: more flexible local group assignment
- Provision user's `authorized_keys` in `import_users.sh` HOT 2
- Imported users are deleted if API fails (e.g. rate limiting) HOT 4
- sshd_config is not configured properly when upgrading via RPM
- AuthorizedKeysCommand fails on Ubuntu 20.04 HOT 7
- Query: How will this work in case of a linux lightsail instance
- When using FIM monitoring on /etc there's a slew of updates always to groups and passwd and shadow
- Alternative to import_users.sh for EC2 Instance Connect? HOT 3
- 1487 Segmentation fault /bin/chown -R "${username}:${username}" "$(eval echo ~$username)" HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-ec2-ssh.