Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
.Peter Posted February 26, 2011 Posted February 26, 2011 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.
Robulosity2 Posted February 26, 2011 Posted February 26, 2011 A reseller account should work for that, or provide them sudo access and set limits via sudeors as to what they can do
.Peter Posted February 26, 2011 Author Posted February 26, 2011 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.
Robulosity2 Posted February 26, 2011 Posted February 26, 2011 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
.Peter Posted February 26, 2011 Author Posted February 26, 2011 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.
.Peter Posted February 27, 2011 Author Posted February 27, 2011 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.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.