Opened 7 years ago

Closed 5 years ago

#1478 closed defect (fixed)

raspasswd doesn't exist

Reported by: Dimitar Misev Owned by: Dimitar Misev
Priority: major Milestone: 9.7
Component: rascontrol Version: development
Keywords: Cc:
Complexity: Medium

Description

The installation guide references a raspasswd tool in section "5 Database User & Password Administration", but this tool is not installed at all. I think this section needs to be updated.

Attachments (1)

0001-ticket-1478-compile-and-install-raspasswd.patch (2.6 KB ) - added by Dimitar Misev 7 years ago.

Download all attachments as: .zip

Change History (17)

comment:1 by Peter Baumann, 7 years ago

Owner: changed from Peter Baumann to Dimitar Misev
Status: newassigned

not sure why it has been removed, but it needs to come back.

comment:2 by Dimitar Misev, 7 years ago

It hasn't been ported to rasnet it seems, as rascontrol was reimplemented and raspasswd was in the same package as the old rascontrol.

At the same time I noticed that help doesn't really work at all in rascontrol, unless I'm doing something wrong.. e.g.

rasc> help change user
    Could not execute command.
rasc> help
    help
rasc>

comment:3 by Dimitar Misev, 7 years ago

Component: manuals_and_examplesrascontrol

comment:4 by Dimitar Misev, 7 years ago

The attached patch enables compiling and installing raspasswd. Unfortunately it seems to be a little broken at the moment and needs fixing.. here's what happens for me:

$ raspasswd
Login name: rasguest
  Password: 

cursor comes here and typing doesn't make any difference

I.e. after the Login name and Password are entered, it doesn't ask for new password. According to the Installation guide it should be something like this:

$ raspasswd localhost
Login name: mylogin
Password: mypasswd
New password: mynewpasswd
Retype new password: mynewpasswd

raspasswd localhost btw is wrong invocation, it should be either raspasswd, or raspasswd --host localhost.

comment:5 by Dimitar Misev, 7 years ago

Milestone: 9.49.5

comment:6 by Peter Baumann, 7 years ago

plus, once re-added, let us add systemtest checks for it.

comment:7 by Vlad Merticariu, 6 years ago

Milestone: 9.59.6

comment:8 by Dimitar Misev, 6 years ago

I suggest removing raspasswd from the codebase and accordingly updating the installation guide. The full functionality of raspasswd can also be done via rascontrol so I don't see the point of a special tool.

comment:9 by Peter Baumann, 6 years ago

the issue with rascontrol is that you can do more. By just allowing access to raspasswd users can be limited to changing their passwd, and nothing else.

comment:10 by Dimitar Misev, 6 years ago

What users can do with rascontrol depends on their rights (CASI), right? Why should they be allowed to use only raspasswd?

Perhaps changing their own password in rascontrol could be allowed independently on the other rights? I'm not sure what rights do they need for this purpose now.

comment:11 by Dimitar Misev, 6 years ago

Milestone: 9.69.7

comment:12 by Dimitar Misev, 5 years ago

Resolution: wontfix
Status: assignedclosed

comment:13 by Peter Baumann, 5 years ago

Resolution: wontfix
Status: closedreopened

discontinuing raspasswd requires

  • adjustment of doc
  • entry in next release notes

comment:14 by Dimitar Misev, 5 years ago

It was discontinued probably in version 9.1 or so (when rasnet became default), and we noticed it only in 9.4. Not sure if it makes sense to announce it still in the next release notes.

Docs indeed need to be updated.

Last edited 5 years ago by Dimitar Misev (previous) (diff)

comment:15 by Peter Baumann, 5 years ago

yes, rasnet implementers silently ignored it. Definitely we need to inform explicitly, based on a conscious decision (and rationale).

comment:16 by Dimitar Misev, 5 years ago

Resolution: fixed
Status: reopenedclosed

The docs have been updated already to reflect this, I'd close this ticket.

Note: See TracTickets for help on using tickets.