Opened 8 years ago

Closed 6 years ago

#1482 closed defect (fixed)

Problems with etc/rasmgr.auth

Reported by: Dimitar Misev Owned by: dkamov
Priority: major Milestone: 9.7
Component: rascontrol Version: development
Keywords: Cc: Peter Baumann, Vlad Merticariu
Complexity: Medium

Description (last modified by Dimitar Misev)

There are several issues with this file:

  1. rasserver does not throw an error if it doesn't have write access to $RMANHOME/etc
  2. the behavior with the new rasmgr is unintuitive: when you change a rasdaman user (e.g. new password for rasguest), this file gets written to $RMANHOME/etc/rasmgr.auth.713f3f57-bd3b-4211-ada6-bf88b49f81f1 or some similarly random bits appended. To make it effective, it needs to be renamed to $RMANHOME/etc/rasmgr.auth (as I figured out with some guesswork). I think what it should rather do is, make a backup of an existing rasmgr.auth, and then write the new rasmgr.auth.

Change History (7)

comment:1 by Dimitar Misev, 8 years ago

Component: undecidedrascontrol

comment:2 by Peter Baumann, 8 years ago

  • user documentation: Installation Guide 5.10
  • etc/ write access: should be fixed indeed
  • unintuitive behavior: a new auth file gets written if for whatever reason the existing one cannot be overwritten. Should not happen, but does so if bullet 2 above fires. Maybe we should document this indeed.

in reply to:  2 comment:3 by Dimitar Misev, 8 years ago

Replying to pbaumann:

  • user documentation: Installation Guide 5.10

Searching for rasmgr.auth in the latest installation guide doesn't show up anything for me.

comment:4 by Peter Baumann, 8 years ago

right, rasmgr.auth is not mentioned explicitly, it is meant to be transparent. Maybe we should add a mentioning, but let's do it after the passwd dust has settled.

comment:5 by Dimitar Misev, 7 years ago

Milestone: 9.49.7

comment:6 by Dimitar Misev, 6 years ago

Owner: changed from Dimitar Misev to dkamov
Status: newassigned

@dkamov: to test this you need to create a user or change a user or so. Please check in the Installation & Administration Guide of rasdaman on how to do this.

comment:7 by Dimitar Misev, 6 years ago

Description: modified (diff)
Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.