PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > comp.unix.shell > scp script
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.unix.shell Using and programming the Unix shell.

scp script

Réponse
 
LinkBack Outils de la discussion
Vieux 07/05/2008, 16h45   #1
rvaedex23@gmail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut scp script


I have a script that is set up using ID: infa123


The script will scp files from one machine to another and only
infa123 can write to the directories.


The public key is set up so that the password is not prompted
during the scp.


I need to have a user execute this script but they would have to
use their own ID like bobjones


If the user executes the script they will get permission denied
when writting to the directories.
Also, they are not set up to use the public key to bypass the
password. Any hints.


  Réponse avec citation
Vieux 07/05/2008, 18h08   #2
Bill Marcum
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: scp script

On 2008-05-07, rvaedex23@gmail.com <rvaedex23@gmail.com> wrote:
>
> I have a script that is set up using ID: infa123
>
> The script will scp files from one machine to another and only
> infa123 can write to the directories.
>
> The public key is set up so that the password is not prompted
> during the scp.
>
> I need to have a user execute this script but they would have to
> use their own ID like bobjones
>
> If the user executes the script they will get permission denied
> when writting to the directories.
> Also, they are not set up to use the public key to bypass the
> password. Any hints.
>

(a) let bobjones upload to his home directory and then use crontab to
transfer the files to the other directory.
(b) make bobjones a member of a group that has permission to write the
other directories
(c) sudo
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 22h19.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,07500 seconds with 10 queries