On Tue, 2025-11-11 at 06:50 -0500, Terry Hurlbut wrote:
> Recreate two other user accounts. 
> 
> Remount the data disk and make that automatic upon system restart or
> after system shutdown. 
> 
> Edit the PATH system variable to recognize the "bin" directory for
> any recognized and logged-in user account. 
> 
> The last step is to recreate my symlink structure. For that,  I still
> have my original reconnection shell scripts. 

There's various ways you can go about doing this.

If your second drive is simply *like* a /home directory with username1
and username2 directories inside it, you can simply mount it (that
whole drive/partition) onto the /home directory in the system root. 
One mount doing all users in one go.

Alternatively, you could mount specific directories for each user as a
whole on that drive into /home/username1 where the /home is where the
new install set it up.  If your second drive had username1 and
username2 embedded in various other directories.  Having one mount for
each user.

Or, remote data directories into subdirectories in /home/username.  You
could let the system create /home/username1 and /home/username as
usual, and inside them mount a "documents" directory that's actually
elsewhere.  Carrying on for each specific directory that's stored
elsewhere.

All that's easily done with /etc/fstab in the format of an identifier
for the second drive, where it's mounting on top of (an existing
directory), filesystem details.

e.g. UUID=this-is-a-fake-uf-gchjk-ajghnbaiu-yhrekhn /home ext4 defaults

While you can create user accounts with homespace anywhere, such as
/seconddrive/users/johndoe, SELinux will rear its head, expecting user
accounts to start out with a /home path.

You can also symlink remote directories into the tree.

Once you have something set up like /home/johndoe, then any bin
directory in it (linked or directly in it) will act the same and be in
that person's path (e.g. /home/johndoe/bin/).  That happens by itself,
But that's not what I'd call a "system" path, it's that user's path.

-- 
 
uname -rsvp
Linux 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
(yes, this is the output from uname for this PC when I posted)
 
Boilerplate:  All unexpected mail to my mailbox is automatically deleted.
I will only get to see the messages that are posted to the mailing list.
 

-- 
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to