Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/etc/skel Pull up revision 1.1 (new, requested by simonb):
details: https://anonhg.NetBSD.org/src/rev/c6ea55fa367f
branches: netbsd-1-4
changeset: 471164:c6ea55fa367f
user: he <he%NetBSD.org@localhost>
date: Wed Oct 25 16:58:50 2000 +0000
description:
Pull up revision 1.1 (new, requested by simonb):
Use /etc/skel only for skeleton files for useradd. Fixes PR#10985.
diffstat:
etc/skel/Makefile | 15 +++++++++++++++
etc/skel/dot.cshrc | 28 ++++++++++++++++++++++++++++
etc/skel/dot.login | 13 +++++++++++++
etc/skel/dot.mailrc | 9 +++++++++
etc/skel/dot.profile | 14 ++++++++++++++
etc/skel/dot.rhosts | 1 +
6 files changed, 80 insertions(+), 0 deletions(-)
diffs (104 lines):
diff -r a61b4f3edeeb -r c6ea55fa367f etc/skel/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/etc/skel/Makefile Wed Oct 25 16:58:50 2000 +0000
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1.4.2 2000/10/25 16:58:50 he Exp $
+# from: @(#)Makefile 8.1 (Berkeley) 6/8/93
+
+.if make(distribution)
+FILES= dot.cshrc dot.login dot.mailrc dot.profile dot.rhosts
+FILESDIR= /etc/skel
+.for F in ${FILES}
+FILESNAME_${F}= ${F:S/dot//}
+.endfor
+
+distribution: filesinstall
+.endif
+MKOBJ= no
+
+.include <bsd.prog.mk>
diff -r a61b4f3edeeb -r c6ea55fa367f etc/skel/dot.cshrc
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/etc/skel/dot.cshrc Wed Oct 25 16:58:50 2000 +0000
@@ -0,0 +1,28 @@
+# $NetBSD: dot.cshrc,v 1.1.4.2 2000/10/25 16:58:50 he Exp $
+#csh .cshrc file
+
+alias h history 25
+alias j jobs -l
+alias la ls -a
+alias lf ls -FA
+alias ll ls -lA
+alias su su -m
+
+setenv EDITOR vi
+setenv VISUAL ${EDITOR}
+setenv EXINIT 'set autoindent'
+setenv PAGER more
+
+set path = (~/bin /bin /sbin /usr/{bin,sbin,X11R6/bin,pkg/{,s}bin,games} \
+ /usr/local/{,s}bin)
+
+if ($?prompt) then
+ # An interactive shell -- set some stuff up
+ set filec
+ set history = 1000
+ set ignoreeof
+ set mail = (/var/mail/$USER)
+ set mch = `hostname -s`
+ set prompt = "${mch:q}: {\!} "
+ umask 2
+endif
diff -r a61b4f3edeeb -r c6ea55fa367f etc/skel/dot.login
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/etc/skel/dot.login Wed Oct 25 16:58:50 2000 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: dot.login,v 1.1.4.2 2000/10/25 16:58:50 he Exp $
+#csh .login file
+
+if ( ! $?SHELL ) then
+ setenv SHELL /bin/csh
+endif
+
+set noglob
+eval `tset -s -m 'network:?xterm'`
+unset noglob
+stty status '^T' crt -tostop
+
+/usr/games/fortune
diff -r a61b4f3edeeb -r c6ea55fa367f etc/skel/dot.mailrc
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/etc/skel/dot.mailrc Wed Oct 25 16:58:50 2000 +0000
@@ -0,0 +1,9 @@
+# $NetBSD: dot.mailrc,v 1.1.4.2 2000/10/25 16:58:50 he Exp $
+
+ignore message-id received date fcc status resent-date resent-message-id resent-from in-reply-to
+set append ask autoprint
+set indentprefix="> "
+set PAGER=more
+set EDITOR=vi
+set VISUAL=vi
+retain bcc cc date from subject to
diff -r a61b4f3edeeb -r c6ea55fa367f etc/skel/dot.profile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/etc/skel/dot.profile Wed Oct 25 16:58:50 2000 +0000
@@ -0,0 +1,14 @@
+# $NetBSD: dot.profile,v 1.1.4.2 2000/10/25 16:58:50 he Exp $
+
+PATH=$HOME/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/pkg/bin
+PATH=${PATH}:/usr/pkg/sbin:/usr/games:/usr/local/bin:/usr/local/sbin
+export PATH
+
+EDITOR=vi
+export EDITOR
+EXINIT='set autoindent'
+export EXINIT
+PAGER=more
+export PAGER
+
+umask 2
diff -r a61b4f3edeeb -r c6ea55fa367f etc/skel/dot.rhosts
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/etc/skel/dot.rhosts Wed Oct 25 16:58:50 2000 +0000
@@ -0,0 +1,1 @@
+-
Home |
Main Index |
Thread Index |
Old Index