(01-14-2020, 09:22 PM)Arwen Wrote: @inkslinger, the Wiki instructions are these;
Code:
Rename the rock user to your prefered username (replace myself with whatever you like):
# usermod -l myself -d /home/myself -m rock
However, with the state your account is in, those likely won't work any more.
There is a different spot in the wiki where it breaks the command into two different commands, which is what I was following at first. That may have been the issue.
Code:
tail /etc/passwd /etc/shadow /etc/group
ls -la /home
ls -la /home/*
Here is the output. /etc/shadow was "access denied," so I don't know what's happening there. Hopefully, nothing I've pasted below is information I should have blanked out, since I mostly don't know what those outputs mean.
adam@Debian-Desktop:~$ tail /etc/passwd /etc/shadow /etc/group
==> /etc/passwd <==
systemd-resolve:x:102:104
ystemd Resolver,,,:/run/systemd/resolve:/bin/false
systemd-bus-proxy:x:103:105
ystemd Bus Proxy,,,:/run/systemd:/bin/false
_apt:x:104:65534::/nonexistent:/bin/false
ntp:x:105:109::/home/ntp:/bin/false
messagebus:x:106:110::/var/run/dbus:/bin/false
avahi:x:107:112:Avahi mDNS daemon,,,:/var/run/avahi-daemon:/bin/false
sshd:x:108:65534::/run/sshd:/usr/sbin/nologin
lightdm:x:109:113:Light Display Manager:/var/lib/lightdm:/bin/false
pulse:x:110:114
ulseAudio daemon,,,:/var/run/pulse:/bin/false
adam:x:1000:1000:rock,,,,Adam Snider:/home/rock:/bin/bash
tail: cannot open '/etc/shadow' for reading: Permission denied
==> /etc/group <==
ntp:x:109:
messagebus:x:110:
ssh:x:111:adam
avahi:x:112:
rock:x:1000:
lightdm:x:113:
pulse:x:114:
pulse-access:x:115:
bluetooth:x:116:
sambashare:x:117:
adam@Debian-Desktop:~$ ls -la /home
total 16
drwxr-xr-x 4 root root 4096 Jan 15 2020 .
drwxr-xr-x 20 root root 4096 Jul 11 2019 ..
drwx------ 4 root root 4096 Mar 12 2019 .Trash-0
drwxr-xr-x 25 adam rock 4096 Jan 15 2020 rock
adam@Debian-Desktop:~$ ls -la /home/