diff options
-rw-r--r-- | TODO | 3 | ||||
-rw-r--r-- | libtrivfs/ChangeLog | 2 | ||||
-rw-r--r-- | utils/ChangeLog | 3 | ||||
-rw-r--r-- | utils/sush.sh | 30 |
4 files changed, 31 insertions, 7 deletions
@@ -198,9 +198,6 @@ See `tasks', the exported task list. and child_lookup() doesn't supply more than fds 0-2). ** Serverboot doesn't deal with symlinks properly. ** Grub doesn't deal with symlinks properly. -** `sush --help' gets a bus error. -** `uptime --help' and `uptime --version' fail. -*** MAKEDEV should be able to make physical terminal devs. ** fsck: *** fsck should use (not-yet-added) fsys_get_options returned device instead diff --git a/libtrivfs/ChangeLog b/libtrivfs/ChangeLog index 10d83a92..8841ed2b 100644 --- a/libtrivfs/ChangeLog +++ b/libtrivfs/ChangeLog @@ -1,5 +1,7 @@ Mon Sep 23 17:20:08 1996 Miles Bader <miles@gnu.ai.mit.edu> + * file-get-fs-options.c <argz.h>: New include. + * trivfs.h (trivfs_append_args): Make ARGZ_LEN `size_t *'. * append-args.c (trivfs_append_args): Likewise. diff --git a/utils/ChangeLog b/utils/ChangeLog index 147b3d03..783ea0c4 100644 --- a/utils/ChangeLog +++ b/utils/ChangeLog @@ -1,6 +1,7 @@ Mon Sep 23 00:19:05 1996 Miles Bader <miles@gnu.ai.mit.edu> - * sush.sh: Add option parsing, version number, &c. + * sush.sh, uptime.sh: Add option parsing, version number, &c. + Add copyright notice. * Makefile (login-LDLIBS): Add $(LIBCRYPT). diff --git a/utils/sush.sh b/utils/sush.sh index 2a61fc7f..e5552006 100644 --- a/utils/sush.sh +++ b/utils/sush.sh @@ -1,5 +1,26 @@ #!/bin/sh -# A unix-like su (one which invokes a sub-shell). +# A unix-like su (one which invokes a sub-shell). +# +# Copyright (C) 1996 Free Software Foundation, Inc. +# +# Written by Miles Bader <miles@gnu.ai.mit.edu> +# +# 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., 675 Mass Ave, Cambridge, MA 02139, USA. +# ARGS_DOC="[USER|- [COMMAND [ARG...]]]" USAGE="Usage: $0 $ARGS_DOC" @@ -36,10 +57,13 @@ while :; do echo " -U USER, --avail-user=USER Add USER to the available uids" echo " --usage Give a short usage message" echo " -V, --version Print program version" + echo "" + echo "Unlike the traditional unix \`su' command, if USER is not specified," + echo "then the result is *no* user-ids, not uid 0." exit 0;; --usage) (echo "Usage: $0 [-V?]" - echo " [-e ENTRY] [-E ENTRY] [-g GROUP] [-G GROUP] [-u USER] [-U USER] [--envvar=ENTRY] [--envvar-default=ENTRY] [--group=GROUP] [--avail-group=GROUP][--group=GROUP] [--avail-group=GROUP] [--user=USER] [--avail-user=USER][--help] [--usage] [--version] $ARGS_DOC") |$FMT -t + echo " [-e ENTRY] [-E ENTRY] [-g GROUP] [-G GROUP] [-u USER] [-U USER] [--envvar=ENTRY] [--envvar-default=ENTRY] [--group=GROUP] [--avail-group=GROUP][--group=GROUP] [--avail-group=GROUP] [--user=USER] [--avail-user=USER] [--help] [--usage] [--version] $ARGS_DOC") |$FMT -t exit 0;; --version|-V) echo "STANDARD_HURD_VERSION_sush_"; exit 0;; @@ -57,6 +81,6 @@ case "$needs_arg" in ?*) echo 1>&2 "$0: option \`$1' requires an argument" echo 1>&2 "Try \`$0 --help' or \`$0 --usage' for more information"; exit 1;; -esac +esac exec $LOGIN --program-name="$0" -pxSLf -aHOME -aMOTD -aUMASK -aBACKUP_SHELLS "$@" |