![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Running script from other user rather than login user | rawatds | Shell Programming and Scripting | 3 | 01-30-2009 01:18 PM |
| check user id before running script | cpolikowsky | UNIX for Dummies Questions & Answers | 3 | 06-06-2008 01:02 PM |
| program running for one user and not for other user | bryan | UNIX for Advanced & Expert Users | 2 | 11-13-2006 11:09 AM |
| What user is a process running as? | america2 | UNIX for Dummies Questions & Answers | 1 | 05-21-2006 04:58 PM |
| Running su command from normal user | shailendrat | AIX | 2 | 04-19-2005 09:32 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Hello again,
I have a script, basically simple scp to copy files to a local machine for processing. The scp and ssh facilities use a specific user account requiring no password entry , simply /usr/bin/su - radacct however, I need to run this script from cron under a different user account. I tried su'ing inside the script and that does not work. How do you do something like this ? thanks |
|
||||
|
reply
There is a special account set up to do secure cp "scp" and secure shell "ssh".
when you /bin/su - radacct then do a ssh or scp you do not have to enter a password. in order to do a ssh or scp automatically you need to use this special account for scp and ssh. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|