I usually work with administrator access privileges on my Ubuntu workstations. On a new machine, I've recently been offered only a normal user account; and asked to provide a list of admin-level commands which I would like to use.
As such requests take a long time, I would like to get this right first-time. Is there a command which can analyse my command-line history, and report on which would normally have required admin access? Currently, I can only think of apt-get
.
sudo
at the start of each admin command. That is, I wouldn't have found the question you refer to, because I thought there was no such text to grep. (Perhaps it would be a better question from a user who does use the root account.) – user643722 Dec 06 '23 at 14:29