You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the SaltStack SPEC file hardcodes the username salt for the service user. This can cause conflicts for users who already have an existing salt user account used for other purposes. It would be beneficial to make the username configurable during installation or provide a mechanism to override the default user.
Steps to Reproduce
Install SaltStack RPM on a system that already has a salt user created for a different application or purpose.
Observe that the RPM preinstall script fails or overwrites the existing salt user settings.
Suggested Solution
Modify the SPEC file to accept an environment variable or a build parameter that allows specifying a custom username.
Update the preinstall, postinstall, and preuninstall scriptlets to use this configurable username.
Provide documentation on how to use the new configuration options.
This enhancement would provide much-needed flexibility and prevent potential conflicts with existing system users.
Additional Context
Making the username configurable is a standard practice to avoid conflicts in environments where usernames might overlap across different applications. Implementing this change will make SaltStack more adaptable to various deployment environments.
The text was updated successfully, but these errors were encountered:
Hi there! Welcome to the Salt Community! Thank you for making your first contribution. We have a lengthy process for issues and PRs. Someone from the Core Team will follow up as soon as possible. In the meantime, here’s some information that may help as you continue your Salt journey.
Please be sure to review our Code of Conduct. Also, check out some of our community resources including:
There are lots of ways to get involved in our community. Every month, there are around a dozen opportunities to meet with other contributors and the Salt Core team and collaborate in real time. The best way to keep track is by subscribing to the Salt Community Events Calendar.
If you have additional questions, email us at [email protected]. We’re glad you’ve joined our community and look forward to doing awesome things with you!
upendar245
changed the title
Make username configurable in the SPEC file to avoid conflicts with existing salt user
Make username configurable in the rpm SPEC file to avoid conflicts with existing salt user
Oct 3, 2024
Description of Issue/Enhancement
Currently, the SaltStack SPEC file hardcodes the username
salt
for the service user. This can cause conflicts for users who already have an existingsalt
user account used for other purposes. It would be beneficial to make the username configurable during installation or provide a mechanism to override the default user.Steps to Reproduce
salt
user created for a different application or purpose.salt
user settings.Suggested Solution
This enhancement would provide much-needed flexibility and prevent potential conflicts with existing system users.
Additional Context
Making the username configurable is a standard practice to avoid conflicts in environments where usernames might overlap across different applications. Implementing this change will make SaltStack more adaptable to various deployment environments.
The text was updated successfully, but these errors were encountered: