0

I know that services shouldn't be run as root, and most applications already define their own users upon installation (e.g., FreeSWITCH creates a freeswitch user, and systemd starts the service as so).

There may be more services with their own users and their configuration files are owned by them. I was wondering what the recommended way is to handle these with one user, without having to log in as all these different users (or with root)?

For example,

  • my local user is toraritte
  • the remote user I use to log in is myadmin
  • using Midnight Commander to access remote files via shell link; can traverse the file system, but can't edit files of the freeswitch user

I think the answer to my question is this thread (i.e., creating an admin group, add all relevant users to it, and adjust permissions if necessary), but not a 100% sure - or if there is something else to look out for in this scenario. Thank you!

toraritte
  • 1,018
  • 13
  • 22

0 Answers0