Skip to content

Install script does not correctly set up the new user environment #16

@LiamAEdwards

Description

@LiamAEdwards

When a new user is created the script is supposed to, but does not.

  • chown the user directory with their permissions
  • Grab the /etc/skel files that enable the desktop

Need to find a solution.

Issue lies somewhere on line 638 in the installer.sh script.

# Set user passwd
print "Set user password"
arch-chroot /mnt useradd -m ${user} -G wheel -k /etc/skel
arch-chroot /mnt /bin/passwd "$user"
arch-chroot /mnt /bin/chown -R ${user}:${user} /home/${user}
arch-chroot /mnt /bin/rsync -av /etc/skel/ /home/${user}

The rsync command is an attempt to sync through contents of skel and the user directory but that does not work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions