From owner-freebsd-questions Fri Jul 31 18:17:23 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA08781 for freebsd-questions-outgoing; Fri, 31 Jul 1998 18:17:23 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from gutenberg.uoregon.edu (gutenberg.uoregon.edu [128.223.56.211]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA08774 for ; Fri, 31 Jul 1998 18:17:21 -0700 (PDT) (envelope-from sharding@gutenberg.uoregon.edu) Received: from localhost (sharding@localhost) by gutenberg.uoregon.edu (8.9.1/8.9.1) with SMTP id SAA22345; Fri, 31 Jul 1998 18:21:04 -0700 (PDT) Date: Fri, 31 Jul 1998 18:21:04 -0700 From: Sean Harding Reply-To: Sean Harding To: Evren Yurtesen cc: freebsd-questions@FreeBSD.ORG Subject: Re: UID? In-Reply-To: <35C258A1.74FB20EC@turkey.ispro.net.tr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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