aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/ChangeLog197
-rw-r--r--config/Makefile57
-rw-r--r--config/login-.bash_login2
-rw-r--r--config/login-.bashrc11
-rw-r--r--config/login-.hushlogin0
-rw-r--r--config/login-.profile3
-rw-r--r--config/login-README10
-rw-r--r--config/motd1
-rw-r--r--config/ttys8
9 files changed, 289 insertions, 0 deletions
diff --git a/config/ChangeLog b/config/ChangeLog
new file mode 100644
index 00000000..3a1865f5
--- /dev/null
+++ b/config/ChangeLog
@@ -0,0 +1,197 @@
+1999-05-29 Roland McGrath <roland@baalperazim.frob.com>
+
+ * ttys (console): Change type column ($TERM setting) to `mach'.
+
+ * login-.bashrc: Alias su to login.
+
+1999-05-24 Roland McGrath <roland@baalperazim.frob.com>
+
+ * protocols, services, shells, passwd, group, resolv.conf, fstab,
+ root-.bash_login, root-.bashrc, root-.profile: Files removed.
+ These files are not really Hurd-specific, and so should be installed
+ by some other package (and are in Debian).
+ * Makefile (SYSCONFFILES): Remove those files from the list.
+ (ROOTDOTS, installed_rootdots): Variables removed.
+ (DIST_FILES): Remove reference to $(ROOTDOTS).
+ (install): Remove dep on $(installed_rootdots).
+ ($(installed_rootdots)): Rule removed.
+
+ * Makefile (SYSCONFFILES): Remove hostname.
+ * hostname: File removed (it was empty). Current libc copes with
+ having no hostname file.
+
+1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
+
+ * syslog.conf: Removed. We don't install syslogd, so we have no
+ business installing its configuration file.
+ * Makefile (SYSCONFFILES): Remove syslog.conf.
+
+ * inetd.conf: Removed. We don't install inetd, so we have no business
+ installing inetd.conf.
+ * Makefile (SYSCONFFILES): Remove inetd.conf.
+
+Sat Mar 6 15:46:17 1999 Thomas Bushnell, BSG <tb@mit.edu>
+
+ * group, passwd: Revert preceding change.
+
+Fri Mar 5 18:25:01 1999 Thomas Bushnell, BSG <tb@mit.edu>
+
+ * passwd (bin): New entry with ID 0, for compatibility with BSD.
+ * group (bin, kmem): Likewise.
+
+1997-06-26 Miles Bader <miles@gnu.ai.mit.edu>
+
+ * root-.profile: Recommend using `addauth root'.
+
+Thu Jun 12 18:39:18 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
+
+ * syslog.conf: Updated.
+
+Wed Jun 11 14:17:25 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
+
+ * inetd.conf, syslog.conf: New files.
+ * Makefile (SYSCONFFILES): Add inetd.conf and syslog.conf.
+
+Tue Jun 10 18:41:00 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
+
+ * Makefile (install): Repair typo.
+
+Mon May 26 23:11:52 1997 Miles Bader <miles@gnu.ai.mit.edu>
+
+ * login-.bashrc (sush): Alias renamed from su.
+ * root-.profile: Say to use `su' rather than `sush root'.
+ * login-README: Refer to sush rather than su.
+
+Thu Sep 19 16:56:52 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
+
+ * Makefile (install): Depend on installation directories directly;
+ don't make installed files depend on the directory.
+
+Tue Sep 17 16:29:40 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
+
+ * Makefile ($(installed_logins), $(installed_rootdots),
+ $(installed_conf): Depend on FORCE instead of /dev/null.
+ (foo): Deleted target.
+ (LINKEDCONFFILES, installed_links): Deleted vars.
+ ($(sysconfdir)/rc): Deleted target.
+ ($(installed_links)): Deleted target.
+ (install): Don't depend on $(installed_links).
+
+Tue Sep 10 13:53:31 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
+
+ * Makefile ($(installed_conf)): Depend on $(sysconfdir).
+ ($(installed_links)): Likewise.
+
+Mon Aug 5 13:43:28 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
+
+ * Makefile (SYSCONFFILES): Add `resolv.conf'.
+ * resolv.conf: New file.
+
+Fri Aug 2 11:07:18 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
+
+ * Makefile (DIST_FILES): Put `root-' before ROOTDOTS and `login-'
+ before LOGINDOTS.
+
+Wed Jul 31 12:11:02 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
+
+ * passwd (games): Have no password.
+ * Makefile (SYSCONFFILES): Add `group'.
+ * group: New file.
+
+Mon Jul 29 14:43:54 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
+
+ * passwd: mib -> thomas.
+
+Wed Jul 24 15:23:29 1996 Miles Bader <miles@gnu.ai.mit.edu>
+
+ * root-.profile: But do \ ` inside "s.
+
+Sat Jul 20 02:13:52 1996 Miles Bader <miles@gnu.ai.mit.edu>
+
+ * ttys (console): Change type to `pc3'.
+ (com0): Renamed from tty00.
+
+Fri Jul 19 11:02:18 1996 Miles Bader <miles@gnu.ai.mit.edu>
+
+ * root-.profile: Don't \ ' inside "s.
+ Advise to use `sush root', not su.
+
+ * passwd (games): New user.
+
+Thu Jul 18 17:24:55 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
+
+ * root-.profile: Echo usual noisy message.
+
+ * fstab: Comment out example entry so it doesn't get incorrectly
+ used by accident.
+
+Wed Jul 17 17:09:06 1996 Miles Bader <miles@gnu.ai.mit.edu>
+
+ * root-.bashrc: Fixup test and source of user's .root_bashrc.
+ * root-.profile: Likewise.
+
+Tue Jul 16 11:12:10 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
+
+ * passwd (root): Group should be `0'.
+
+ * Makefile: Prettier installation of dotfiles for root and login.
+
+Mon Jul 15 19:16:30 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
+
+ * ttys: Comment out tty00 entry.
+
+Sat Jul 13 18:06:49 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
+
+ * Makefile: Always touch /dev/null. If OVERRIDE_CONF, then
+ $(installed_rootdots) and $(installed_conf) depend on it.
+ $(installed_logins) always depend on /dev/null.
+
+ * Makefile (DIST_FILES): New variable. Move rules to past
+ `include ../Makeconf'.
+
+ * Makefile (ROOTDOTS, installed_rootdots): New variables.
+ (install): Depend on $(installed_rootdots).
+ ($(installed_rootdots): New target.
+ * root-.bash_login, root-.bashrc, root-.profile: New files.
+
+ * Makefile (LOGINDOTS, installed_logins): New variables.
+ (install): Depend on $(installed_logins).
+ ($(installed_logins)): New rule.
+ * login-.bash_login, login-.bashrc, login-.hushlogin,
+ login-.profile, login-README: New files.
+
+ * passwd, fstab: New files.
+ * hostname: New (empty) file.
+ * Makefile (SYSCONFFILES): Add hostname, fstab, and passwd.
+
+Thu Jun 20 14:46:39 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
+
+ * Makefile (install): Install symlink for rc.
+
+ * Makefile (SYSCONFFILES): Removed `rc'.
+ * rc: Removed to daemons/rc.sh.
+
+Wed Jun 19 15:25:15 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
+
+ * rc: Print date before running fsck. Comment out pty permission
+ frobbing.
+
+Tue Jun 18 22:40:57 1996 Miles Bader <miles@gnu.ai.mit.edu>
+
+ * rc: Understand special more status codes for signals from fsck.
+ Fix some messages. Factor out date.
+
+Mon Jun 17 13:45:40 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
+
+ * motd: Drop first line.
+ * rc: Comment out motd update.
+
+ * ttys: Fixup getty spec.
+
+ * protocols: Updated from RFC 1700.
+
+ * Makefile (SYSCONFFILES): Add protocols services shells motd ttys
+
+ * rc: Update /etc/motd.
+ (autoboot) Make root readonly before fscking it.
+ Clean /var/run and make utmp.
diff --git a/config/Makefile b/config/Makefile
new file mode 100644
index 00000000..570939da
--- /dev/null
+++ b/config/Makefile
@@ -0,0 +1,57 @@
+#
+# Copyright (C) 1996, 1997, 1999 Free Software Foundation, Inc.
+# Written by Michael I. Bushnell, p/BSG.
+#
+# This file is part of the GNU Hurd.
+#
+# The GNU Hurd is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2, or (at
+# your option) any later version.
+#
+# The GNU Hurd is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
+
+dir := config
+makemode := misc
+
+# Files that are copied verbatim to $(sysconfdir). But we never want
+# to overwrite an existing file. Print a warning for such files.
+# If override_conf is set to `t' then install even on top of existing
+# files.
+SYSCONFFILES = motd ttys
+
+installed_conf = $(addprefix $(sysconfdir)/,$(SYSCONFFILES))
+
+LOGINDOTS = .bash_login .bashrc .hushlogin .profile README
+installed_logins = $(addprefix $(sysconfdir)/login/,$(LOGINDOTS))
+
+DIST_FILES=$(SYSCONFFILES) $(addprefix login-,$(LOGINDOTS))
+
+FORCE:
+
+ifeq ($(override_conf),t)
+$(installed_conf): FORCE
+endif
+
+$(installed_logins): FORCE
+
+include ../Makeconf
+
+install: $(sysconfdir) $(sysconfdir)/login \
+ $(installed_conf) $(installed_logins)
+
+$(sysconfdir)/login: %:
+ mkdir -p $@
+
+$(installed_logins): $(sysconfdir)/login/%: login-%
+ $(INSTALL_DATA) $< $(sysconfdir)/login/$*
+
+$(installed_conf): $(sysconfdir)/%: %
+ $(INSTALL_DATA) $< $(sysconfdir)/$*
diff --git a/config/login-.bash_login b/config/login-.bash_login
new file mode 100644
index 00000000..19e522b2
--- /dev/null
+++ b/config/login-.bash_login
@@ -0,0 +1,2 @@
+. .bashrc
+. .profile
diff --git a/config/login-.bashrc b/config/login-.bashrc
new file mode 100644
index 00000000..cc2447fb
--- /dev/null
+++ b/config/login-.bashrc
@@ -0,0 +1,11 @@
+# login -- a normal login
+alias login='exec login -p -R-p -R-aHOME -R-aMOTD -R-e_LOGIN_RETRY=yes'
+alias logon=login
+alias l=login
+alias su=login
+
+# quick login -- don't act like a login shell, but do cd to $HOME
+alias ql='exec login -pSL -aMOTD -R-p -R-aHOME -R-aMOTD -R-e_LOGIN_RETRY=yes'
+
+alias help='cat $HOME/README'
+alias '?'=help
diff --git a/config/login-.hushlogin b/config/login-.hushlogin
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/config/login-.hushlogin
diff --git a/config/login-.profile b/config/login-.profile
new file mode 100644
index 00000000..92a5e309
--- /dev/null
+++ b/config/login-.profile
@@ -0,0 +1,3 @@
+PS1='login> '
+test "$_LOGIN_RETRY" || echo "Use \`login USER' to login, or \`help' for more information."
+unset _LOGIN_RETRY
diff --git a/config/login-README b/config/login-README
new file mode 100644
index 00000000..9855ecf5
--- /dev/null
+++ b/config/login-README
@@ -0,0 +1,10 @@
+This is a hurd login shell; it is a normal user shell, but has no user
+privileges. To login as a user with a userid of USER, use the command:
+
+ login USER
+
+other useful commands:
+
+ ql USER # quick login -- just start a shell in USER's home directory
+ su USER # set the id of the current (login) shell to USER
+ # (use the `unsu' command to undo this, or just exit the shell)
diff --git a/config/motd b/config/motd
new file mode 100644
index 00000000..03e10be9
--- /dev/null
+++ b/config/motd
@@ -0,0 +1 @@
+This is the Hurd. Welcome.
diff --git a/config/ttys b/config/ttys
new file mode 100644
index 00000000..2ba59f56
--- /dev/null
+++ b/config/ttys
@@ -0,0 +1,8 @@
+# Programs to be maintained on terminal lines. init runs these programs,
+# and restartsthem when they die. Note that in GNU, unlike in BSD, there
+# is no need to list pseudo-ttys here.
+
+# name program type status comments
+
+console "/libexec/getty 9600" mach on secure trusted console
+#com0 "/libexec/getty 9600" dialup on secure