What type of hardware are you using: Old laptop or computer What YunoHost version are you running: 12.1.40.1 How are you able to access your server: SSH
Describe your issue
I have been set up YH and thought, I am Administrator member.
Today I typed via ssh: “journalctl -u sshd -p warning”
and got “You are currently not seeing messages from other users and the system.
Users in groups ‘adm’, ‘systemd-journal’ can see all messages.”
How can I got the necessary privileges?
Thank you in advance!
Share relevant logs or error messages
Today I typed via ssh: “journalctl -u sshd -p warning”
and got “You are currently not seeing messages from other users and the system.
Users in groups ‘adm’, ‘systemd-journal’ can see all messages.”
Just to add to this, if you only want to run a single command as root (essentially Linux term for admin), you can prepend the command with sudo. For example, your command could be run with sudo journalctl -u sshd -p warning. This will let you run that command with elevated rights and then drop you back into you user shell. This can be safer than using sudo -i since you won’t accidentally run a dangerous command as root, and have to actively choose to elevate your rights every time. That being said, if you have a lot of commands to run, starting an interactive root shell might be handy.