0

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 logs in. I would also like to remove the welcome windows that you have to pass: geolocation, livepatch...

Thanks to all of you!

BeastOfCaerbannog
  • 12,964
  • 10
  • 49
  • 77
Bristow
  • 2,722
  • 2
  • 7
  • 10
  • "it is not copied when a new user logs in." ehm "/etc/skel" is for when a new user is CREATED. You want "/etc/profile". – Rinzwind Sep 17 '20 at 12:58
  • To be precise, new users come from an LDAP directory. I don't know /etc/profile.d/, it replaces /etc/skel. Is there a tutorial somewhere? – Bristow Sep 17 '20 at 15:05
  • " it replaces /etc/skel" It does not replace it. /etc/profile is examined as the 1st part of the login process and holds instructions applicable to all users. At the end of it it will source a file in the home directory so the login continues with user specific instructions. – Rinzwind Sep 17 '20 at 15:08

0 Answers0