Questions tagged [skel]
14 questions
12
votes
4 answers
programmatically clone /etc/skel for new users
/etc/skel is a folder that will be cloned for new users. Is there a possible way that we can define rules what to copy from /etc/skel folder?
For example, I'm looking for a way that if a user is created and belongs to group named A, clone /etc/skel…
Nam Nguyen
- 301
10
votes
1 answer
How to ensure that all new users have the same profile settings as the current user?
How to ensure that all new users have the same profile settings as the current user? I am using Ubuntu 12.04.
user61928
4
votes
1 answer
Changed perms on /etc/skel hidden files, locked out of bash/sudo
Background: I made a rookie mistake on a Ubuntu 14.04 VM & recursively changed the permissions on the /etc folder. I've been restoring them to default 1 directory at a time, using a fresh VM as a model and looking up the proper permissions at…
Chris J. Zähller
- 53
- 6
4
votes
0 answers
/etc/skel doesn't work with xenial
We have a script which works perfectly with Xubuntu 14.04 and an Ubuntu Server with ldap : https://github.com/dane-lyon/clients-linux-scribe/blob/master/ubuntu-et-variantes-integrdom.sh
We use /etc/skel in order to configure new ldap user.
With…
Bristow
- 41
2
votes
1 answer
How can I edit /etc/skel while keeping the default folders on Live CD
I'm making a Live CD with all of the features I need in Ubuntu. I've installed gnome-shell and some extensions and I want to make it start "ON" when the instalation finishes.
I've copied the folders ".config/" and ".gconf/" to "/etc/skel/" after…
Foreba
- 141
2
votes
2 answers
Automatically create folder in new users' home directory
I need to automatically assign every new user that gets created a certain folder Sales in their home directory. (e.g. when you add the user tim, tim automatically gets a folder named Sales in his home directory)
How can I do this?
user_01
- 29
1
vote
2 answers
Restore /etc/skel files
I have messed with /etc/skel files and stupidly didn't back it up! I need to restore the original files in this directory! How can I find the original files over the internet?
Note: for security reasons only provide Linux official link.
Thanks in…
dariush
- 619
1
vote
2 answers
No files in /etc/skel/ ; Can't restore .bashrc
I recently messed up my .bashrc file, which I mentioned in this question: How do I restore .bashrc to its default?, and I can't find a way to restore .bashrc to its default that works.
I can't make commands in the terminal because every time I try I…
nanananana
- 1,265
1
vote
1 answer
On Ubuntu 12.04 is /etc/skel/ the correct place to put extra files for new users?
On Ubuntu 12.04 is /etc/skel/ the correct place to put extra files for new users?
In the Linux Administration Handbook it mentions files from /usr/local/lib/skel which doesn't seem like an Ubuntu-esque path, nor does it exist on my fresh install of…
cwd
- 1,663
- 5
- 19
- 24
1
vote
1 answer
How do I create default folders for new users?
What I want to do is this : When I create a new user in Ubuntu, I want him to have a copy of a folder, let's call him "abc", in his own home directory. Is there any way to automate this or do I have to copy the folder by myself each time?
Can I…
Kostis
- 175
1
vote
0 answers
Customized environment for new users in XFCE
I come back to the community because I have a sad problem.
I just migrated from Xubuntu 14.04 to Xubuntu 16.04. The environment was personalized. That is to say, every time a student (I am in a high school) connected, he always had the same…
Bristow
- 3,460
1
vote
1 answer
Open a Web Page at User's First Login
I'd like to add a file that opens Google Chrome on a specific Web page the first time a user logs in to an Ubuntu box.
I am guessing it should go in the /etc/skel directory.
I don't know how to make it run only once, similar to the HUD Help that…
Pinguinim
- 1,498
0
votes
0 answers
Configure a default profile on Ubuntu 20.04
How can I set a default profile on Ubuntu 20.04 for all newly created users?
I used to use /etc/skel, but it doesn't work anymore, except for .bashrc or .profile. Indeed, if I copy the .mozilla folder to /etc/skel, it is not copied when a new user…
Bristow
- 3,460
0
votes
1 answer
New User, use /etc/skel
I can't find precise information about the /etc/skel settings for the new user to add, to the settings I have in user "model".
Could someone tell me what files to skel so I don't have to reconfigure each new user?
I am using Ubuntu Budgie 20.04,…