Linux - Unix Learning

LINUX - UNIX Administration Learning

Monday, August 16, 2010

How to add user in wheel?

# addgroup wheel (add the wheel group)
# adduser wheel (add users to the new wheel group)
# chmod 4750 /bin/su (chmod su so only users in the wheel group can all it)

This will make it so that only the users in the wheel group will be able to call su..it also prevents normal users from sitting and calling su repeatedly to try and guessthe root password. Or you can simply install and use sudo and lock the root account..can’t hack into a locked root account and hacking into a user account requires that

No comments:

Post a Comment