Re: Fwd: scp, no ssh

2002-01-12 Thread Marcel Hicking
On 11 Jan 2002, at 0:06, martin f krafft wrote: --+xNpyl7Qekk2NvDX Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable also sprach Marcel Hicking [EMAIL PROTECTED] [2002.01.10.1646 +0100]: /bin/true will log you out right

Re: Fwd: scp, no ssh

2002-01-12 Thread Marcel Hicking
On 11 Jan 2002, at 0:06, martin f krafft wrote: --+xNpyl7Qekk2NvDX Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable also sprach Marcel Hicking [EMAIL PROTECTED] [2002.01.10.1646 +0100]: /bin/true will log you out right

Re: Fwd: scp, no ssh

2002-01-10 Thread Gernot Glawe
What about setting ssh and scp to a diffenrent user an make appropiate sudo settings ? Resent-Sender: [EMAIL PROTECTED] Resent-Bcc: Resent-Date: Thu, 10 Jan 2002 03:24:06 +0100 On Thu, 2002-01-10 at 12:19, Tim Quinlan wrote: how about setting the user's shell to /bin/true. this allows

Re: Fwd: scp, no ssh

2002-01-10 Thread martin f krafft
also sprach Tim Quinlan [EMAIL PROTECTED] [2002.01.10.0319 +0100]: how about setting the user's shell to /bin/true. this allows ftp, but no login shell. so it may work for scp as well. nope. as i said, scp uses ssh and needs a shell -- martin; (greetings from the heart of the

Re: Fwd: scp, no ssh

2002-01-10 Thread martin f krafft
also sprach Gernot Glawe [EMAIL PROTECTED] [2002.01.10.0905 +0100]: What about setting ssh and scp to a diffenrent user an make appropiate sudo settings ? and how do you want to get that working remotely? i supposed you could create a shell script scp and a shell script ssh that would call

Re: Fwd: scp, no ssh

2002-01-10 Thread martin f krafft
also sprach Joel Michael [EMAIL PROTECTED] [2002.01.10.0323 +0100]: This is true, but you can still (probably) use ssh to execute commands, like /bin/sh, and effectively get a shell. that's not possible either. try it. -- martin; (greetings from the heart of the sun.) \

Re: Fwd: scp, no ssh

2002-01-10 Thread Felipe Alvarez Harnecker
What about setting rbash as login shell and then PATH=/usr/local/bin in .bash_profile and then ln -s /usr/bin/scp /usr/local/bin/scp and and and then chattr +i .bash_profile That is what i do and it works ( as far as i know .. ) -- __

Re: Fwd: scp, no ssh

2002-01-10 Thread Marcel Hicking
What about sftp? Clients should be available by now. I mean, Windooze clients ;-) As secure as scp, as restricted as ftp. Cheers, Marcel On 9 Jan 2002, at 21:19, Tim Quinlan wrote: how about setting the user's shell to /bin/true. this allows ftp, but no login shell. so it may work for scp

Re: Fwd: scp, no ssh

2002-01-10 Thread Marcel Hicking
No way. /bin/true will log you out right away, and therefore you cannot start scp. I've doublechecked this yesterday, and even tried to put exit into the .bashrc *This* did work fine, no ssh anymore, but scp works. But! unforunatelly the user can scp an new .bashrc or use ssh and rm to remove

Re: Fwd: scp, no ssh

2002-01-10 Thread Nathan E Norman
On Thu, Jan 10, 2002 at 04:46:26PM +0100, Marcel Hicking wrote: No way. /bin/true will log you out right away, and therefore you cannot start scp. I've doublechecked this yesterday, and even tried to put exit into the .bashrc *This* did work fine, no ssh anymore, but scp works. But!

Re: Fwd: scp, no ssh

2002-01-10 Thread martin f krafft
also sprach Marcel Hicking [EMAIL PROTECTED] [2002.01.10.1646 +0100]: What about sftp? Clients should be available by now. I mean, Windooze clients ;-) As secure as scp, as restricted as ftp. but you still need to enable a shell and ssh, because sftp does nothing else but pipe over ssh...

Re: Fwd: scp, no ssh

2002-01-10 Thread martin f krafft
also sprach Marcel Hicking [EMAIL PROTECTED] [2002.01.10.1646 +0100]: /bin/true will log you out right away, and therefore you cannot start scp. I've doublechecked this yesterday, and even tried to put exit into the .bashrc *This* did work fine, no ssh anymore, but scp works. But!

Re: Fwd: scp, no ssh

2002-01-10 Thread martin f krafft
also sprach Tim Quinlan [EMAIL PROTECTED] [2002.01.10.0319 +0100]: how about setting the user's shell to /bin/true. this allows ftp, but no login shell. so it may work for scp as well. nope. as i said, scp uses ssh and needs a shell -- martin; (greetings from the heart of the

Re: Fwd: scp, no ssh

2002-01-10 Thread martin f krafft
also sprach Gernot Glawe [EMAIL PROTECTED] [2002.01.10.0905 +0100]: What about setting ssh and scp to a diffenrent user an make appropiate sudo settings ? and how do you want to get that working remotely? i supposed you could create a shell script scp and a shell script ssh that would call

Re: Fwd: scp, no ssh

2002-01-10 Thread martin f krafft
also sprach Joel Michael [EMAIL PROTECTED] [2002.01.10.0323 +0100]: This is true, but you can still (probably) use ssh to execute commands, like /bin/sh, and effectively get a shell. that's not possible either. try it. -- martin; (greetings from the heart of the sun.) \

Re: Fwd: scp, no ssh

2002-01-10 Thread Felipe Alvarez Harnecker
What about setting rbash as login shell and then PATH=/usr/local/bin in .bash_profile and then ln -s /usr/bin/scp /usr/local/bin/scp and and and then chattr +i .bash_profile That is what i do and it works ( as far as i know .. ) -- __

Re: Fwd: scp, no ssh

2002-01-10 Thread Marcel Hicking
What about sftp? Clients should be available by now. I mean, Windooze clients ;-) As secure as scp, as restricted as ftp. Cheers, Marcel On 9 Jan 2002, at 21:19, Tim Quinlan wrote: how about setting the user's shell to /bin/true. this allows ftp, but no login shell. so it may work for scp

Re: Fwd: scp, no ssh

2002-01-10 Thread Marcel Hicking
No way. /bin/true will log you out right away, and therefore you cannot start scp. I've doublechecked this yesterday, and even tried to put exit into the .bashrc *This* did work fine, no ssh anymore, but scp works. But! unforunatelly the user can scp an new .bashrc or use ssh and rm to remove it.

Re: Fwd: scp, no ssh

2002-01-10 Thread Nathan E Norman
On Thu, Jan 10, 2002 at 04:46:26PM +0100, Marcel Hicking wrote: No way. /bin/true will log you out right away, and therefore you cannot start scp. I've doublechecked this yesterday, and even tried to put exit into the .bashrc *This* did work fine, no ssh anymore, but scp works. But!

Re: Fwd: scp, no ssh

2002-01-10 Thread martin f krafft
also sprach Marcel Hicking [EMAIL PROTECTED] [2002.01.10.1646 +0100]: What about sftp? Clients should be available by now. I mean, Windooze clients ;-) As secure as scp, as restricted as ftp. but you still need to enable a shell and ssh, because sftp does nothing else but pipe over ssh... --

Re: Fwd: scp, no ssh

2002-01-10 Thread martin f krafft
also sprach Marcel Hicking [EMAIL PROTECTED] [2002.01.10.1646 +0100]: /bin/true will log you out right away, and therefore you cannot start scp. I've doublechecked this yesterday, and even tried to put exit into the .bashrc *This* did work fine, no ssh anymore, but scp works. But!

Fwd: scp, no ssh

2002-01-09 Thread Tim Quinlan
how about setting the user's shell to /bin/true. this allows ftp, but no login shell. so it may work for scp as well. -- Forwarded Message -- Subject: scp, no ssh Date: Wed, 9 Jan 2002 09:49:10 +0100 From: Robert Janusz [EMAIL PROTECTED] To: [EMAIL PROTECTED] How to allow,

Re: Fwd: scp, no ssh

2002-01-09 Thread Joel Michael
On Thu, 2002-01-10 at 12:19, Tim Quinlan wrote: how about setting the user's shell to /bin/true. this allows ftp, but no login shell. so it may work for scp as well. This is true, but you can still (probably) use ssh to execute commands, like /bin/sh, and effectively get a shell. -- Joel

Re: Fwd: scp, no ssh

2002-01-09 Thread Tim Quinlan
On Wednesday 09 January 2002 21:23, Joel Michael wrote: On Thu, 2002-01-10 at 12:19, Tim Quinlan wrote: how about setting the user's shell to /bin/true. this allows ftp, but no login shell. so it may work for scp as well. This is true, but you can still (probably) use ssh to execute

Fwd: scp, no ssh

2002-01-09 Thread Tim Quinlan
how about setting the user's shell to /bin/true. this allows ftp, but no login shell. so it may work for scp as well. -- Forwarded Message -- Subject: scp, no ssh Date: Wed, 9 Jan 2002 09:49:10 +0100 From: Robert Janusz [EMAIL PROTECTED] To: debian-isp@lists.debian.org How

Re: Fwd: scp, no ssh

2002-01-09 Thread Tim Quinlan
On Wednesday 09 January 2002 21:23, Joel Michael wrote: On Thu, 2002-01-10 at 12:19, Tim Quinlan wrote: how about setting the user's shell to /bin/true. this allows ftp, but no login shell. so it may work for scp as well. This is true, but you can still (probably) use ssh to execute