From owner-freebsd-questions@FreeBSD.ORG Wed Oct 5 01:42:18 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5A5CB16A41F for ; Wed, 5 Oct 2005 01:42:18 +0000 (GMT) (envelope-from nb_root@videotron.ca) Received: from relais.videotron.ca (relais.videotron.ca [24.201.245.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id C3A8543D45 for ; Wed, 5 Oct 2005 01:42:17 +0000 (GMT) (envelope-from nb_root@videotron.ca) Received: from clk01a ([66.130.198.54]) by VL-MO-MR003.ip.videotron.ca (Sun Java System Messaging Server 6.2-2.05 (built Apr 28 2005)) with ESMTP id <0INV0024D62HRJE0@VL-MO-MR003.ip.videotron.ca> for freebsd-questions@freebsd.org; Tue, 04 Oct 2005 21:42:17 -0400 (EDT) Date: Tue, 04 Oct 2005 21:42:11 -0400 From: Nicolas Blais In-reply-to: <20051005013628.92865.qmail@web54613.mail.yahoo.com> To: freebsd-questions@freebsd.org Message-id: <200510042142.16662.nb_root@videotron.ca> MIME-version: 1.0 Content-type: multipart/signed; boundary=nextPart4709497.HlRJdbEhDT; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-transfer-encoding: 7bit References: <20051005013628.92865.qmail@web54613.mail.yahoo.com> User-Agent: KMail/1.8.2 Subject: Re: Password X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Oct 2005 01:42:18 -0000 --nextPart4709497.HlRJdbEhDT Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On October 4, 2005 09:36 pm, sulie halim wrote: > Hi there, > > i am new to freebsd, and now working as an > administrator of my college system, which using > freebsd. my question is, if i have 50 users in the > systems, how can i view all their usernames and > passwords? this because i always have problems of them > forgot thier passwords, and they can't log in to the > systems. until now, what i did was, delete their > usernames, and create new ones because i didn't know > what their passwords either. so any other alternative? > > help me. Thanks. > You can't view their passwords unless you (or they) saved them in a databas= e=20 (which you (they) should really NOT).=20 To change a user's passwod without making a new account, use the 'passwd'=20 command as root: [nicblais] ~> su Password: [root] /home/nicblais# passwd freakuser Changing local password for freakuser New Password: Retype New Password: Nicolas. =2D-=20 =46reeBSD 7.0-CURRENT #0: Sat Oct 1 11:51:38 EDT 2005 =20 root@clk01a:/usr/obj/usr/src/sys/CLK01A=20 PGP? : http://www.clkroot.net/security/nb_root.asc --nextPart4709497.HlRJdbEhDT Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQBDQy94z38ton5LGeIRAhM1AJsFI6FVTnxwZ9e09wLqAsH6EFEQNQCeKvp9 IQWV2Qctu3O1ONVV52ZnO7Y= =AcOI -----END PGP SIGNATURE----- --nextPart4709497.HlRJdbEhDT--