How do you give friends admin rights without a password to the server?

Solution 1:

After some research I found that you should be able to add admins by altering the users.txt file.
You can find this file in:
STEAMFOLDER > GarrysMod > garrysmod > settings > users.txt
In this file an entry looks like this:

"admin"
{
    //"garry"           "STEAM_0:1:7099"
}

What you should do is enter a line with the info of your friend so it ends up like this:

"admin"
{
    "Friends_Username"          "STEAM_0:0:0000"
}

You can find a steam id trough various websites or steam itself.

source that helped me get the idea