Re: [OpenIndiana-discuss] Root as role vs. user and rsync

2012-05-07 Thread Bob Friesenhahn
On Sun, 6 May 2012, Ignacio Marambio Catán wrote: There is one other option. Use ssh public key authentication to bypass the whole PAM/role nonsense and restrict what the user can do with the command option. See sshd(8) in its AUTHORIZED_KEYS FILE FORMAT section That is what I do. For even mo

Re: [OpenIndiana-discuss] Root as role vs. user and rsync

2012-05-06 Thread Ignacio Marambio Catán
There is one other option. Use ssh public key authentication to bypass the whole PAM/role nonsense and restrict what the user can do with the command option. See sshd(8) in its AUTHORIZED_KEYS FILE FORMAT section On Sun, May 6, 2012 at 10:37 PM, Dave Pooser wrote: > On 5/6/12 8:04 AM, "Jeppe Tous

Re: [OpenIndiana-discuss] Root as role vs. user and rsync

2012-05-06 Thread Dave Pooser
On 5/6/12 8:04 AM, "Jeppe Toustrup" wrote: >2. SSH in as dedicated unprivileged user, which then have permissions >to run rsync with root permissions though sudo. This is how I do it, which also has the advantage of letting me give sudo permissions to run specific scripts that (for example) quie

Re: [OpenIndiana-discuss] Root as role vs. user and rsync

2012-05-06 Thread Ian Collins
On 05/ 7/12 01:04 AM, Jeppe Toustrup wrote: On Sun, May 6, 2012 at 2:07 PM, Gary Gendel wrote: I finally decided to take the bullet and make root a role instead of a user. All went well except for my nightly backup. I have a backup server that rsyncs my various collection of Linux, OpenIndia

Re: [OpenIndiana-discuss] Root as role vs. user and rsync

2012-05-06 Thread Jeppe Toustrup
On Sun, May 6, 2012 at 2:07 PM, Gary Gendel wrote: > I finally decided to take the bullet and make root a role instead of a user. >  All went well except for my nightly backup. > > I have a backup server that rsyncs my various collection of Linux, > OpenIndiana, Windows, and Mac machines nightly.

[OpenIndiana-discuss] Root as role vs. user and rsync

2012-05-06 Thread Gary Gendel
I finally decided to take the bullet and make root a role instead of a user. All went well except for my nightly backup. I have a backup server that rsyncs my various collection of Linux, OpenIndiana, Windows, and Mac machines nightly. Without root as a user, how do I set up rsync to ssh onto