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

Bogdan Webb bogdan at
Thu Feb 11 07:07:51 UTC 2010

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
here's an example:
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)

2010/2/11 Anthony M. Rasat <anthony.rasat at>

> 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
> _______________________________________________
> freebsd-questions at mailing list
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe at"

More information about the freebsd-questions mailing list