View Single Post
  #6   (View Single Post)  
Old 18th April 2023
shep shep is offline
Real Name: Scott
Arp Constable
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,507
Default

I'm not sure if the useradd -m flag would overwrite your existing /home directory. I think usermod(8) is what I'd try first.

What shell, of 3 possibilities (sh/csh/ksh), are you using?
The handbook indicates that ~/.profile will export the paths to all three shells. You could also copy the system configuration file for the particular shell you are using and then add the command to export the path for that particular shell.
https://docstore.mik.ua/orelly/unix3/upt/ch03_03.htm
http://www.netbsd.org/docs/misc/inde...adding-to-path

Last edited by shep; 18th April 2023 at 01:01 AM.
Reply With Quote