-
Notifications
You must be signed in to change notification settings - Fork 467
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Root access is not required for installation and operations #7697
Comments
Agreed, and the fact that the database super-user is also named |
How about the following updates:
|
@jseldess following summary provided
|
Thank you, @drewdeally! |
I've had this request a few times now from customers, please prioritize this update. Note that this is not running the docker daemon as non-root, but using a non-root user to run cockroach itself. It should be as simple as passing in the |
cc @aaron-crl - Ryan when you are ready to pick this up please reach out to Aaron and me. We can discuss the necessary changes. |
Andrew Deally (drewdeally) commented: |
linville (mdlinville) commented: Then step 2 here also requires you to set the plist to {{root:wheel}} ownership: https://www.cockroachlabs.com/docs/stable/recommended-production-settings#increase-the-file-descriptors-limit Here are all the results for “root user” in the current docs as they stand: https://www.cockroachlabs.com/docs/search?query=root+user Docs probably needs an eng partner on this to figure out all the places to update if we want to remove any mention of running as the root user. The priority of this issue is pretty low. I will close this for now and we can reopen when it is more actionable. |
Jesse Seldess commented:
From @dbist, a customer asked if cockroach can be installed, initialized, upgraded, downgraded, scaled, decommissioned, stopped, etc., without OS
root
access. According to @bdarnell, there are no cockroach basic operations that requireroot
, though there are some cases where additional systems likesystemd
do for installation (called out in the docs here).We should find a way to be explicit that root access isn't a requirement, and we may want to consider updating our deployment docs to use a non-
root
users (e.g.,cockroach_user
).Jira Issue: DOC-582
The text was updated successfully, but these errors were encountered: