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?
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.