Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes made by synouidmod are not persistent #4

Open
vigri opened this issue Dec 1, 2020 · 1 comment
Open

Changes made by synouidmod are not persistent #4

vigri opened this issue Dec 1, 2020 · 1 comment

Comments

@vigri
Copy link

vigri commented Dec 1, 2020

Hello again @sunnyone,

I found another problem: The changes made by synouidmod are not persistent.
If you reboot DSM, all changes are lost.

admin@vdsm:/volume1/workspace$ sudo ./synouidmod test 10123 10234
Database opened successfully
User 'test' has been found: username=test, uid=1026, gid=100
Modifying 'youtrack' to uid=10123, gid=10234
Update successfull

# reboot ...

admin@vdsm:/volume1/workspace$ sudo ./synouidmod test
Database opened successfully
User 'TEST1' has been found: username=test, uid=1026, gid=100
No modifications applied to database

Is there something we can do or is synouidmod working as intended?
In the latter case my solution would be to create a script and execute it after every start of DSM

update

id -u USERNAME (which reads /etc/passwd) doesn't work too. Take a look at this please:

admin@vdsm:/volume1/workspace# ./synouidmod test 9000 100
Database opened successfully
User 'TEST' has been found: username=test, uid=1026, gid=100
Modifying 'test' to uid=9000, gid=100
Update successfull

admin@vdsm:/volume1/workspace# ./synouidmod test
Database opened successfully
User 'TEST' has been found: username=test, uid=9000, gid=100
No modifications applied to database

adim@vdsm:/volume1/workspace# id -u test
1026
@sunnyone
Copy link
Owner

Do you try updating any field on a web UI after executing synouidmod?
The web UI seems to update data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants