On Sat, Feb 04, 2023 at 07:40:33PM +0100, Kamil Jońca wrote: > Ottavio Caruso <ottavio2006-usenet2...@yahoo.com> writes: > > [...] > >> > > > > No, this is not good. The "hibernate.sh" must be run as standard user. > > Oh. I overlooked that. Sorry.
It wasn't just you. It was entirely unclear that the second command was meant to be run as the original user, *after* the first command which was run via sudo. I read it the same way you did (as an error), until the intent was clarified.