On 06/07/18 19:00, Jan Panteltje wrote:
> On a sunny day (Fri, 6 Jul 2018 18:24:33 +0100) it happened Peter Percival
> wrote in :
>
>> Thank you. Things are slowly becoming clearer! I'd still like to know
>> root's password, even if I have no use for the root account.
>
> As root, (after using su) set the root password to anything you like by
typing:
> passwd
>
> that will ask you for a new password
>
> If you are well, I just changed the freaking pie into something useful by
editing
> /etc/password changing the entry for 'pi'
> #pi:x:1000:1000:,,,:/home/pi:/bin/bash
> pi:x:0:0:,,,:/root:/bin/bash
>
>
> Now pi has root permissions.
>
> I always say, you do not drive your car from the passenger seat !
>
> But then, if you want to hop over for steering all the time ..
>
> I remember Linus (from Linux) saying something along those lines too
> not so long ago.
> Way too much root fear, and silly warnings.
>
> OK you may wipe out your pie some day,
> that is why real men make backups, elsewhere say on a PC
> dd if=/dev/sdb of=my_raspi_when_it_was_still_working_image.
>
> But is DOES require you to be aware what you type,
> and understand the system in depth.
> Same for driving.
> So whatever you think you can handle.
>
>
>
> blah blah bla
>
>
> obladi oblada?
>
> Whatever
>
>
>
>
>
The first thing I do on any new linux install is
$ sudo passwd root.
Then any time I need root for more than a single command
$ su -
and enter the root password.
--
“I know that most men, including those at ease with problems of the
greatest complexity, can seldom accept even the simplest and most
obvious truth if it be such as would oblige them to admit the falsity of
conclusions which they have delighted in explaining to colleagues, which
they have proudly taught to others, and which they have woven, thread by
thread, into the fabric of their lives.”
― Leo Tolstoy
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|