Online Documentation Server
 ПОИСК
ods.com.ua Web
 КАТЕГОРИИ
Home
Programming
Net technology
Unixes
Security
RFC, HOWTO
Web technology
Data bases
Other docs

 


 ПОДПИСКА

 О КОПИРАЙТАХ
Вся предоставленная на этом сервере информация собрана нами из разных источников. Если Вам кажется, что публикация каких-то документов нарушает чьи-либо авторские права, сообщите нам об этом.




Initial environment: /etc/skel Next Up Previous Contents Index
Next: Creating a user by Up: Creating a user Previous: Picking numeric user and

 

Initial environment: /etc/skel

When the home directory for a new user is created, it is initialized with files from the /etc/skel  directory. The system administrator can create files in /etc/skel  that will provide a nice default environment for users. For example, he might create a /etc/skel/.profile  that sets the EDITOR environment variable to some editor that is friendly towards new users.

However, it is usually best to try to keep /etc/skel  as small as possible, since it will be next to impossible to update existing users' files. For example, if the name of the friendly editor changes, all existing users would have to edit their .profile . The system administrator could try to do it automatically, with a script, but that is almost certain going to break someone's file.

Whenever possible, it is better to put global configuration into global files, such as /etc/profile . This way it is possible to update it without breaking users' own setups.



Lars Wirzenius
Sat Nov 15 02:32:11 EET 1997


With any suggestions or questions please feel free to contact us