Hi,

On Tue, 13 Apr 2004, Remko Lodder wrote:

|>
|>      But, what should be te correct approach when you want to copy
|> root's files and/or remote execute programs as root with scripts using
|> scp/ssh and key authentication?
|>      Like:
|>
|>      scp master.passwd host2:/etc/
|>      or
|>      ssh host2 'pwd_mkdb -p /etc/master.passwd'
|
|"remote execute programs" why? cant you locally run them and fetch them
|with a dedicated lowerlevel account?

        Use my example above, supose you need to sync passwd between two
hosts, using an script via cron. Even if you tar/chown it and copy with
low level user, you will need to regenerate the passwd.

- Marcelo


_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to