Opened 8 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)
Change History (17)
comment:1 by , 8 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 8 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 , 8 years ago
Component: | manuals_and_examples → rascontrol |
---|
by , 8 years ago
Attachment: | 0001-ticket-1478-compile-and-install-raspasswd.patch added |
---|
comment:4 by , 8 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 , 7 years ago
Milestone: | 9.4 → 9.5 |
---|
comment:7 by , 7 years ago
Milestone: | 9.5 → 9.6 |
---|
comment:8 by , 7 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 , 7 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 , 7 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 , 7 years ago
Milestone: | 9.6 → 9.7 |
---|
comment:12 by , 6 years ago
Resolution: | → wontfix |
---|---|
Status: | assigned → closed |
comment:13 by , 6 years ago
Resolution: | wontfix |
---|---|
Status: | closed → reopened |
discontinuing raspasswd requires
- adjustment of doc
- entry in next release notes
comment:14 by , 6 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.
comment:15 by , 6 years ago
yes, rasnet implementers silently ignored it. Definitely we need to inform explicitly, based on a conscious decision (and rationale).
comment:16 by , 5 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
The docs have been updated already to reflect this, I'd close this ticket.
not sure why it has been removed, but it needs to come back.