On Thu, May 19, 2022 at 8:25 PM Kenneth Parker <sea7k...@gmail.com> wrote:
> > > On Thu, May 19, 2022, 4:14 AM 황병희 <soyeo...@doraji.xyz> wrote: > >> Tom Browder <tom.brow...@gmail.com> writes: >> >> > I need a special path setting for root after both "sudo" and "sudo >> > su." (...) >> >> You do not need to use sudo with su. When you enter su you are prompted to enter the root password. > Just you try like as "sudo su -". Sometimes i use it that way. >> >> Sincerely, Linux fan Byung-Hee >> >> -- >> ^고맙습니다 _白衣從軍_ 감사합니다_^))// >> > > When I need Root on a Desktop, I bring up a shell, enter "su -" and give > it the Root Password. > > Note, Debian (at least in the Expert Installation Mode) lets me set a Root > Password. Ubuntu doesn't, so one of my early actions after the Install is > to enter "sudo su -" and, on the resulting Root Shell, type "passwd root". > > On a Virtual Terminal, I simply login as Root on one terminal, and on the > next one, sign on as my "Normal User" (and then do most of my work there). > > I know there have been Discussions here about sudo vs "su -". They both > work, but both can get you in trouble (but possibly in different ways). > > Kenneth Parker > > Kenneth Parker > >>