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

runs sudo commands #1

Open
lucasduffey opened this issue Jan 15, 2017 · 1 comment
Open

runs sudo commands #1

lucasduffey opened this issue Jan 15, 2017 · 1 comment

Comments

@lucasduffey
Copy link

lucasduffey commented Jan 15, 2017

running the script triggers the user for root password because it's running a command with sudo

# eventually calls "sudo dd if=/path/to/filesystem status=none skip=2 count=2 | hexdump -Cv"
sb = get_superblock(device, skip) 
@skeledrew
Copy link
Owner

Yes, dd requires sudo permissions when accessing a physical device even if it's only for reading.

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