source command in the CShell goes like this :
script.csh executes and in between, waits for my password to confirm the identity.
I am tired of typing the password everytime I have to
source. So, since my password is constant, I was thinking of creating an alias which goes like this :
alias <alias name> 'source /directory/of/script/script.csh; <my password>'
The only catch is that, it is not taking in my password because, technically,
my password is executed after the complete execution of the
How do I go about it?
If anyone needs any further info, I am happy to provide.
EDIT: The original
script.csh CAN NOT be modified to exclude the password because, I am not authorised to make such changes.
EDIT (2) : The actual need is to pass on a value (a particular number, depending on what I am about to do after this) to the shell script
script.csh while it is being executed, without user intervention.
I used the word 'password' because, it was easier to explain using that example as authentication is some thing that is usually asked repeatedly in between a process, every time one tries something, and the execution does not proceed without it, or stops if a wrong input is given.. And, my case is synonymous : I have to give an input for the script to proceed, and it halts if a wrong input is given.