Node Installer Script Dusk User Discrepancy

Open
#154 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
shell
Domain
devops

Research direction

Start by locating the node installer script and compare its expected user name with the installer documentation. Change the script's user name from dusk to duskadmin, then verify that the created user receives the documented permissions.

Written by the indexing model from the issue text.

Description

Summary

The node installer checks for the existence of the dusk user and creates it if it doesn't exist. Relevant permissions are also assigned to this user.

In all node installer documentation, this dusk user is named duskadmin but in the node installer script, the user is named dusk. This discrepancy is a bit confusing and leads to slightly frustrating situations where the created duskadmin user doesn't have the required permissions to do things it should be able to do.

Solution

Change the expected user name from dusk to duskadmin in the node installer script.

Dominant language
Shell
Stars
38
Forks
17
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from dusk-network/node-installer

All issues in dusk-network/node-installer

Similar issues

More Shell/Bash issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.