From owner-freebsd-current Sat Jun 6 13:41:03 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA18508 for freebsd-current-outgoing; Sat, 6 Jun 1998 13:41:03 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from smtp02.primenet.com (daemon@smtp02.primenet.com [206.165.6.132]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA18503 for ; Sat, 6 Jun 1998 13:41:00 -0700 (PDT) (envelope-from tlambert@usr04.primenet.com) Received: (from daemon@localhost) by smtp02.primenet.com (8.8.8/8.8.8) id NAA11949 for ; Sat, 6 Jun 1998 13:40:57 -0700 (MST) Received: from usr04.primenet.com(206.165.6.204) via SMTP by smtp02.primenet.com, id smtpd011939; Sat Jun 6 13:40:46 1998 Received: (from tlambert@localhost) by usr04.primenet.com (8.8.5/8.8.5) id NAA27252 for current@freebsd.org; Sat, 6 Jun 1998 13:40:46 -0700 (MST) From: Terry Lambert Message-Id: <199806062040.NAA27252@usr04.primenet.com> Subject: Patches for 'id' command available: To: current@FreeBSD.ORG Date: Sat, 6 Jun 1998 20:40:46 +0000 (GMT) X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have made some small patches to the 'id' command: ] This is a small patch that adds a "-P" option to the "id" program ] to allow it to print out the id as a password file line. ] ] This functionality is most useful in shell scripts on NIS using ] machines, since there is no simple way to get an entry from a ] shell script without caring whether it's coming from the local ] password file or from NIS. They are available from: http://www.freebsd.org/~terry/DIFF.ID.txt Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message