Date: Fri, 12 Feb 2010 16:43:15 +0800 From: "Jason Lin" <taosheng.lin@gmail.com> To: freebsd-questions@freebsd.org Subject: Re: HELP! Is that possible "creating a user named root but acturallynot the administrator root" Message-ID: <hl34b5$usg$1@ger.gmane.org> References: <387428344-1265866387-cardhu_decombobulator_blackberry.rim.net-794243854-@bda049.bisx.prodap.on.blackberry> <c81e6afd1002102307l2b089a76p36a8d67d3085a1e5@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
I try this method, after set the password of "toor", I can't login with the account "toor". "Bogdan Webb" <bogdan@pgn.ro> ??????: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 <anthony.rasat@gmail.com> > >> 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" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?hl34b5$usg$1>