CentOS 6.4 and SSH
Hello.
First, thank you for your time. I appreciate any help you may provide. My question is in regard to SSH and multiple users. I currently run CentOS 6.4 with openSSH. I have two users, "root" and "owner." I use the "owner" account to access the server via SSH. OpenSSH is set to the default configuration. I run a minecraft server from the "owner" home directory and I have a simple start and stop script which starts and stops the Minecraft server. I would like to allow a second user to login to the server via SSH and access these scripts that are stored within the "owner" home directory. Is it possible to add a user, let's say "user1", and allow them access to only the "owner" directory, or other specified directory within the "owner" home directory? Thank you! Blyssed |
nothing to do with ssh at all really, you'd probably be best of using sudo to allow user1 to run specific commands as someone else. There are loads of good examples out there on writing a proper sudoers entry to allow this, e.g. http://quaid.fedorapeople.org/sudo-t...#at-last-setup
|
Yes.
Between user/group permissions, setting home directory, and maybe a chroot jail if you want to get fancy. |
All times are GMT -5. The time now is 04:33 PM. |