So, /usr/share/skel, reporesents new user's home layout.
Now I add file /usr/share/skel/welcome
Is it possible to have macros / variables in /usr/share/skel/welcome file?
So for new user john, file welcome(txt file, NOT a script!), would be:
Derived from /usr/share/skel/welcome:
Now I add file /usr/share/skel/welcome
Is it possible to have macros / variables in /usr/share/skel/welcome file?
So for new user john, file welcome(txt file, NOT a script!), would be:
Code:
Welcome to the club john!
Your home dir is /usr/home/john
Code:
Welcome to the club $USER!
Your home dir is $HOME