HELP! Is that possible "creating a user named root but acturallynot the administrator root"

Jason Lin taosheng.lin at gmail.com
Fri Feb 12 08:50:17 UTC 2010


I try this method, after set the password of "toor",
I  can't login with the account "toor".


"Bogdan Webb" <bogdan at pgn.ro> 
??????:c81e6afd1002102307l2b089a76p36a8d67d3085a1e5 at 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 at 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 at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to "
>> freebsd-questions-unsubscribe at freebsd.org"
>>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe at freebsd.org"
> 





More information about the freebsd-questions mailing list