How to provide sudo password in shell script?

Asked by Deadeye Robert

Report
in progress 122
15 Answers 239 views

Leave a reply to Deadeye Robert : provide sudo password in shell script


Answers ( 15 )

  1. Secure Shell (SSH) is a cryptographic network protocol for securing data communication. It establishes a secure channel over an insecure network in a client-server
    Read More

    Ratings : 21 %   

      
  2. sudo: sorry, you must have a tty to run sudo | Question Defense
    Read More

    Ratings : 26 %   

      
  3. I have a very sensitive network setup and I really dont want to mess up with it. My network consists a bunch of users who are with sudo privilege.
    Read More

    Ratings : 49 %   

      
  4. A simple shell script - expect script to supply server root/admin password for remote ssh server and execute the Unix / Linux / BSD commands.
    Read More

    Ratings : 25 %   

      
  5. Linux Tutorials : 02 - Creating a new user account and granting sudo permissions. :

    how to provide sudo password in shell script

    Ratings : 36 %   

      
  6. I'm trying to launch a script bash from another one using sudo. Here is my first script test.sh #!/bin/bash echo "test.sh" $1 $2 $3 >>/home/pi/test.log sudo./temp.sh
    Read More

    Ratings : 53 %   

      
  7. Skip Sudo Password - Linux :

    how to provide sudo password in shell script

    Ratings : 60 %   

      
  8. Basic Linux Permissions part 6: sudo and sudoers :

    how to provide sudo password in shell script

    Ratings : 56 %   

      
  9. How to use sudo and su command (linux tutorial) :

    how to provide sudo password in shell script

    Ratings : 36 %   

      
  10. Linux Back to Basics Episode 4: Su and Sudo :

    how to provide sudo password in shell script

    Ratings : 54 %   

      
  11. How to Add a User to the Sudoers File in Linux :

    how to provide sudo password in shell script

    Ratings : 60 %   

      
  12. Linux Red Hat Certified System Administrator Exam EX200 Training Using Sudo :

    how to provide sudo password in shell script

    Ratings : 68 %   

      
  13. Linux Centos 6 - Sudoers - Add User with Sudo Privileges :

    how to provide sudo password in shell script

    Ratings : 9 %   

      
  14. Linux - How to Add Yourself to the Sudoers List (Debian) :

    how to provide sudo password in shell script

    Ratings : 23 %