[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Simple little basic config questions



Haines Brown wrote:


Which is generated by the "adduser" routine by copying the skeleton
files from /etc/skel. You can add other files in this directory if
you want them to be added to new users' home directories.

Interesting--the plot thickens! So, if one wants to set a global
configuration for bash, such as a custom prompt or setterm= then the
way to do it is to edit the files in /etc/skel. For example, I could
uncomment in /etc/skel/bash_profile the section that has "source
~./bashrc" and then in the /etc/skel/bashrc file enter my custom value
for PS1= or commands such as setterm = ...
All this is entirely new to me ;-).

Haines
But only for new users. This won't affect existing users, as these files are copied into the users' home directories when the user is created using "adduser".

--
Kent




Reply to: