01-15-2020, 10:41 AM
(01-15-2020, 10:27 AM)ElektromAn Wrote:(01-14-2020, 09:37 PM)inkslinger Wrote: adam@Debian-Desktop:~$ tail /etc/passwd /etc/shadow /etc/group
Please not the $ sign
you are (mostly and not fouling yourself) a ordinary user here.
tail and other things with /etc/shadow will not work here.
Without looking in the wiki, I think sudo is missing here with the usermod command
If you messed up the thing and can't login via login greeter use the magic keys
CTRL-F1
and login as root or better as ordinary.
Note if your $home does not exist, you can't login, so you must use root
I've replaced the $home, by reversing the instructions given by evilbunny near the start of the thread, so that's not a problem.
I was initially logged in as root when doing the usermod commands (the wiki doesn't mention sudo, but I think that's because it tells you to do it from a root terminal so sudo isn't needed).
Anyway, I will go back in as root later today and try Arwen's suggestion. Hopefully, that will solve the issue.