Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/etc/skel Pullup 1.1 [simonb]:



details:   https://anonhg.NetBSD.org/src/rev/27b46ac0bbbb
branches:  netbsd-1-5
changeset: 489944:27b46ac0bbbb
user:      tv <tv%NetBSD.org@localhost>
date:      Fri Oct 20 17:00:53 2000 +0000

description:
Pullup 1.1 [simonb]:
Use /etc/skel only for skeleton files for useradd.
Fixes PR bin/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 2124fcee513f -r 27b46ac0bbbb etc/skel/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/etc/skel/Makefile Fri Oct 20 17:00:53 2000 +0000
@@ -0,0 +1,15 @@
+#      $NetBSD: Makefile,v 1.1.2.2 2000/10/20 17:00:53 tv 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 2124fcee513f -r 27b46ac0bbbb etc/skel/dot.cshrc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/etc/skel/dot.cshrc        Fri Oct 20 17:00:53 2000 +0000
@@ -0,0 +1,28 @@
+#      $NetBSD: dot.cshrc,v 1.1.2.2 2000/10/20 17:00:53 tv 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 2124fcee513f -r 27b46ac0bbbb etc/skel/dot.login
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/etc/skel/dot.login        Fri Oct 20 17:00:53 2000 +0000
@@ -0,0 +1,13 @@
+#      $NetBSD: dot.login,v 1.1.2.2 2000/10/20 17:00:53 tv 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 2124fcee513f -r 27b46ac0bbbb etc/skel/dot.mailrc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/etc/skel/dot.mailrc       Fri Oct 20 17:00:53 2000 +0000
@@ -0,0 +1,9 @@
+#      $NetBSD: dot.mailrc,v 1.1.2.2 2000/10/20 17:00:53 tv 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 2124fcee513f -r 27b46ac0bbbb etc/skel/dot.profile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/etc/skel/dot.profile      Fri Oct 20 17:00:53 2000 +0000
@@ -0,0 +1,14 @@
+#      $NetBSD: dot.profile,v 1.1.2.2 2000/10/20 17:00:53 tv 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 2124fcee513f -r 27b46ac0bbbb etc/skel/dot.rhosts
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/etc/skel/dot.rhosts       Fri Oct 20 17:00:53 2000 +0000
@@ -0,0 +1,1 @@
+-



Home | Main Index | Thread Index | Old Index