Sunday, May 12, 2024
 Popular · Latest · Hot · Upcoming
27
rated 0 times [  27] [ 0]  / answers: 1 / hits: 17014  / 2 Years ago, tue, july 12, 2022, 9:16:07

i have on my server a settings i use for all my users. every time i create a new user i have to copy all the settings over and over.



for example:




  • .vimrc.

  • .profile

  • .bashrc

  • firefox homepage to our intranet

  • evolution settings (server and username)
    etc...



i saw skel can do it, is there a easy way to setup a user with my settings when i adduser?



thanks


More From » users

 Answers
2

Everything should be located in the /etc/skel folder.



You need to create a link on the desktop for all users:



mkdir -p /etc/skel/Desktop
cd /etc/skel/Desktop/
vi shortcut.desktop
[Desktop Entry]
Version=1.0
Name=ShortCut
Comment=Visit ShortCut
GenericName=ShortCut
Exec=firefox http://intranet.ShortCut.com
Terminal=false
X-MultipleArgs=false
Type=Application
Icon=firefox
Categories=Internet
chmod +x shortcut.desktop


That will create a link on the desktop.



Here's few articles that will help you for what you need:




[#41770] Thursday, July 14, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
howesale

Total Points: 224
Total Questions: 117
Total Answers: 116

Location: Nauru
Member since Thu, May 18, 2023
1 Year ago
;