Re: Root, sudo and installing packages [WAS Re: user is not in the suder's file]
K0LNY ?? <glenn@ervin.email> wrote:
> Hi Andrew,
> Using other distros, like Ubuntu and Raspbian, I would get tired of typing
> sudo in front of everything, so I would just do sudo su and become root for
> everything, so I wouldn't have to constantly be reminded that as a regular
> user, I can't do something, and I had been told that installing things as
> root will cause problems.
I do 'sudo -i' to become root for a long series of things that require
root. It changes the prompt so I am reminded that I am root.
I have also put 'export TMOUT=900' in root's .profile so that a root
login that's idle for 15 minutes automatically logs out.
--
Chris Green
·
Reply to: