Re: Returning to /var/log/boot.log and Greg Wooledge`s reply
On Monday, September 28, 2020 01:28:01 AM Richard Hector wrote:
> On 26/09/20 2:47 pm, David Wright wrote:
> > If you make yourself a member of the adm group, you can read your logs
> > as a normal user. You'd need to type into any terminal
> >
> > $ sudo addgroup myloginname adm
> >
> > replacing myloginname as appropriate, but you will need to login again
> > before the addgroup command will have any effect.
>
> I think you mean adduser rather than addgroup there:
>
> $ sudo adduser myloginname adm
>
> You're adding the user to the group, rather than the group to the user :-)
I think either will work:
from man adduser <one of five ways to invoke adduser>:
Add an existing user to an existing group
If called with two non-option arguments, adduser will add an
existing user to an existing group.
from man addgroup <one of five ways to invoke addgroup>:
Add an existing user to an existing group
If called with two non-option arguments, adduser will add an
existing user to an existing group.
>
> Richard
Reply to: