ID:1476819
 
(See the best response by A.T.H.K.)
Code:
world/New()
world.SetConfig("APP/admin", ckey("Raimo"), "role=root")
..()


Problem description:
I put this in my code and according to BYONDPanel's knowledgebase, this should work to enable the Profile and Reboot options in-game when you press F1. It doesn't seem to work though because they are still greyed out. Is there any way to fix this or any other way of accomplishing this?
This might be better to ask to the Linux Talk section. Stephen is our resident linux junkie.

For what it's worth, my foggy memory recalls something about a .profile function buried somewhere...
Best response
The code works as expected, tested on Skype with Raimo..

world/New()
world.SetConfig("APP/admin", ckey("A.T.H.K"), "role=root")
world.SetConfig("APP/admin", ckey("Raimo"), "role=root")
..()

mob/verb
listAllAdmins()
var/admins = world.GetConfig("admin")
for(var/a in admins)
world << a


Adding on to this, the command seems to just create a folder and a txt file.

Folder is called cfg
txt file is called admin.txt

Text that SetConfig created.

athk role=root
raimo role=root

The above is helpful if you don't want to "hardcode" in the admins, I assume it'll read it on reboot not on any kind of interval.
It is fixed thanks to the help of A.T.H.K, I had to make a folder called 'cfg' on the same level as where my game's .dmb and .rsc file. In that folder I had to create a new .txt file and call it 'admin.txt'. Then I had to edit the file in and put in 'raimo role=root'. Replace 'raimo' with your own BYOND key.