Re: can't login via gdm

2021-08-18 Thread Morgan Read
> On Wed, Aug 11, 2021 at 07:00:38PM +, Morgan Read wrote: >>> Starting that from / is horrifying. I would have started from >>> /home, >> >> But, all recklessness aside - what would be the correct command to >> achieve the end sought? > > I'm not quite sure what that "end" is. W

Re: can't login via gdm

2021-08-11 Thread Stefan Monnier
>> I was attempting to modify >> # for i in `find / -user 1001`; do chown 3001 $i; done > Dear gods. That violates at least two *major* rules of the shell. It looks exactly like the kind of code I would write if I were trying to "innocently" introduce a backdoor. Stefan

Re: Re: can't login via gdm

2021-08-11 Thread Morgan Read
> Starting that from / is horrifying.  I would have started from /home, Ah, well, yes.  I was rather throwing caution to the wind.  But, when you put off doing a job for months and then you finally get round to doing it, there's an element of recklessness that sneaks in.  I guess there's a moral

Re: Re: can't login via gdm

2021-08-11 Thread Greg Wooledge
On Wed, Aug 11, 2021 at 07:00:38PM +, Morgan Read wrote: > > Starting that from / is horrifying.  I would have started from /home, > > But, all recklessness aside - what would be the correct command to achieve > the end sought? I'm not quite sure what that "end" is. We were never given the

Re: can't login via gdm

2021-08-11 Thread Morgan Read
Thanks Il and Zoltan, In a nutshell - yes, yes, and yes... However, I only realised the error when I logged into my headless server terminal where I use an 'admin' user account rather than root for admin as I did on my laptop - thus, on my laptop I was never confronted with a failed terminal login

Re: can't login via gdm

2021-08-11 Thread Greg Wooledge
On Wed, Aug 11, 2021 at 02:26:43PM +, Morgan Read wrote: > So, it seems that > # find / -user 1002 -execdir chown 1003 '{}' \; > Didn't perform as I expected... Starting that from / is horrifying. I would have started from /home, and then if you suspect you have other files outside of /home t

Re: can't login via gdm

2021-08-10 Thread Zoltán Herman
or try login as root IL Ka ezt írta (időpont: 2021. aug. 10., K 12:35): > >> I ran the following to change my users UID & GIDs - but, now I have no >> graphic gdm login. I have no problem with a terminal login and the >> same worked on a terminal based server. >> >> > Check your logs with journ

Re: can't login via gdm

2021-08-10 Thread IL Ka
> > > I ran the following to change my users UID & GIDs - but, now I have no > graphic gdm login. I have no problem with a terminal login and the > same worked on a terminal based server. > > Check your logs with journalctl. There is also ~/.xsession-errors, but you probably lost access to your ow