From owner-freebsd-questions Sat Aug 1 09:26:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA24584 for freebsd-questions-outgoing; Sat, 1 Aug 1998 09:26:06 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from serveri.netti.fi (serveri.netti.fi [195.16.192.130]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA24579 for ; Sat, 1 Aug 1998 09:26:04 -0700 (PDT) (envelope-from yurtesen@turkey.ispro.net.tr) Received: from turkey.ispro.net.tr (dyn-3-052.tku.netti.fi [195.16.222.246]) by serveri.netti.fi (8.8.8/8.8.3) with ESMTP id TAA17915; Sat, 1 Aug 1998 19:16:27 +0300 Message-ID: <35C33FB7.44078C50@turkey.ispro.net.tr> Date: Sat, 01 Aug 1998 19:17:59 +0300 From: Evren Yurtesen X-Mailer: Mozilla 4.05 [en] (Win95; I) MIME-Version: 1.0 To: Sean Harding , freebsd-questions@FreeBSD.ORG Subject: Re: UID? References: <35C33844.DBAB580D@turkey.ispro.net.tr> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > hello, > I do not want to look at passwd file because it is hard to find it > there, I add users then delete some add more and user id's and the > UIDs does not go with an ordered manner. and when I try to search for a userid I find telephone numbers matching withmy search or other UIDs which include the UID that I am searching for! > > Sean Harding wrote: > >> On Sat, 1 Aug 1998, Evren Yurtesen wrote: >> >> > maybe this is stupid question but how may I know >> > which UID belonging to which user without looking in to >> > the password file? >> >> Why is it important to do it without looking in the passwd file? >> That's >> definitely the best way if you need to do it for everyone.'id' will >> tell >> you on a user by user basis (e.g. 'id 0'). >> >> Sean >> >> -- >> Sean Harding sharding@oregon.uoregon.edu|"It's not a habit, it's >> cool. >> http://gladstone.uoregon.edu/~sharding/ | I feel alive." >> NeXTMail OK! | --k's Choice > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message