Re: rsync wont run w/o disabling chroot in config.
Brought to you by:
xystrus
From: Paul B. <Pau...@va...> - 2006-02-04 04:41:51
|
The command indicates that it is trying to sync with /home/rssh/data/. With a chroot of /data/jail/, this would be /data/jail/home/rssh/data/ Does this directory exist? /home/rssh/data/ is not be accessible when you use chroot. The purpose of chroot is to limit access to one directory and its subdirectories. Paul Boniol Housing & Residential Education Vanderbilt University Gian G. Spicuzza wrote: > My chroot enviroment is: > > /data/jail > > with home directories at: > > /data/jail/home > > If I enable chroot in my /usr/etc/rssh.conf : > > chrootpath = "/data/jail/" > > I receive this error in /etc/log/syslog: > > Feb 3 23:36:48 megaoscar rssh[25843]: user rssh attempted to log in > with a shell > Feb 3 23:38:37 megaoscar rssh[20982]: user rssh attempted to execute > forbidden commands > Feb 3 23:38:37 megaoscar rssh[20982]: command: rsync --server > -vlogDtprz . /home/rssh/data/ > > If I disable chrootpath (comment it out) rsync runs fine. How can I > fix this? > > If this is left commented out, is this a security risk? > > > Thank you for any help! I appreciate it! > > Gian G. Spicuzza > > Linux megaoscar 2.4.32-grsec #1 Tue Jan 31 15:19:54 EST 2006 i686 > unknown unknown GNU/Linux > > PS- I am using a PaX enabled kernel. > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > rssh-discuss mailing list > rss...@li... > https://lists.sourceforge.net/lists/listinfo/rssh-discuss > |