homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
Forum Library, Charter, Moderators: bakedjake

Linux, Unix, and *nix like Operating Systems Forum

SSH - Setting Permissions for exact files
permission help

Msg#: 4363617 posted 1:48 am on Sep 17, 2011 (gmt 0)

Im an admin on a minecraft server, and the owner is considering giving out restart and log access to some high ranking admins- both of which he currently does via SSH. Giving us access to the whole thing is out of the question- one mistake and the servers dead. but, we need a way to access only to the startup scripts (runFactionsserver.sh for example), the logs (server.log for e.g.) and the server console screen (screen -x factions is the command)
my understanding of SSH/linux is limited- can anyone help us?



WebmasterWorld Senior Member lammert us a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

Msg#: 4363617 posted 9:11 am on Sep 17, 2011 (gmt 0)

Hi Mick666, first of all Welcome to WebmasterWorld!

SSH gives shell access to the server from where you can basically access all commands. The first thing the server owner therefore has to do is to create a user account for the admins which doesn't have much priviledges. An account where the base directory is changed to a chrooted directory would be ideal.

From this low-power account, the owner can give access to specific commands by adding lines to the /etc/sudoers file.

Setting this up without creating loopholes requires system level knowledge of Linux.


Msg#: 4363617 posted 8:22 am on Sep 18, 2011 (gmt 0)

owner says he just gotta fiddle with it now.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved