From owner-freebsd-newbies@FreeBSD.ORG Tue May 27 13:24:04 2003 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C4D9137B401 for ; Tue, 27 May 2003 13:24:04 -0700 (PDT) Received: from devil.tebokkel.com (ptb.xs4all.nl [80.126.6.185]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6F3A843F3F for ; Tue, 27 May 2003 13:24:03 -0700 (PDT) (envelope-from paul@tebokkel.com) Received: from localhost (localhost [127.0.0.1]) by devil.tebokkel.com (Postfix) with ESMTP id 85D71148; Tue, 27 May 2003 22:24:01 +0200 (CEST) Received: from by localhost (amavisd-new, port ) id mdR0A8kH; Tue, 27 May 2003 22:23:59 +0200 (CEST) Received: by devil.tebokkel.com (Postfix, from userid 1001) id CB6397B; Tue, 27 May 2003 22:23:58 +0200 (CEST) Date: Tue, 27 May 2003 22:23:58 +0200 From: Paul te Bokkel To: Gannater =?iso-8859-1?Q?J=E1nos?= Message-ID: <20030527202358.GA5798@tebokkel.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.4i X-Virus-Scanned: by AMaViS with NAI vscan (datfiles 4266) cc: freebsd-newbies@freebsd.org Subject: Re: passwd X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 May 2003 20:24:05 -0000 Have a look at /var/backups. Backups of /etc/passwd, passwd.system and group should be there if you haven't touched daily_backup_passwd_enable in /etc/periodic.conf _and_ your system has been running overnight recently. Regards, Paul On Tue, May 27, 2003 at 10:15:43PM +0200, Gannater János wrote: > Hello, > > I am a real newbie. > I deleted the users I didn't know, now I am in big trouble. > Could you tell me what user should I add to make my system > work again. Now I can't login with any user.... > > $ cat /etc/passwd > root:*:0:0:Misi Balassy:/root:/usr/local/bin/bash > daemon:*:1:1:Owner of many system processes:/root:/sbin/nologin > operator:*:2:5:System &:/:/sbin/nologin > bin:*:3:7:Binaries Commands and Source:/:/sbin/nologin > tty:*:4:65533:Tty Sandbox:/:/sbin/nologin > kmem:*:5:65533:KMem Sandbox:/:/sbin/nologin > games:*:7:13:Games pseudo-user:/usr/games:/sbin/nologin > man:*:9:9:Mister Man Pages:/usr/share/man:/sbin/nologin > sshd:*:22:22:Secure Shell Daemon:/var/empty:/sbin/nologin > smmsp:*:25:25:Sendmail Submission > User:/var/spool/clientmqueue:/sbin/nologin > mailnull:*:26:26:Sendmail Default > User:/var/spool/mqueue:/sbin/nologin > pop:*:68:6:Post Office Owner:/nonexistent:/sbin/nologin > www:*:80:80:World Wide Web Owner:/nonexistent:/sbin/nologin > nobody:*:65534:65534:Unprivileged > user:/nonexistent:/sbin/nologin > postfix:*:1006:1006:Postfix Mail > System:/var/spool/postfix:/sbin/nologin > postmaster:*:1014:1008:Mail > Postmaster:/home/vendeg/postmaster:/usr/local/bin/bash > cyrus:*:60:60:the cyrus mail server:/nonexistent:/sbin/nologin > > > _______________________________________________ > freebsd-newbies@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-newbies > To unsubscribe, send any mail to "freebsd-newbies-unsubscribe@freebsd.org"