0

I have to create a guest user with permission to check journalctl and systemctl status. That user should not be able to perform below operations

  • Create/delete/move/copy directories and files
  • change password
  • change file/directory permissions
  • open files
  • systemctl restart/disable/stop/start/enable commands

He should be able to run only journalctl and systemctl status commands

Gautham
  • 21
  • 3
  • that's a question for https://askubuntu.com/ or https://unix.stackexchange.com/ (and I guess it's a little complicated to do that, may need a custom login shell like https://stackoverflow.com/questions/21498667/how-to-limit-user-commands-in-linux which should also be asked over there) – zapl Sep 26 '22 at 12:18

0 Answers0