: Does cPanel overwrite passwd, shadow, and group files? I had the need to use SSH to update the /etc/passwd, /etc/shadow, and /etc/group files in order to add multiple SFTP and SSH users for
I had the need to use SSH to update the /etc/passwd, /etc/shadow, and /etc/group files in order to add multiple SFTP and SSH users for a single account, which is apparently not supported by cPanel. However, I'm concerned that cPanel might overwrite these when I make changes to other users in cPanel.
Does cPanel ever munge users that were edited outside of cPanel - that is, who are outside the knowledge of cPanel - by directly editing the passwd, shadow or group, or do cPanel user changes only affect the user that it is being changed?
More posts by @Dunderdale272
1 Comments
Sorted by latest first Latest Oldest Best
Yes, cPanel will modify those files. That's how it is able to create users and groups. However, I've added separate users, independent of cPanel, and cPanel never touched them. So, you should be fine. If you're concerned, just make a backup of those files, but I've never seen cPanel make any changes to a user which it doesn't know about.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.