fix runuser man page

This commit is contained in:
Daniel J Walsh 2004-10-04 17:33:37 +00:00
parent a6ebcfef0c
commit 1600261614
2 changed files with 26 additions and 22 deletions

View File

@ -1,10 +1,10 @@
--- /dev/null 2004-09-27 09:59:52.239792360 -0400 --- /dev/null 2004-09-30 04:21:43.103661032 -0400
+++ coreutils-5.2.1/man/runuser.1 2004-09-28 16:15:57.819068795 -0400 +++ coreutils-5.2.1/man/runuser.1 2004-10-04 13:27:51.614675086 -0400
@@ -0,0 +1,58 @@ @@ -0,0 +1,59 @@
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.33. +.\" 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 +.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 +.SH SYNOPSIS
+.B runuser +.B runuser
+[\fIOPTION\fR]... [\fI-\fR] [\fIUSER \fR[\fIARG\fR]...] +[\fIOPTION\fR]... [\fI-\fR] [\fIUSER \fR[\fIARG\fR]...]
@ -39,7 +39,7 @@
+.PP +.PP
+A mere - implies \fB\-l\fR. If USER not given, assume root. +A mere - implies \fB\-l\fR. If USER not given, assume root.
+.SH AUTHOR +.SH AUTHOR
+Written by David MacKenzie. +Written by David MacKenzie, Dan Walsh.
+.SH "REPORTING BUGS" +.SH "REPORTING BUGS"
+Report bugs to <bug-coreutils@gnu.org>. +Report bugs to <bug-coreutils@gnu.org>.
+.SH COPYRIGHT +.SH COPYRIGHT
@ -48,6 +48,7 @@
+This is free software; see the source for copying conditions. There is NO +This is free software; see the source for copying conditions. There is NO
+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+.SH "SEE ALSO" +.SH "SEE ALSO"
+Since this command is trimmed down version of su use you can use the su manual.
+The full documentation for +The full documentation for
+.B su +.B su
+is maintained as a Texinfo manual. If the +is maintained as a Texinfo manual. If the
@ -56,11 +57,11 @@
+.B su +.B su
+programs are properly installed at your site, the command +programs are properly installed at your site, the command
+.IP +.IP
+.B info coreutils runuser +.B info coreutils su
+.PP +.PP
+should give you access to the complete manual. +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.runuser 2004-10-04 13:26:23.658654506 -0400
+++ coreutils-5.2.1/man/Makefile.am 2004-09-28 16:15:37.500277206 -0400 +++ coreutils-5.2.1/man/Makefile.am 2004-10-04 13:26:23.698649968 -0400
@@ -10,7 +10,7 @@ @@ -10,7 +10,7 @@
rm.1 rmdir.1 seq.1 sha1sum.1 shred.1 sleep.1 sort.1 split.1 stat.1 stty.1 \ 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 \ 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 SUFFIXES = .x .1
--- /dev/null 2004-09-27 09:59:52.239792360 -0400 --- /dev/null 2004-09-30 04:21:43.103661032 -0400
+++ coreutils-5.2.1/man/runuser.x 2004-09-28 15:33:53.432048372 -0400 +++ coreutils-5.2.1/man/runuser.x 2004-10-04 13:26:23.700649741 -0400
@@ -0,0 +1,4 @@ @@ -0,0 +1,4 @@
+[NAME] +[NAME]
+runuser \- run a shell with substitute user and group IDs +runuser \- run a shell with substitute user and group IDs
+[DESCRIPTION] +[DESCRIPTION]
+.\" Add any additional description here +.\" Add any additional description here
--- coreutils-5.2.1/README.runuser 2004-09-28 15:33:53.421049527 -0400 --- coreutils-5.2.1/README.runuser 2004-10-04 13:26:23.679652124 -0400
+++ coreutils-5.2.1/README 2004-09-28 16:12:26.157032857 -0400 +++ coreutils-5.2.1/README 2004-10-04 13:26:23.701649628 -0400
@@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@
df dir dircolors dirname du echo env expand expr factor false fmt fold 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 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 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 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.runuser 2004-10-04 13:26:23.581663242 -0400
+++ coreutils-5.2.1/tests/help-version 2004-09-28 16:13:35.863480264 -0400 +++ coreutils-5.2.1/tests/help-version 2004-10-04 13:26:23.702649514 -0400
@@ -132,6 +132,7 @@ @@ -132,6 +132,7 @@
seq_args=10 seq_args=10
sleep_args=0 sleep_args=0
@ -106,8 +107,8 @@
test_args=foo test_args=foo
# This is necessary in the unusual event that there is # 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.runuser 2004-10-04 13:26:23.230703061 -0400
+++ coreutils-5.2.1/src/su.c 2004-09-28 15:33:53.437047847 -0400 +++ coreutils-5.2.1/src/su.c 2004-10-04 13:26:23.704649288 -0400
@@ -171,6 +171,10 @@ @@ -171,6 +171,10 @@
#ifndef USE_PAM #ifndef USE_PAM
char *crypt (); char *crypt ();
@ -128,8 +129,8 @@
{ {
#ifdef SYSLOG_FAILURE #ifdef SYSLOG_FAILURE
log_su (pw, 0); 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.runuser 2004-10-04 13:26:23.598661313 -0400
+++ coreutils-5.2.1/src/Makefile.am 2004-09-28 15:33:53.435048057 -0400 +++ coreutils-5.2.1/src/Makefile.am 2004-10-04 13:26:23.705649174 -0400
@@ -9,7 +9,7 @@ @@ -9,7 +9,7 @@
cat cksum comm csplit cut expand fmt fold head join md5sum \ 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 \ nl od paste pr ptx sha1sum sort split sum tac tail tr tsort unexpand uniq wc \
@ -147,8 +148,8 @@
$(PROGRAMS): ../lib/libfetish.a $(PROGRAMS): ../lib/libfetish.a
--- /dev/null 2004-09-27 09:59:52.239792360 -0400 --- /dev/null 2004-09-30 04:21:43.103661032 -0400
+++ coreutils-5.2.1/src/runuser.c 2004-09-28 15:33:53.434048162 -0400 +++ coreutils-5.2.1/src/runuser.c 2004-10-04 13:26:23.707648947 -0400
@@ -0,0 +1,33 @@ @@ -0,0 +1,33 @@
+#define CHECKPASSWD 0 +#define CHECKPASSWD 0
+#define pam_start my_pam_start +#define pam_start my_pam_start

View File

@ -4,7 +4,7 @@
Summary: The GNU core utilities: a set of tools commonly used in shell scripts Summary: The GNU core utilities: a set of tools commonly used in shell scripts
Name: coreutils Name: coreutils
Version: 5.2.1 Version: 5.2.1
Release: 26 Release: 28
License: GPL License: GPL
Group: System Environment/Base Group: System Environment/Base
Url: ftp://alpha.gnu.org/gnu/coreutils/ Url: ftp://alpha.gnu.org/gnu/coreutils/
@ -245,6 +245,9 @@ fi
%_sbindir/chroot %_sbindir/chroot
%changelog %changelog
* Mon Oct 4 2004 Dan Walsh <dwalsh@redhat.com> 5.2.1-28
- Fix runuser man page.
* Mon Oct 4 2004 Tim Waugh <twaugh@redhat.com> * Mon Oct 4 2004 Tim Waugh <twaugh@redhat.com>
- Fixed build. - Fixed build.