I just installed Pop now I need to create a user profile

1 view
Skip to first unread message

Napoleon M

unread,
Nov 19, 2023, 5:52:21 PM11/19/23
to GSLUG
Is anyone familiar with setting up a user account login to work with the session login screen? manually adding a user using useradd and assigning a home directory would be useradd -d /home/user userID? Or is adduser the better option?

Second question if adding a user via commandline will that user have an x-session login by default? I mean a window manager? where would this have to be setup manually if not automatic?

Alex Smith (K4RNT)

unread,
Nov 19, 2023, 8:18:55 PM11/19/23
to Napoleon M, GSLUG
If you don't provide the -m flag to useradd, it will not create the home directory for you. I use the command useradd -m <userid>, however your method does work, it just uses a pre-made folder.

If you are in runlevel 3, you will be command line only unless you run startx. If you set to runlevel 5, it will run a display manager and offer logins.

This also assumes that you have the window environment you want installed. XFCE vs. GNOME vs. LXDE and KDE are all available.

" 'With the first link, the chain is forged. The first speech censured, the first thought forbidden, the first freedom denied, chains us all irrevocably.' Those words were uttered by Judge Aaron Satie as wisdom and warning... The first time any man's freedom is trodden on, we’re all damaged." - Jean-Luc Picard, quoting Judge Aaron Satie, Star Trek: TNG episode "The Drumhead"
- Alex Smith (K4RNT)
- Lacey, Washington (Olympia, WA metropolitan area)


On Sun, Nov 19, 2023 at 2:52 PM Napoleon M <napo...@gmail.com> wrote:
Is anyone familiar with setting up a user account login to work with the session login screen? manually adding a user using useradd and assigning a home directory would be useradd -d /home/user userID? Or is adduser the better option?

Second question if adding a user via commandline will that user have an x-session login by default? I mean a window manager? where would this have to be setup manually if not automatic?

--
--
--
GSLUG-general mailing list
https://gslug.org/wiki/Mailing_Lists
---
To unsubscribe from this group and stop receiving emails from it, send an email to gslug-genera...@aoeu.com.

Napoleon M

unread,
Nov 19, 2023, 8:24:40 PM11/19/23
to Alex Smith (K4RNT), GSLUG
Awesome, thanks for the info! 

A follow up question... I am rsync the home directory over to the drive. If I use -av archive when I recreate the directory and make new user id be ok with chown and chmod after assigning them the directory? Also will I need to have hardlinks enable for the data to work with the integrated system?

Napoleon M

unread,
Nov 19, 2023, 8:59:09 PM11/19/23
to Alex Smith (K4RNT), GSLUG
This is my problem https://serverfault.com/questions/19274/how-to-transfer-user-accounts-to-a-new-linux-machine
transferring a user account and /home using rsync, I am sure this is a common task. I have a bash script to make the backups on the home system for /etc files should anything go wrong. I want to make sure when the os boots that the login will have all users even after I added manually. This should be from the window manager, or default login, using the gnome login. 
Reply all
Reply to author
Forward
0 new messages