Renaming home folder
#5
(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:104Confusedystemd Resolver,,,:/run/systemd/resolve:/bin/false
systemd-bus-proxy:x:103:105Confusedystemd 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:114TongueulseAudio 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/


Messages In This Thread
Renaming home folder - by inkslinger - 01-14-2020, 05:19 PM
RE: Renaming home folder - by evilbunny - 01-14-2020, 06:50 PM
RE: Renaming home folder - by inkslinger - 01-14-2020, 08:17 PM
RE: Renaming home folder - by Arwen - 01-14-2020, 09:22 PM
RE: Renaming home folder - by inkslinger - 01-14-2020, 09:37 PM
RE: Renaming home folder - by ElektromAn - 01-15-2020, 10:27 AM
RE: Renaming home folder - by inkslinger - 01-15-2020, 10:41 AM
RE: Renaming home folder - by Arwen - 01-15-2020, 09:06 AM
RE: Renaming home folder - by inkslinger - 01-15-2020, 01:10 PM
RE: Renaming home folder - by ElektromAn - 01-15-2020, 11:22 AM
RE: Renaming home folder - by inkslinger - 01-15-2020, 03:09 PM
RE: Renaming home folder - by appdev46 - 01-15-2020, 03:50 PM
RE: Renaming home folder - by Jeremiah Cornelius - 01-15-2020, 06:15 PM
RE: Renaming home folder - by appdev46 - 01-15-2020, 08:16 PM
RE: Renaming home folder - by Jeremiah Cornelius - 01-15-2020, 09:14 PM
RE: Renaming home folder - by appdev46 - 01-16-2020, 07:02 PM
RE: Renaming home folder - by Arwen - 01-17-2020, 06:37 AM
RE: Renaming home folder - by appdev46 - 01-18-2020, 11:09 AM
RE: Renaming home folder - by appdev46 - 01-22-2020, 04:21 AM
RE: Renaming home folder - by inkslinger - 01-22-2020, 10:09 AM
RE: Renaming home folder - by mainer - 01-22-2020, 10:40 AM
RE: Renaming home folder - by appdev46 - 01-22-2020, 02:16 PM
RE: Renaming home folder - by Arwen - 01-22-2020, 03:45 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Network shared folder discovery (smb4k) solostian 10 10,410 12-06-2021, 07:27 AM
Last Post: solostian
  Cant boot into home-rolled Arch Linux image craftkiller 4 5,401 02-25-2020, 12:58 PM
Last Post: craftkiller

Forum Jump:


Users browsing this thread: 4 Guest(s)