Welcome to WebmasterWorld Guest from 54.197.116.116

Forum Moderators: bakedjake

Message Too Old, No Replies

SSH - Setting Permissions for exact files

permission help

   
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?
9:11 am on Sep 17, 2011 (gmt 0)

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



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.
8:22 am on Sep 18, 2011 (gmt 0)



owner says he just gotta fiddle with it now.