Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted February 26, 201113 yr I'm running a dedicated linux box with cPanel. I need an account that isn't as powerful as root that can still access other accounts hosted in cPanel, for example all of my resellers have shell access yet they can still only modify their own accounts and not accounts belonging to them. Can anyone think of a way to get me another shell account that has full access to the home directory? Keep in mind I do not want to use root for this as I will be giving this out to my admin team. Oh yeah and useradd doesn't work on my server.
February 26, 201113 yr A reseller account should work for that, or provide them sudo access and set limits via sudeors as to what they can do
February 26, 201113 yr Author A reseller account should work for that, or provide them sudo access and set limits via sudeors as to what they can do It's weird though if I shell into a reseller account for whatever reason they can still only access their own account. How would I provide sudo access and/or create additional sudo accounts.
February 26, 201113 yr It varies a little based on each distribution of Linux ( I tend to cheat and just build out user groups with elevated permissions via Webmin on my cpanel boxes =D) really depends on what the end goal is but http://www.gratisoft.us/sudo/sudoers.man.html
February 26, 201113 yr Author It varies a little based on each distribution of Linux ( I tend to cheat and just build out user groups with elevated permissions via Webmin on my cpanel boxes =D) really depends on what the end goal is but [url="http://www.gratisoft.us/sudo/sudoers.man.html"]http://www.gratisoft...udoers.man.html[/url] Awesome thanks! I'll take a look at that... basically the idea is for my admin team to be able to shell into other accounts and do upgrades.
February 27, 201113 yr Author So I was able to get a usergroup added, with some users... only problem is I can't get them access to anything, I need this group to have root access to the home directory so they can modify any folder in those directories (any hosted account). I added them in to my visudo with the following entry: supportroot ALL=/home/ and that doesn't seem to give them anything. yeah if I cd into home and run a dir command I'm getting access denied errors.
Archived
This topic is now archived and is closed to further replies.