solana: command not found [closed] - validation

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
I am trying to build my validator for Solana. I installed Solana on the main user.
I created another user to restrict the access to sudo. I can run the Solana command from my main user but on the limited user it says command not found. does anybody know what is the problem?

The Solana install tool sets everything up in $HOME/.local/share/solana/install/active_release/bin and adds that directory to your $PATH in .profile. This directory is not in your other user's path, so it is inaccessible to the other user.
To solve this, you can:
redo the install steps as your other user
Or
add your main user's $HOME/.local/share/solana/install/active_release/bin to your other's $PATH, ie:
export PATH="/home/$MAIN_USER_NAME/.local/share/solana/install/active_release/bin:$PATH"
where $MAIN_USER_NAME is the name of the user that has installed the Solana tools.
Also, you can double-check the existing installation by running which solana as the main user.

Related

Access photos without password Windows 10 [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
My mom forgot her password, and she can’t log in to her laptop now. Is there a way for us to get our family pictures? That’s the only thing we really want to recover. I’m not a Windows user, so I’m clueless; any suggestions are more than welcome.
If the windows account is connected to a Microsoft account, the password can be reset through Microsoft directly (i.e outlook.com).
However, I am not aware of a simple way to reset the password of a local user on windows.
An alternative that may work would be to boot from a Linux live USB (DO NOT INSTALL from the USB) and access the files on the disks from there.

Windows [10] File Folder Denied Access [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
I have a file folder called, my_folder it has been created by a program and has been made into a read-only access. I have admin rights to the computer I'm using but when I try to make it non-read-only it says that I don't have access to it. I've tried using Admin Command Prompt and deleting it with Admin rights in the File Explorer. The end goal is to delete the folder.
Here is the error I get when I try to delete it via the File Explorer:
And here is the error I get when trying to do the deletion via Admin Terminal:
$> rmdir my_folder
Access is denied
Permissions issues are my favorite Windows problems! Deleting with admin rights usually works for me. You might try taking ownership of the folder and trying again. If that fails try booting into safe mode.

cmd refuses all commands [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
With W7x64, all commands ("mkdir", "ping", "ipconfig", or the installed "composer") grant an "access refused" error.
I shut down firewall (Comodo), disabled UAC, launched cmd as administrator, created a brand new administrator session, checked and altered owning permissions (setting them to my account), and, of course, restarted the damn machine.
Last piece of information, but I don't think it has any relevance : system is on SSD.
Edit : Here is a screen shot:
I can't figure what happened to my command line, but installing an alternative (I choose conemu) makes things returning to their old self again.

Windows 10 - Bash (Ubuntu) SU (Root Password) [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
Recently updated to Windows 10, installed Ubuntu Bash. Wanted to start configuring, But I have hit a wall already.
When installed, you are asked for a username and password for your account.
This creates a user level.
Is it possible to access to root user, SU?
Every time I try, it asks for a password, and none of the accounts on the PC work (i.e., Windows 10 admin account password does not work). Tried default passwords too etc., all fail.
The reason for it is when looking at the users home directory: When creating a file, it creates it under my Windows User Account (Permissions).
But when I view files created from Bash, they are created for Root user.
So this is the confusion, I modified bashrc and it's no longer owned by root, So it's not accessible.
But I cannot login to root to create or modify the files.
Am I being a complete noob or something?
When bashrc is not owned by Root, when loading Bash.exe, I get .bashrc Input/output error.
as far as i know you'll have to type "sudo su"

Windows Server:: Replicate Built-In Administrator Account [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I created a secondary account on my Windows Server 2008 R2 installation. So now I have the build-in Administrator account and my custom one. I included my custom account in all user groups, including Administrators, but I can't seem to replicate the build-in Administrator completely. There are many folders that I do not have permission to create files in through the File Explorer, and of what I can recall, opening it as administrator won't help. I want to be able to do just about anything, just like the built-in Administrator account, on my custom one. Thanks in advance.
Scratch that, I've managed to answer my own question. Apparently the last step missing to fully replicate the built-in Administrator account was to disable UAC. Just posting this in here for anyone curious.

Resources