summaryrefslogtreecommitdiff
path: root/sag-0.6.1-www/Invisible/sag-0.6/node91.html
blob: 012fce5614c4156052c9a03b1cb7b0e19b50cad4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<!--Converted with LaTeX2HTML 96.1-h (September 30, 1996) by Nikos Drakos (nikos@cbl.leeds.ac.uk), CBLU, University of Leeds -->
<HTML>
<HEAD>
<TITLE>Initial environment: /etc/skel</TITLE>
<META NAME="description" CONTENT="Initial environment: /etc/skel">
<META NAME="keywords" CONTENT="sag">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
<LINK REL=STYLESHEET HREF="sag.css">
</HEAD>
<BODY LANG="EN" >
 <A NAME="tex2html1464" HREF="node92.html"><IMG WIDTH=37 HEIGHT=24 ALIGN=BOTTOM ALT="next" SRC="./next_motif.gif"></A> <A NAME="tex2html1462" HREF="node88.html"><IMG WIDTH=26 HEIGHT=24 ALIGN=BOTTOM ALT="up" SRC="./up_motif.gif"></A> <A NAME="tex2html1456" HREF="node90.html"><IMG WIDTH=63 HEIGHT=24 ALIGN=BOTTOM ALT="previous" SRC="./previous_motif.gif"></A> <A NAME="tex2html1466" HREF="node1.html"><IMG WIDTH=65 HEIGHT=24 ALIGN=BOTTOM ALT="contents" SRC="./contents_motif.gif"></A> <A NAME="tex2html1467" HREF="node114.html"><IMG WIDTH=43 HEIGHT=24 ALIGN=BOTTOM ALT="index" SRC="./index_motif.gif"></A> <BR>
<B> Next:</B> <A NAME="tex2html1465" HREF="node92.html">Creating a user by </A>
<B>Up:</B> <A NAME="tex2html1463" HREF="node88.html">Creating a user</A>
<B> Previous:</B> <A NAME="tex2html1457" HREF="node90.html">Picking numeric user and </A>
<BR> <P>
<A NAME="2841">&#160;</A><H2><A NAME="SECTION001023000000000000000">Initial environment: <tt>/etc/skel</tt></A></H2>
<P>
	When the home directory for a new user is created, it is
	initialized with files from the <tt>/etc/skel</tt><A NAME="2843">&#160;</A> directory.
	The system administrator can create files in <tt>/etc/skel</tt><A NAME="2845">&#160;</A>
	that will provide a nice default environment for users.
	For example, he might create a <tt>/etc/skel/.profile</tt><A NAME="2847">&#160;</A> that
	sets the EDITOR environment variable to some editor that
	is friendly towards new users.
<P>
	However, it is usually best to try to keep <tt>/etc/skel</tt><A NAME="2849">&#160;</A>
	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 <tt>.profile</tt><A NAME="2851">&#160;</A>. The system administrator
	could try to do it automatically, with a script, but that
	is almost certain going to break someone's file.
<P>
	Whenever possible, it is better to put
	global configuration into global files, such as
	<tt>/etc/profile</tt><A NAME="2853">&#160;</A>. This way it is possible to update
	it without breaking users' own setups.
<P>
<BR> <HR>
<P><ADDRESS>
<I>Lars Wirzenius <BR>
Sat Nov 15 02:32:11 EET 1997</I>
</ADDRESS>
</BODY>
</HTML>