From owner-cvs-usrbin Sun Mar 10 15:34:08 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id PAA29282 for cvs-usrbin-outgoing; Sun, 10 Mar 1996 15:34:08 -0800 (PST) Received: (from ache@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id PAA29265 Sun, 10 Mar 1996 15:33:51 -0800 (PST) Date: Sun, 10 Mar 1996 15:33:51 -0800 (PST) From: "Andrey A. Chernov" Message-Id: <199603102333.PAA29265@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrbin Subject: cvs commit: src/usr.bin/finger net.c Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk ache 96/03/10 15:33:50 Modified: usr.bin/finger net.c Log: Print 8bit chars from the net if current locale allows them Revision Changes Path 1.5 +3 -2 src/usr.bin/finger/net.c From owner-cvs-usrbin Sun Mar 10 19:03:32 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id TAA16590 for cvs-usrbin-outgoing; Sun, 10 Mar 1996 19:03:32 -0800 (PST) Received: (from hsu@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id TAA16554 Sun, 10 Mar 1996 19:03:16 -0800 (PST) Date: Sun, 10 Mar 1996 19:03:16 -0800 (PST) From: Jeffrey Hsu Message-Id: <199603110303.TAA16554@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrbin Subject: cvs commit: src/usr.bin/nfsstat nfsstat.c Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk hsu 96/03/10 19:03:15 Modified: usr.bin/nfsstat nfsstat.c Log: From Lite2: rename fs to vfs. Revision Changes Path 1.6 +2 -2 src/usr.bin/nfsstat/nfsstat.c From owner-cvs-usrbin Sun Mar 10 19:09:15 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id TAA17171 for cvs-usrbin-outgoing; Sun, 10 Mar 1996 19:09:15 -0800 (PST) Received: (from mpp@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id TAA17141 Sun, 10 Mar 1996 19:09:04 -0800 (PST) Date: Sun, 10 Mar 1996 19:09:04 -0800 (PST) From: Mike Pritchard Message-Id: <199603110309.TAA17141@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrbin Subject: cvs commit: src/usr.bin/apply apply.1 Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk mpp 96/03/10 19:09:03 Modified: usr.bin/apply apply.1 Log: Change an incorrect reference to the "-n" flag to "-#". Submitted by: Masanobu Saitoh Obtained from: NetBSD-bugs mailing list Revision Changes Path 1.2 +1 -1 src/usr.bin/apply/apply.1 From owner-cvs-usrbin Sun Mar 10 19:32:18 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id TAA19248 for cvs-usrbin-outgoing; Sun, 10 Mar 1996 19:32:18 -0800 (PST) Received: (from mpp@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id TAA19103 Sun, 10 Mar 1996 19:31:57 -0800 (PST) Date: Sun, 10 Mar 1996 19:31:57 -0800 (PST) From: Mike Pritchard Message-Id: <199603110331.TAA19103@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrbin Subject: cvs commit: src/usr.bin/xinstall install.1 Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk mpp 96/03/10 19:31:56 Modified: usr.bin/xinstall install.1 Log: Fix a couple of typos. Submitted by: Philippe Charnier Revision Changes Path 1.4 +3 -3 src/usr.bin/xinstall/install.1 From owner-cvs-usrbin Sun Mar 10 19:36:39 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id TAA19641 for cvs-usrbin-outgoing; Sun, 10 Mar 1996 19:36:39 -0800 (PST) Received: (from mpp@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id TAA19562 Sun, 10 Mar 1996 19:36:17 -0800 (PST) Date: Sun, 10 Mar 1996 19:36:17 -0800 (PST) From: Mike Pritchard Message-Id: <199603110336.TAA19562@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrbin Subject: cvs commit: src/usr.bin/strip strip.c Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk mpp 96/03/10 19:36:15 Modified: usr.bin/strip strip.c Log: Add the -x option to the usage string. Submitted by: Philippe Charnier Revision Changes Path 1.6 +2 -2 src/usr.bin/strip/strip.c From owner-cvs-usrbin Sun Mar 10 20:50:27 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id UAA26335 for cvs-usrbin-outgoing; Sun, 10 Mar 1996 20:50:27 -0800 (PST) Received: (from mpp@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id UAA26312 Sun, 10 Mar 1996 20:50:15 -0800 (PST) Date: Sun, 10 Mar 1996 20:50:15 -0800 (PST) From: Mike Pritchard Message-Id: <199603110450.UAA26312@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrbin Subject: cvs commit: src/usr.bin/calendar calendar.1 Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk mpp 96/03/10 20:50:14 Modified: usr.bin/calendar calendar.1 Log: Fix some grammer problems. Revision Changes Path 1.5 +4 -7 src/usr.bin/calendar/calendar.1 From owner-cvs-usrbin Mon Mar 11 04:56:20 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id EAA06392 for cvs-usrbin-outgoing; Mon, 11 Mar 1996 04:56:20 -0800 (PST) Received: (from davidg@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id EAA06378 Mon, 11 Mar 1996 04:56:09 -0800 (PST) Date: Mon, 11 Mar 1996 04:56:09 -0800 (PST) From: David Greenman Message-Id: <199603111256.EAA06378@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrbin Subject: cvs commit: src/usr.bin/kdump mkioctls Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk davidg 96/03/11 04:56:08 Modified: usr.bin/kdump mkioctls Log: Include queue.h in preparation for upcoming struct socket changes. Revision Changes Path 1.3 +1 -0 src/usr.bin/kdump/mkioctls From owner-cvs-usrbin Mon Mar 11 04:58:39 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id EAA06660 for cvs-usrbin-outgoing; Mon, 11 Mar 1996 04:58:39 -0800 (PST) Received: (from davidg@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id EAA06612 Mon, 11 Mar 1996 04:58:29 -0800 (PST) Date: Mon, 11 Mar 1996 04:58:29 -0800 (PST) From: David Greenman Message-Id: <199603111258.EAA06612@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrbin Subject: cvs commit: src/usr.bin/netstat inet.c ipx.c mroute.c unix.c Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk davidg 96/03/11 04:58:28 Modified: usr.bin/netstat inet.c ipx.c mroute.c unix.c Log: Move #include of queue.h before #include of socketvar.h in preparation for struct socket changes. Revision Changes Path 1.17 +1 -1 src/usr.bin/netstat/inet.c 1.2 +1 -0 src/usr.bin/netstat/ipx.c 1.5 +1 -0 src/usr.bin/netstat/mroute.c 1.2 +1 -0 src/usr.bin/netstat/unix.c From owner-cvs-usrbin Mon Mar 11 05:00:18 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id FAA06880 for cvs-usrbin-outgoing; Mon, 11 Mar 1996 05:00:18 -0800 (PST) Received: (from davidg@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id FAA06866 Mon, 11 Mar 1996 05:00:13 -0800 (PST) Date: Mon, 11 Mar 1996 05:00:13 -0800 (PST) From: David Greenman Message-Id: <199603111300.FAA06866@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrbin Subject: cvs commit: src/usr.bin/showmount showmount.c Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk davidg 96/03/11 05:00:13 Modified: usr.bin/showmount showmount.c Log: Include queue.h in preparation of struct socket changes. Revision Changes Path 1.3 +1 -0 src/usr.bin/showmount/showmount.c From owner-cvs-usrbin Mon Mar 11 05:01:17 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id FAA06985 for cvs-usrbin-outgoing; Mon, 11 Mar 1996 05:01:17 -0800 (PST) Received: (from davidg@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id FAA06971 Mon, 11 Mar 1996 05:01:13 -0800 (PST) Date: Mon, 11 Mar 1996 05:01:13 -0800 (PST) From: David Greenman Message-Id: <199603111301.FAA06971@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrbin Subject: cvs commit: src/usr.bin/systat netcmds.c netstat.c Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk davidg 96/03/11 05:01:13 Modified: usr.bin/systat netcmds.c netstat.c Log: Move #include of queue.h before #include of socketvar.h in preparation for struct socket changes. Revision Changes Path 1.3 +1 -1 src/usr.bin/systat/netcmds.c 1.4 +1 -1 src/usr.bin/systat/netstat.c From owner-cvs-usrbin Mon Mar 11 14:15:15 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA23985 for cvs-usrbin-outgoing; Mon, 11 Mar 1996 14:15:15 -0800 (PST) Received: (from markm@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA23958 Mon, 11 Mar 1996 14:14:58 -0800 (PST) Date: Mon, 11 Mar 1996 14:14:58 -0800 (PST) From: Mark Murray Message-Id: <199603112214.OAA23958@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrbin Subject: cvs commit: src/usr.bin/su su.c Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk markm 96/03/11 14:14:56 Modified: usr.bin/su su.c Log: Make su a little less fascist about using Kerberos if it is not configured or available. Also fix a _nasty_ bug that would let one in if su -K was used. Any old password would work :-( :-(. Revision Changes Path 1.13 +7 -6 src/usr.bin/su/su.c From owner-cvs-usrbin Mon Mar 11 14:25:29 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA24770 for cvs-usrbin-outgoing; Mon, 11 Mar 1996 14:25:29 -0800 (PST) Received: from grumble.grondar.za (grumble.grondar.za [196.7.18.130]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id OAA24754 Mon, 11 Mar 1996 14:25:05 -0800 (PST) Received: from grumble.grondar.za (mark@localhost [127.0.0.1]) by grumble.grondar.za (8.7.4/8.7.3) with ESMTP id AAA05628; Tue, 12 Mar 1996 00:24:30 +0200 (SAT) Message-Id: <199603112224.AAA05628@grumble.grondar.za> To: Mark Murray cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-usrbin@freefall.freebsd.org Subject: Re: cvs commit: src/usr.bin/su su.c Date: Tue, 12 Mar 1996 00:24:30 +0200 From: Mark Murray Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Mark Murray wrote: > markm 96/03/11 14:14:56 > > Modified: usr.bin/su su.c > Log: > Make su a little less fascist about using Kerberos if it is not > configured or available. > > Also fix a _nasty_ bug that would let one in if su -K was used. > Any old password would work :-( :-(. How utterly embarrassing. At least I found this before anyone else did. Who has the pointy hat? Pass it this way please. M -- Mark Murray 46 Harvey Rd, Claremont, Cape Town 7700, South Africa +27 21 61-3768 GMT+0200 Finger mark@grondar.za for PGP key From owner-cvs-usrbin Mon Mar 11 18:44:36 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id SAA16974 for cvs-usrbin-outgoing; Mon, 11 Mar 1996 18:44:36 -0800 (PST) Received: from time.cdrom.com (time.cdrom.com [192.216.222.226]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id SAA16968 Mon, 11 Mar 1996 18:44:33 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by time.cdrom.com (8.7.4/8.6.9) with SMTP id SAA04018; Mon, 11 Mar 1996 18:44:26 -0800 (PST) To: Mark Murray cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-usrbin@freefall.freebsd.org Subject: Re: cvs commit: src/usr.bin/su su.c In-reply-to: Your message of "Mon, 11 Mar 1996 14:14:58 PST." <199603112214.OAA23958@freefall.freebsd.org> Date: Mon, 11 Mar 1996 18:44:26 -0800 Message-ID: <4016.826598666@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Actually, while you're hacking su, any chance of seeing the -c feature come back? We used to have it (I know, I committed it myself) then somebody blew it away somewhere along the line. Jordan > markm 96/03/11 14:14:56 > > Modified: usr.bin/su su.c > Log: > Make su a little less fascist about using Kerberos if it is not > configured or available. > > Also fix a _nasty_ bug that would let one in if su -K was used. > Any old password would work :-( :-(. > > Revision Changes Path > 1.13 +7 -6 src/usr.bin/su/su.c From owner-cvs-usrbin Mon Mar 11 22:01:06 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id WAA02185 for cvs-usrbin-outgoing; Mon, 11 Mar 1996 22:01:06 -0800 (PST) Received: from grumble.grondar.za (root@grumble.grondar.za [196.7.18.130]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id WAA02167 Mon, 11 Mar 1996 22:00:56 -0800 (PST) Received: from grumble.grondar.za (mark@localhost [127.0.0.1]) by grumble.grondar.za (8.7.4/8.7.3) with ESMTP id HAA06555; Tue, 12 Mar 1996 07:59:50 +0200 (SAT) Message-Id: <199603120559.HAA06555@grumble.grondar.za> To: "Jordan K. Hubbard" cc: Mark Murray , CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-usrbin@freefall.freebsd.org Subject: Re: cvs commit: src/usr.bin/su su.c Date: Tue, 12 Mar 1996 07:59:49 +0200 From: Mark Murray Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk "Jordan K. Hubbard" wrote: > Actually, while you're hacking su, any chance of seeing the -c > feature come back? We used to have it (I know, I committed it myself) > then somebody blew it away somewhere along the line. Sure! I remember this. Long time back - 1.1 days? M -- Mark Murray 46 Harvey Rd, Claremont, Cape Town 7700, South Africa +27 21 61-3768 GMT+0200 Finger mark@grondar.za for PGP key From owner-cvs-usrbin Mon Mar 11 22:31:04 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id WAA06275 for cvs-usrbin-outgoing; Mon, 11 Mar 1996 22:31:04 -0800 (PST) Received: from jhome.DIALix.COM (root@jhome.DIALix.COM [192.203.228.69]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id WAA06255 Mon, 11 Mar 1996 22:30:43 -0800 (PST) Received: from localhost.DIALix.oz.au (peter@localhost.DIALix.oz.au [127.0.0.1]) by jhome.DIALix.COM (8.7.4/8.7.3) with SMTP id OAA02941; Tue, 12 Mar 1996 14:29:12 +0800 (WST) Message-Id: <199603120629.OAA02941@jhome.DIALix.COM> X-Authentication-Warning: jhome.DIALix.COM: Host peter@localhost.DIALix.oz.au [127.0.0.1] didn't use HELO protocol To: Mark Murray cc: "Jordan K. Hubbard" , Mark Murray , CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-usrbin@freefall.freebsd.org Subject: Re: cvs commit: src/usr.bin/su su.c In-reply-to: Your message of "Tue, 12 Mar 1996 07:59:49 +0200." <199603120559.HAA06555@grumble.grondar.za> Date: Tue, 12 Mar 1996 14:29:12 +0800 From: Peter Wemm Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >"Jordan K. Hubbard" wrote: >> Actually, while you're hacking su, any chance of seeing the -c >> feature come back? We used to have it (I know, I committed it myself) >> then somebody blew it away somewhere along the line. > >Sure! I remember this. Long time back - 1.1 days? > >M It worked a few weeks ago.. Is this what you mean? Script started on Tue Mar 12 14:26:29 1996 peter@jhome[2:26pm]/tmp-103> l /usr/bin/su 12 -r-sr-xr-x 1 root bin 12288 Feb 22 16:09 /usr/bin/su* peter@jhome[2:26pm]/tmp-104> su peter -c id Password: uid=433(peter) gid=433(peter) groups=433(peter), 0(wheel), 499(ncvs) peter@jhome[2:26pm]/tmp-105> uname -a FreeBSD jhome.DIALix.COM 2.2-CURRENT FreeBSD 2.2-CURRENT #320: Tue Mar 12 04:59:12 WST 1996 peter@jhome.DIALix.COM:/home/src/sys/compile/JHOME i386 peter@jhome[2:27pm]/tmp-106> Script done on Tue Mar 12 14:27:05 1996 Cheers, -Peter From owner-cvs-usrbin Mon Mar 11 22:40:23 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id WAA07336 for cvs-usrbin-outgoing; Mon, 11 Mar 1996 22:40:23 -0800 (PST) Received: from time.cdrom.com (time.cdrom.com [192.216.222.226]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id WAA07325 Mon, 11 Mar 1996 22:40:20 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by time.cdrom.com (8.7.4/8.6.9) with SMTP id WAA01662; Mon, 11 Mar 1996 22:39:17 -0800 (PST) To: Peter Wemm cc: Mark Murray , Mark Murray , CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-usrbin@freefall.freebsd.org Subject: Re: cvs commit: src/usr.bin/su su.c In-reply-to: Your message of "Tue, 12 Mar 1996 14:29:12 +0800." <199603120629.OAA02941@jhome.DIALix.COM> Date: Mon, 11 Mar 1996 22:39:17 -0800 Message-ID: <1660.826612757@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > It worked a few weeks ago.. Is this what you mean? > > Script started on Tue Mar 12 14:26:29 1996 > > peter@jhome[2:26pm]/tmp-103> l /usr/bin/su > 12 -r-sr-xr-x 1 root bin 12288 Feb 22 16:09 /usr/bin/su* > > peter@jhome[2:26pm]/tmp-104> su peter -c id Hmmm. Sonofagun! Still a couple of things here though.. First, the -c option is undocumented. If you get a usage string out of it, it won't list -c among the supported options, nor is it in the man page. Second, it doesn't seem to work in the absence of a username anymore, e.g. you can't say: su -c id To run the command as root. These two factors led me to believe that it was still unimplemented. Jordan From owner-cvs-usrbin Mon Mar 11 22:54:13 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id WAA08277 for cvs-usrbin-outgoing; Mon, 11 Mar 1996 22:54:13 -0800 (PST) Received: from grumble.grondar.za (root@grumble.grondar.za [196.7.18.130]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id WAA08272 Mon, 11 Mar 1996 22:54:04 -0800 (PST) Received: from grumble.grondar.za (mark@localhost [127.0.0.1]) by grumble.grondar.za (8.7.4/8.7.3) with ESMTP id IAA07022; Tue, 12 Mar 1996 08:52:50 +0200 (SAT) Message-Id: <199603120652.IAA07022@grumble.grondar.za> To: "Jordan K. Hubbard" cc: Peter Wemm , Mark Murray , Mark Murray , CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-usrbin@freefall.freebsd.org Subject: Re: cvs commit: src/usr.bin/su su.c Date: Tue, 12 Mar 1996 08:52:49 +0200 From: Mark Murray Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk "Jordan K. Hubbard" wrote: > First, the -c option is undocumented. If you get a usage string out > of it, it won't list -c among the supported options, nor is it in the > man page. It is not actually a su option, it is directly passed as an option to the subshell. Its mentioned in my manpage (-current/international). Maybe I'd better bring that over. > Second, it doesn't seem to work in the absence of a username anymore, > e.g. you can't say: > > su -c id Right. > To run the command as root. These two factors led me to believe > that it was still unimplemented. The advantages of accurate docs! M -- Mark Murray 46 Harvey Rd, Claremont, Cape Town 7700, South Africa +27 21 61-3768 GMT+0200 Finger mark@grondar.za for PGP key From owner-cvs-usrbin Tue Mar 12 00:09:12 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id AAA13664 for cvs-usrbin-outgoing; Tue, 12 Mar 1996 00:09:12 -0800 (PST) Received: from ibp.ibp.fr (ibp.ibp.fr [132.227.60.30]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id AAA13568 Tue, 12 Mar 1996 00:08:31 -0800 (PST) Received: from blaise.ibp.fr (blaise.ibp.fr [132.227.60.1]) by ibp.ibp.fr (8.6.12/jtpda-5.0) with ESMTP id JAA06722 ; Tue, 12 Mar 1996 09:08:25 +0100 Received: from (uucp@localhost) by blaise.ibp.fr (8.6.12/jtpda-5.0) with UUCP id JAA12267 ; Tue, 12 Mar 1996 09:08:25 +0100 Received: (from roberto@localhost) by keltia.freenix.fr (8.7.4/keltia-uucp-2.7) id IAA01213; Tue, 12 Mar 1996 08:38:18 +0100 (MET) From: Ollivier Robert Message-Id: <199603120738.IAA01213@keltia.freenix.fr> Subject: Re: cvs commit: src/usr.bin/su su.c To: mark@grondar.za (Mark Murray) Date: Tue, 12 Mar 1996 08:38:18 +0100 (MET) Cc: jkh@time.cdrom.com, markm@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-usrbin@freefall.freebsd.org In-Reply-To: <199603120559.HAA06555@grumble.grondar.za> from Mark Murray at "Mar 12, 96 07:59:49 am" X-Operating-System: FreeBSD 2.2-CURRENT ctm#1762 X-Mailer: ELM [version 2.4ME+ PL11 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk It seems that Mark Murray said: > "Jordan K. Hubbard" wrote: > > Actually, while you're hacking su, any chance of seeing the -c > > feature come back? We used to have it (I know, I committed it myself) > > then somebody blew it away somewhere along the line. > > Sure! I remember this. Long time back - 1.1 days? Uh Jordan & Mark ? ------------------------------------------------------------ revision 1.9 date: 1995/09/06 12:38:53; author: joerg; state: Exp; lines: +22 -8 Bring Barry Morris' changes from FreeBSD 1.1.5.1 back: pass arguments to the target login's shell. This allows for "su -c". Do it right this time and also explain this behaviour in the man page. :) Obtained from: bsm's work in FreeBSD 1.1.5.1 ------------------------------------------------------------ 199 [8:37] root@keltia:usr.bin/su# su news -c id uid=8(news) gid=8(news) groups=8(news) -- Ollivier ROBERT -=- The daemon is FREE! -=- roberto@keltia.frmug.fr.net FreeBSD keltia.freenix.fr 2.2-CURRENT #6: Mon Mar 11 20:18:10 MET 1996 From owner-cvs-usrbin Tue Mar 12 00:16:19 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id AAA14056 for cvs-usrbin-outgoing; Tue, 12 Mar 1996 00:16:19 -0800 (PST) Received: from time.cdrom.com (time.cdrom.com [192.216.222.226]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id AAA14049 Tue, 12 Mar 1996 00:16:15 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by time.cdrom.com (8.7.4/8.6.9) with SMTP id AAA01977; Tue, 12 Mar 1996 00:15:12 -0800 (PST) To: Ollivier Robert cc: mark@grondar.za (Mark Murray), markm@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-usrbin@freefall.freebsd.org Subject: Re: cvs commit: src/usr.bin/su su.c In-reply-to: Your message of "Tue, 12 Mar 1996 08:38:18 +0100." <199603120738.IAA01213@keltia.freenix.fr> Date: Tue, 12 Mar 1996 00:15:11 -0800 Message-ID: <1975.826618511@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > Uh Jordan & Mark ? > > ------------------------------------------------------------ > revision 1.9 > date: 1995/09/06 12:38:53; author: joerg; state: Exp; lines: +22 -8 > Bring Barry Morris' changes from FreeBSD 1.1.5.1 back: pass arguments > to the target login's shell. This allows for "su -c". > > Do it right this time and also explain this behaviour in the man > page. :) > > Obtained from: bsm's work in FreeBSD 1.1.5.1 Foo... I just read further in the man page and Ollivier's right - the -c flag is documented later, just not near the top (which is where I looked, of course! :-( ) Jordan From owner-cvs-usrbin Tue Mar 12 00:22:07 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id AAA14412 for cvs-usrbin-outgoing; Tue, 12 Mar 1996 00:22:07 -0800 (PST) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id AAA14385 Tue, 12 Mar 1996 00:21:45 -0800 (PST) Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id JAA29518; Tue, 12 Mar 1996 09:21:40 +0100 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id JAA02466; Tue, 12 Mar 1996 09:21:40 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.7.4/8.6.9) id JAA03811; Tue, 12 Mar 1996 09:20:35 +0100 (MET) From: J Wunsch Message-Id: <199603120820.JAA03811@uriah.heep.sax.de> Subject: Re: cvs commit: src/usr.bin/su su.c To: jkh@time.cdrom.com (Jordan K. Hubbard) Date: Tue, 12 Mar 1996 09:20:34 +0100 (MET) Cc: markm@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-usrbin@freefall.freebsd.org Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <4016.826598666@time.cdrom.com> from "Jordan K. Hubbard" at Mar 11, 96 06:44:26 pm X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL24 ME8a] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk As Jordan K. Hubbard wrote: > > Actually, while you're hacking su, any chance of seeing the -c > feature come back? We used to have it (I know, I committed it myself) > then somebody blew it away somewhere along the line. Are you up to date? j@uriah 81% su root -c id s/key 98 ur88734 Password: uid=0(root) gid=10 groups=10 -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) From owner-cvs-usrbin Tue Mar 12 02:23:43 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id CAA25018 for cvs-usrbin-outgoing; Tue, 12 Mar 1996 02:23:43 -0800 (PST) Received: (from ache@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id CAA24990 Tue, 12 Mar 1996 02:23:33 -0800 (PST) Date: Tue, 12 Mar 1996 02:23:33 -0800 (PST) From: "Andrey A. Chernov" Message-Id: <199603121023.CAA24990@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrbin Subject: cvs commit: src/usr.bin/talk get_iface.c Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk ache 96/03/12 02:23:32 Modified: usr.bin/talk get_iface.c Log: Increment network byte order properly Reviewed by: wollman Revision Changes Path 1.2 +3 -3 src/usr.bin/talk/get_iface.c From owner-cvs-usrbin Tue Mar 12 05:14:15 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id FAA12304 for cvs-usrbin-outgoing; Tue, 12 Mar 1996 05:14:15 -0800 (PST) Received: (from phk@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id FAA12285 Tue, 12 Mar 1996 05:14:10 -0800 (PST) Date: Tue, 12 Mar 1996 05:14:10 -0800 (PST) From: Poul-Henning Kamp Message-Id: <199603121314.FAA12285@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrbin Subject: cvs commit: src/usr.bin/tail read.c Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk phk 96/03/12 05:14:10 Branch: usr.bin/tail RELENG_2_1_0 Modified: usr.bin/tail read.c Log: A fix for malloc-abuse pulled from -current. Revision Changes Path 1.1.1.1.6.1 +1 -1 src/usr.bin/tail/read.c From owner-cvs-usrbin Tue Mar 12 13:37:26 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA19565 for cvs-usrbin-outgoing; Tue, 12 Mar 1996 13:37:26 -0800 (PST) Received: (from wosch@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA19524 Tue, 12 Mar 1996 13:37:08 -0800 (PST) Date: Tue, 12 Mar 1996 13:37:08 -0800 (PST) From: Wolfram Schneider Message-Id: <199603122137.NAA19524@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrbin Subject: cvs commit: src/usr.bin/mkdep Makefile mkdep.gcc.sh Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk wosch 96/03/12 13:37:07 Modified: usr.bin/mkdep Makefile mkdep.gcc.sh Log: remove /usr/ucb from path cleanup Makefile Revision Changes Path 1.4 +0 -7 src/usr.bin/mkdep/Makefile 1.6 +1 -1 src/usr.bin/mkdep/mkdep.gcc.sh From owner-cvs-usrbin Fri Mar 15 08:42:23 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id IAA10313 for cvs-usrbin-outgoing; Fri, 15 Mar 1996 08:42:23 -0800 (PST) Received: (from olah@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id IAA10294 Fri, 15 Mar 1996 08:41:51 -0800 (PST) Date: Fri, 15 Mar 1996 08:41:51 -0800 (PST) From: Andras Olah Message-Id: <199603151641.IAA10294@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrbin Subject: cvs commit: src/usr.bin/finger finger.1 finger.c net.c Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk olah 96/03/15 08:41:50 Modified: usr.bin/finger finger.1 finger.c net.c Log: Allow the user to disable the use of T/TCP by setting the -T option. This option becomes useless when all TCP stacks are fixed out there. Revision Changes Path 1.5 +7 -1 src/usr.bin/finger/finger.1 1.9 +6 -3 src/usr.bin/finger/finger.c 1.6 +7 -0 src/usr.bin/finger/net.c