On Monday 06 May 2019 03:12:55 am Erik Christiansen wrote: > On 05.05.19 17:16, Gene Heskett wrote: > > You have made it very clear not to assign a pw to root, do > > everything with sudo. > > That's just religion, Gene, promulgated to minimise queries and > complaints from people getting themselves into trouble. Like > vaccination, it only needs 95% coverage to provide herd immunity. To > avoid having to fuss with getting the sudo thing to actually work > here, I still do a "su -" in a spare xterm, and leave the root session > open for a while, till the current problem is sorted. > > To remind that more than ordinary user care is warranted in that > xterm, in the event of leaving it open beyond short term memory, I put > this in /root/.bashrc > > export PS1="\[\033[1;31m\]\u@\h:\W\$ \[\033[0;0m\]" > Thats a good reminder, so I "borrowed" it.
> to make root's prompt red, and declare itself as root. > > It takes more than a generalisation to alter my habits of more than 30 > years. My take is: Use what works best for you, especially if you > accept the consequences without complaint. But I figure I'm treading a > parallel path to yours there. > > Erik Probably pretty close, :) Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) Genes Web page <http://geneslinuxbox.net:6309/gene>