New Linux user cannot open CryoSPARC after losing access to original account

Hi all,

I lost the password for my original Linux user account, which was used to install and run CryoSPARC. I created a new user account on the same machine, but when I try to run CryoSPARC from the new account, it doesn’t open. I assume this is related to permissions or environment setup.

Is there a recommended way to access an existing CryoSPARC installation from a different Linux user account? Or how can I recover or transfer access?

Any help would be greatly appreciated!

Best,
Junqing

If you followed the install instructions, then the “cryosparcuser” account is just a regular account.

Whoever has root access, log into the account e.g. from any bash shell

e.g.

$ su jkang3 
!enter the password (assuming this user is a on the sudo list or root)
$ sudo passwd cryosparcuser
!enter the new password, this replaces the old one for cryosparcuser

you should be able to get everything back and I would not move the CryoSparc installation around different users.

see https://askubuntu.com/questions/423942/change-password-on-root-user-and-user-account

who is your system administrator @jkang3 ?

*also the cryosparc admin ?

Hi Mark,

Thank you for your prompt response.

I can now start CryoSPARC using my new Linux account and successfully log into my previous CryoSPARC user account. I’m able to create new projects and process data as expected.

However, I’ve noticed one issue: I’m unable to make any changes to my previous projects — I can’t delete jobs or create new ones within those projects. Additionally, I’m unable to select micrographs from the folders I used before, although I can still view and download results from those projects.

I’m currently the only user of CryoSPARC in our lab. The setup issues were resolved with the help of a colleague who works on sequencing data processing@KunFang93.

Best regards,
Junqing

2 Likes

You will need to set your new user to an Admin role within CryoSPARC. You should either then be able to continue, or at least detach and reattach as the new user.

Also, if you lost the CryoSPARC user password, remember that you can forcibly set the password in the CryoSPARC commandline. If I remember correctly, it’s something like:
cryosparcm resetpassword --email <email> --password <newPassword>

2 Likes

good point @rbs_sci if @jkang3 also has the cryosparc admin, every project in that instance should be visible to the admin. forgot about that.

@jkang3 you can also have multiple admins, just change it from the web UI.