From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <638bc3e3b9d220e6fd3d756fd5b2006b@terzarima.net> From: Charles Forsyth Date: Thu, 18 Dec 2008 14:45:48 +0000 To: 9fans@9fans.net In-Reply-To: <35d1fb81-fc46-4938-bacd-32254ff345d6@o40g2000prn.googlegroups.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-ovxfcvodrflxdrhdnhaywppdth" Subject: Re: [9fans] ape pwd.h not in sync ? Topicbox-Message-UUID: 671a829c-ead4-11e9-9d60-3106f5b1d025 This is a multi-part message in MIME format. --upas-ovxfcvodrflxdrhdnhaywppdth Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit it won't work, so it's better to find that out when you compile the program rather than waste time compiling it only to fail when run. --upas-ovxfcvodrflxdrhdnhaywppdth Content-Type: message/rfc822 Content-Disposition: inline Received: from gouda.swtch.com ([67.207.142.3]) by lavoro; Wed Dec 17 17:13:27 GMT 2008 Received: from localhost ([127.0.0.1] helo=gouda.swtch.com) by gouda.swtch.com with esmtp (Exim 4.67) (envelope-from <9fans-bounces@9fans.net>) id 1LCzj9-0005oV-Lc; Wed, 17 Dec 2008 16:58:27 +0000 Received: from shoe.bath.ac.uk ([138.38.32.81]) by gouda.swtch.com with esmtp (Exim 4.67) (envelope-from <9fans@mail2news.bath.ac.uk>) id 1LCzj7-0005oQ-RQ for 9fans@9fans.net; Wed, 17 Dec 2008 16:58:26 +0000 Received: from news by shoe.bath.ac.uk with local (envelope-from <9fans@mail2news.bath.ac.uk>) id 1LCzgI-0006sM-Gt for 9fans@9fans.net; Wed, 17 Dec 2008 16:55:30 +0000 Received: from GATEWAY by bath.ac.uk with netnews for 9fans@9fans.net (9fans@9fans.net) To: 9fans@9fans.net Date: Wed, 17 Dec 2008 16:55:09 GMT From: prem Message-ID: <35d1fb81-fc46-4938-bacd-32254ff345d6@o40g2000prn.googlegroups.com> Organization: http://groups.google.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: [9fans] ape pwd.h not in sync ? X-BeenThere: 9fans@9fans.net X-Mailman-Version: 2.1.9 Precedence: list Reply-To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.9fans.net> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: 9fans-bounces@9fans.net Errors-To: 9fans-bounces+forsyth=terzarima.net@9fans.net Hi All, the ape/pwd.h has the following (in short pw_passwd missing, is this something unwanted ?) struct passwd { char *pw_name; uid_t pw_uid; gid_t pw_gid; char *pw_dir; char *pw_shell; }; Linux has: struct passwd { char *pw_name; /* Username. */ char *pw_passwd; /* Password. */ __uid_t pw_uid; /* User ID. */ __gid_t pw_gid; /* Group ID. */ char *pw_gecos; /* Real name. */ char *pw_dir; /* Home directory. */ char *pw_shell; /* Shell program. */ }; BSD: struct passwd { char *pw_name; /* user name */ char *pw_passwd; /* encrypted password */ uid_t pw_uid; /* user uid */ gid_t pw_gid; /* user gid */ time_t pw_change; /* password change time */ char *pw_class; /* user access class */ char *pw_gecos; /* Honeywell login info */ char *pw_dir; /* home directory */ char *pw_shell; /* default shell */ time_t pw_expire; /* account expiration */ }; Cheers, /Prem --upas-ovxfcvodrflxdrhdnhaywppdth--