Advanced technical queries
Posted: 06 Nov 2023, 01:43
Hello!
I hope you're all doing well. To get to my question, i do need to inform you about how these questions have come about.
Currently, I have a home lab consisting of routers, switches and servers. The main purpose is to learn and develop my technical skills. On my server I hae Active Directory installed and the TNAS is linked to Active Directory so AD DS Users can use the file shares with the appropriate user group permissions. Now to get into the details...
I'm using my my TNAS for Plex, data storage and data backups, recently I found a nieche problem which required a system reboot (SMB service potentially crashed, network shares weren't working). The issue is resolved and that's great, however there's a few questions I have.
So with all that in mind, I wanted to have a secure way to reboot the system to remote users without compromising all network shares, applications and allowing anyone to login as the admin account to change settings, this would of course be bad. However when I'm not available I'd like remote users to have the ability to reboot the system in a controlled fashion.
To accomplish this the easy way, I was thinking that there was potential to grant specific user groups the ability to reboot the TNAS, however I wasn't able to find a way to do this. This leads me to the first question.
[*] Is it possible to allow non-admins to reboot the server?
Another way of accomplishing this is to develop a webpage (secured of course) with a reboot button - the web server would action this by connecting to the TNAS via SSH and rebooting as the admin account, which brings me to my next question.
[*] Is it possible to reboot via SSH?
Any help on this would be greatly appreciated and apologies if this is in the wrong category.
I hope you're all doing well. To get to my question, i do need to inform you about how these questions have come about.
Currently, I have a home lab consisting of routers, switches and servers. The main purpose is to learn and develop my technical skills. On my server I hae Active Directory installed and the TNAS is linked to Active Directory so AD DS Users can use the file shares with the appropriate user group permissions. Now to get into the details...
I'm using my my TNAS for Plex, data storage and data backups, recently I found a nieche problem which required a system reboot (SMB service potentially crashed, network shares weren't working). The issue is resolved and that's great, however there's a few questions I have.
So with all that in mind, I wanted to have a secure way to reboot the system to remote users without compromising all network shares, applications and allowing anyone to login as the admin account to change settings, this would of course be bad. However when I'm not available I'd like remote users to have the ability to reboot the system in a controlled fashion.
To accomplish this the easy way, I was thinking that there was potential to grant specific user groups the ability to reboot the TNAS, however I wasn't able to find a way to do this. This leads me to the first question.
[*] Is it possible to allow non-admins to reboot the server?
Another way of accomplishing this is to develop a webpage (secured of course) with a reboot button - the web server would action this by connecting to the TNAS via SSH and rebooting as the admin account, which brings me to my next question.
[*] Is it possible to reboot via SSH?
Any help on this would be greatly appreciated and apologies if this is in the wrong category.