Users

The method of configuring users changed in version 5.0

To control access, argus wants to know who is permitted to access what. Associated with every valid user is:

  • username
  • password
  • home object (like a unix home directory)
  • list of access control groups

Users are managed via argusctl

  • argusctl listusers - list users
  • argusctl getuser user=maggie - display user config
  • argusctl setuser user=maggie … - create or modify user
  • argusctl deluser user=maggie - delete a user

Create a user:

argusctl setuser user=maggie pass=1234

View a user:

argusctl getuser user=maggie
200 OK
Name:     maggie
EPasswd:  $2a$10$hZjwJrHY1KrIcXTq1wiR.Zfk
Home:     Top
Groups:   user

The home field specifies the name of the object for the user’s default page. This is what the user will see when they first log in to argus. It is just like a unix home directory.

Also, just like a unix home directory, the user can do the equivalent of cd .. to visit other pages. To prevent the user from seeing other pages adjust the access control parameters appropriately.

The groups field is a white-space separated list of access control groups. Access control groups are documented further somewhere else.