rsync the files into a staging area as the unprivileged user then, setup a
sudo cmd to rsync from the staging location to the final location.

Or better yet just add your unprivileged user to the group of the files in
question <--- this is the most sane way to do it.

On 18/02/2008, Anton <[EMAIL PROTECTED]> wrote:
>
> http://www.linux1.ca/downloads/limited_ssh.txt
>
> ps. Don't do it.
>
> On 18/02/2008, P.V.Anthony <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > Need to ssh into some servers. The servers are setup, that it is only
> > possible to ssh as user "xxx". Root is not allowed to ssh.
> >
> > Now I need to ssh as root to sync some files.
> >
> > Is there a way to setup ssh so that if ssh from a particular ip then it
> > is possible to ssh as root?
> >
> > P.V.Anthony
> >
> > _______________________________________________
> > Slugnet mailing list
> > [email protected]
> > http://www.lugs.org.sg/mailman/listinfo/slugnet
> >
>
> _______________________________________________
> Slugnet mailing list
> [email protected]
> http://www.lugs.org.sg/mailman/listinfo/slugnet
>
_______________________________________________
Slugnet mailing list
[email protected]
http://www.lugs.org.sg/mailman/listinfo/slugnet

Reply via email to