From owner-freebsd-questions Sun Jan 27 6:43:38 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mobil.cz (diana.mobil.cz [195.39.16.12]) by hub.freebsd.org (Postfix) with ESMTP id 25B8C37B400 for ; Sun, 27 Jan 2002 06:43:34 -0800 (PST) Received: from ester.mobil.cz (ester.mobil.cz [194.213.62.23]) by mobil.cz (8.11.6/8.11.0) with ESMTP id g0REhIe31411 for ; Sun, 27 Jan 2002 15:43:18 +0100 Received: from roman.mobil.cz ([10.2.0.89]) by ester.mobil.cz (Lotus Domino Release 5.0.7) with ESMTP id 2002012715405074:372 ; Sun, 27 Jan 2002 15:40:50 +0100 Received: (from roman@localhost) by roman.mobil.cz (8.11.6/8.11.6) id g0REsIL36174 for freebsd-questions@FreeBSD.ORG; Sun, 27 Jan 2002 15:54:18 +0100 (CET) (envelope-from neuhauser@mobil.cz) X-Authentication-Warning: roman.mobil.cz: roman set sender to neuhauser@mobil.cz using -f Date: Sun, 27 Jan 2002 15:54:18 +0100 From: Roman Neuhauser To: freebsd-questions@FreeBSD.ORG Subject: Re: A question from a convert from Windows to FreeBSD Message-ID: <20020127155418.G32706@roman.mobil.cz> Mail-Followup-To: freebsd-questions@FreeBSD.ORG References: <200201260704.g0Q74u864537@fedde.littleton.co.us> <02012713091300.01261@BAPhD.gihon.org.au> Mime-Version: 1.0 In-Reply-To: <02012713091300.01261@BAPhD.gihon.org.au> User-Agent: Mutt/1.3.23i X-MIMETrack: Itemize by SMTP Server on ester/Mobil(Release 5.0.7 |March 21, 2001) at 01/27/2002 03:40:50 PM, Serialize by Router on ester/Mobil(Release 5.0.7 |March 21, 2001) at 01/27/2002 03:40:56 PM, Serialize complete at 01/27/2002 03:40:56 PM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > From: Brian Astill > To: freebsd-questions@FreeBSD.ORG > Subject: Re: A question from a convert from Windows to FreeBSD > Date: Sun, 27 Jan 2002 13:09:13 +1030 > > On Saturday 26 January 2002 17:34, Chris Fedde wrote: > > You might want to submit a patch to the FreeBSD Documentation project. > > Want? - Yes. Be capable of? - No. Sure you are capable of submitting patches to man pages. Here's a short howto: 1. step: find the source file: roman@roman ~ > locate passwd.1 [...] /usr/obj/usr/src/usr.bin/passwd/passwd.1.gz /usr/share/man/cat1/passwd.1.gz /usr/share/man/man1/passwd.1.gz [...] /usr/src/usr.bin/passwd/passwd.1 2. get the current revision of the file. if you update your sources with cvs, you'll know what to do. otherwise, I suggest this approach: 2.1: www.freebsd.org -> the link "CVS repository" on the left -> "web interface". 2.2: navigate to the path "locate passwd.1" gave you, i. e. src/usr.bin/passwd/passwd.1 2.3: find the latest revision on the MAIN branch (1.23 as I write this) and download it. 3. edit the file: It says: If the user is not the super-user, .Nm first prompts for the current password and will not continue unless the correct password is entered. .Nm is obviously a macro that the processor replaces with the name of the manpage (or something like that), and looks like it needs to be on a line alone. Keep this requirement (that is, if your proposed change includes the word "passwd", use the macro), and replace this sentence with whatever you like. 4. generate the patch: You want to keep a copy of the 1.23 rev. unchanged for this step: diff -u passwd.1.orig passwd.1 > passwd.1.patch 5. send the patch: see send-pr(1), or use the web interface at www.freebsd.org -- FreeBSD 4.4-STABLE 3:29PM up 6 days, 21:52, 13 users, load averages: 0.00, 0.02, 0.00 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message