Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #testing getting password inputs from the user and sending it to progs
- echo "enter root password"
- read root_pwd
- #dmesg $root_pwd
- sudo /sbin/ifconfig
- #send the password automatically, without prompted in the CLI...but how?
- //how do i automatically send the password when the shell prompts for it?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement