Thank you for your advice.storvi_net said:Why do you think this would be better for the system security? What you are trying to do is named "security by obscurity" and is always a bad idea. Let your root account named root and use other security best practices, like shut down unused services, use secure protocols and always update your system.
Regards,
Markus
su -
will still not let people straight into the system. su -
just says "BAD SU testuser to root". But in all seriousness, one quick ls -al /
and it shows all directories owned by "superuser:wheel". Net gain is a whole one second of security for someone to look who owns files that are UID 0. If they already knew the password they would need to do su -
, then they could easily look and type su - superuser
. There would be far more useful things you can do to genuinely improve security.Only members of the wheel group are allowed to use su(1). Besides that, afred974 said:I was hoping that if someone gets access to my admin account, asu -
will still not let people straight into the system.
su -
will switch to the root account regardless of what it's named. It's the UID that matters. Also remember that somebody would also need to know root's password.Have a look at security(7) and Unofficial FreeBSD Security Checklist / Links / Resources.fred974 said:I have no clue on what am I doing at the moment in term of security. I follow an online tutorial but without really understanding it all.