From owner-freebsd-questions@FreeBSD.ORG Fri Feb 12 08:50:17 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5EDC11065670 for ; Fri, 12 Feb 2010 08:50:17 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id D2BEF8FC0A for ; Fri, 12 Feb 2010 08:50:16 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1NfrE3-0000Rg-7J for freebsd-questions@freebsd.org; Fri, 12 Feb 2010 09:50:11 +0100 Received: from 122.193.5.98 ([122.193.5.98]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Feb 2010 09:50:11 +0100 Received: from taosheng.lin by 122.193.5.98 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Feb 2010 09:50:11 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: "Jason Lin" Date: Fri, 12 Feb 2010 16:43:15 +0800 Lines: 66 Message-ID: References: <387428344-1265866387-cardhu_decombobulator_blackberry.rim.net-794243854-@bda049.bisx.prodap.on.blackberry> X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 122.193.5.98 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5512 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512 Sender: news Subject: Re: HELP! Is that possible "creating a user named root but acturallynot the administrator root" 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: Fri, 12 Feb 2010 08:50:17 -0000 I try this method, after set the password of "toor", I can't login with the account "toor". "Bogdan Webb" ??????:c81e6afd1002102307l2b089a76p36a8d67d3085a1e5@mail.gmail.com... > Edit the /etc/master.passwd and /etc/passwd records to change the uid and > gid of the "root" account BUT FIRST MAKE SURE YOU ADD (or changed password > of) ANOTHER UID0 ACCOUNT > here's an example: > etc/master.passwd: > root:*PASSWORD HASH*:99:99::0:0:Charlie &:/root:/bin/csh > > and /etc/passwd > root:*:99:99:Charlie &:/root:/bin/csh > > > check the "toor" account it's already created by freebsd but it doesn't > have > a password, 1st apply a password for that account, triple check that it's > usable then edit the records (keep in mind that the 99 uid and 99gid in my > examples are fake try giving your's the uid and gid of the "nobody" > account, > or someother) > > cheers! > 2010/2/11 Anthony M. Rasat > >> Lin Taosheng wrote: >> >> >Is that possible to implementated? >> >> No. I think not. But I have not tried it either. >> >> Can I ask what do you want to achieve? Because I had the same thought >> once, >> concerning how to combat once-increasing script-driven SSH brute-force >> attack. But I was instead have a better solution using fail2ban to easily >> thwart those SSH brute force attack. Is that your situation? >> >> Regards, >> >> Anthony M. Rasat >> Manager - Technical, Network and Support Division >> PT. Jawa Pos National Network >> Graha Pena Jawa Pos Group Building, 5th floor >> Jln. Raya Kebayoran Lama 12, Jakarta Selatan 12210 >> Indonesia.- >> Phone 02132185562 >> Phone 081574217035 >> Fax 02153651465 >> Web http://www.jpnn.com >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to " >> freebsd-questions-unsubscribe@freebsd.org" >> > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" >