From 1600261614e0b29dca443a95dd34d6a99e7ae24b Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Oct 04 2004 17:33:37 +0000 Subject: fix runuser man page --- diff --git a/coreutils-5.2.1-runuser.patch b/coreutils-5.2.1-runuser.patch index d38395a..c5e0b96 100644 --- a/coreutils-5.2.1-runuser.patch +++ b/coreutils-5.2.1-runuser.patch @@ -1,10 +1,10 @@ ---- /dev/null 2004-09-27 09:59:52.239792360 -0400 -+++ coreutils-5.2.1/man/runuser.1 2004-09-28 16:15:57.819068795 -0400 -@@ -0,0 +1,58 @@ +--- /dev/null 2004-09-30 04:21:43.103661032 -0400 ++++ coreutils-5.2.1/man/runuser.1 2004-10-04 13:27:51.614675086 -0400 +@@ -0,0 +1,59 @@ +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.33. -+.TH SU "1" "September 2004" "su (coreutils) 5.2.1" "User Commands" ++.TH RUNUSER "1" "September 2004" "runuser (coreutils) 5.2.1" "User Commands" +.SH NAME -+runuser \- run a shell with substitute user and group IDs ++runuser \- run a shell with substitute user and group IDs, similar to su, but will not prompt for password. +.SH SYNOPSIS +.B runuser +[\fIOPTION\fR]... [\fI-\fR] [\fIUSER \fR[\fIARG\fR]...] @@ -39,7 +39,7 @@ +.PP +A mere - implies \fB\-l\fR. If USER not given, assume root. +.SH AUTHOR -+Written by David MacKenzie. ++Written by David MacKenzie, Dan Walsh. +.SH "REPORTING BUGS" +Report bugs to . +.SH COPYRIGHT @@ -48,6 +48,7 @@ +This is free software; see the source for copying conditions. There is NO +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +.SH "SEE ALSO" ++Since this command is trimmed down version of su use you can use the su manual. +The full documentation for +.B su +is maintained as a Texinfo manual. If the @@ -56,11 +57,11 @@ +.B su +programs are properly installed at your site, the command +.IP -+.B info coreutils runuser ++.B info coreutils su +.PP +should give you access to the complete manual. ---- coreutils-5.2.1/man/Makefile.am.runuser 2004-09-28 15:33:53.401051627 -0400 -+++ coreutils-5.2.1/man/Makefile.am 2004-09-28 16:15:37.500277206 -0400 +--- coreutils-5.2.1/man/Makefile.am.runuser 2004-10-04 13:26:23.658654506 -0400 ++++ coreutils-5.2.1/man/Makefile.am 2004-10-04 13:26:23.698649968 -0400 @@ -10,7 +10,7 @@ rm.1 rmdir.1 seq.1 sha1sum.1 shred.1 sleep.1 sort.1 split.1 stat.1 stty.1 \ su.1 sum.1 sync.1 tac.1 tail.1 tee.1 test.1 touch.1 tr.1 true.1 tsort.1 \ @@ -78,15 +79,15 @@ SUFFIXES = .x .1 ---- /dev/null 2004-09-27 09:59:52.239792360 -0400 -+++ coreutils-5.2.1/man/runuser.x 2004-09-28 15:33:53.432048372 -0400 +--- /dev/null 2004-09-30 04:21:43.103661032 -0400 ++++ coreutils-5.2.1/man/runuser.x 2004-10-04 13:26:23.700649741 -0400 @@ -0,0 +1,4 @@ +[NAME] +runuser \- run a shell with substitute user and group IDs +[DESCRIPTION] +.\" Add any additional description here ---- coreutils-5.2.1/README.runuser 2004-09-28 15:33:53.421049527 -0400 -+++ coreutils-5.2.1/README 2004-09-28 16:12:26.157032857 -0400 +--- coreutils-5.2.1/README.runuser 2004-10-04 13:26:23.679652124 -0400 ++++ coreutils-5.2.1/README 2004-10-04 13:26:23.701649628 -0400 @@ -11,7 +11,7 @@ df dir dircolors dirname du echo env expand expr factor false fmt fold ginstall groups head hostid hostname id join kill link ln logname ls @@ -96,8 +97,8 @@ split stat stty su sum sync tac tail tee test touch tr true tsort tty uname unexpand uniq unlink uptime users vdir wc who whoami yes ---- coreutils-5.2.1/tests/help-version.runuser 2004-09-28 15:33:53.360055931 -0400 -+++ coreutils-5.2.1/tests/help-version 2004-09-28 16:13:35.863480264 -0400 +--- coreutils-5.2.1/tests/help-version.runuser 2004-10-04 13:26:23.581663242 -0400 ++++ coreutils-5.2.1/tests/help-version 2004-10-04 13:26:23.702649514 -0400 @@ -132,6 +132,7 @@ seq_args=10 sleep_args=0 @@ -106,8 +107,8 @@ test_args=foo # This is necessary in the unusual event that there is ---- coreutils-5.2.1/src/su.c.runuser 2004-09-28 15:33:53.109082284 -0400 -+++ coreutils-5.2.1/src/su.c 2004-09-28 15:33:53.437047847 -0400 +--- coreutils-5.2.1/src/su.c.runuser 2004-10-04 13:26:23.230703061 -0400 ++++ coreutils-5.2.1/src/su.c 2004-10-04 13:26:23.704649288 -0400 @@ -171,6 +171,10 @@ #ifndef USE_PAM char *crypt (); @@ -128,8 +129,8 @@ { #ifdef SYSLOG_FAILURE log_su (pw, 0); ---- coreutils-5.2.1/src/Makefile.am.runuser 2004-09-28 15:33:53.377054147 -0400 -+++ coreutils-5.2.1/src/Makefile.am 2004-09-28 15:33:53.435048057 -0400 +--- coreutils-5.2.1/src/Makefile.am.runuser 2004-10-04 13:26:23.598661313 -0400 ++++ coreutils-5.2.1/src/Makefile.am 2004-10-04 13:26:23.705649174 -0400 @@ -9,7 +9,7 @@ cat cksum comm csplit cut expand fmt fold head join md5sum \ nl od paste pr ptx sha1sum sort split sum tac tail tr tsort unexpand uniq wc \ @@ -147,8 +148,8 @@ $(PROGRAMS): ../lib/libfetish.a ---- /dev/null 2004-09-27 09:59:52.239792360 -0400 -+++ coreutils-5.2.1/src/runuser.c 2004-09-28 15:33:53.434048162 -0400 +--- /dev/null 2004-09-30 04:21:43.103661032 -0400 ++++ coreutils-5.2.1/src/runuser.c 2004-10-04 13:26:23.707648947 -0400 @@ -0,0 +1,33 @@ +#define CHECKPASSWD 0 +#define pam_start my_pam_start diff --git a/coreutils.spec b/coreutils.spec index 7dd0308..e458e01 100644 --- a/coreutils.spec +++ b/coreutils.spec @@ -4,7 +4,7 @@ Summary: The GNU core utilities: a set of tools commonly used in shell scripts Name: coreutils Version: 5.2.1 -Release: 26 +Release: 28 License: GPL Group: System Environment/Base Url: ftp://alpha.gnu.org/gnu/coreutils/ @@ -245,6 +245,9 @@ fi %_sbindir/chroot %changelog +* Mon Oct 4 2004 Dan Walsh 5.2.1-28 +- Fix runuser man page. + * Mon Oct 4 2004 Tim Waugh - Fixed build.