-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
CLI: Admin user should not be listed before being actually created #1448
Copy link
Copy link
Closed
Milestone
Description
When installing FreshRSS via cli, the install process creates a user whereas it should not create a user.
>sudo -u www-data ./cli/do-install.php --default_user myuser --api_enabled --db-type sqlite
FreshRSS install…
• Remember to create the default user: myuser
./cli/create-user.php --user myuser --password 'password' --more-options
• Remember to re-apply the appropriate access rights, such as:
sudo chown -R :www-data . && sudo chmod -R g+r . && sudo chmod -R g+w ./data/
Result: success
>sudo -u www-data ./cli/list-users.php
myuser
>sudo -u www-data ./cli/user-info.php -h --user myuser
FreshRSS error: user not found: myuserThe user is listed but does not exist. This is a bit inconsistent.
Why not set the default user not at install time, but at user creation time ?
This make it difficult to know whether I have to really create the user or not...
Reactions are currently unavailable