Re: ssh bypassing OS procedures?
From: Chuck (hal___jordan@hotmail.com)Date: 09/13/02
- Next message: Kevin Steves: "Re: ssh bypassing OS procedures?"
- Previous message: Madeleine Yeh: "cannot compile openssh3.4 on Irix 6.2"
- In reply to: : "Re: ssh bypassing OS procedures?"
- Next in thread: Kevin Steves: "Re: ssh bypassing OS procedures?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: hal___jordan@hotmail.com (Chuck) Date: 13 Sep 2002 11:02:06 -0700
"Nico Kadel-Garcia" <nkadel@bellatlantic.net> wrote in message news:<B0eg9.8554$HT2.3795@nwrddc04.gnilink.net>...
> "Chuck" <hal___jordan@hotmail.com> wrote in message
> news:b1713487.0209120552.160edd4c@posting.google.com...
> > Platform: Sparc/Solaris 2.6
> > Version OpenSSH: 3.4p1
> > I have a ftp server setup so that if the users don't change their
> > passwords every thirty days, the OS will lock the user account. This
> > is done by normal means through /etc/default/passwd. I have a user who
> > believes that it doesn't matter whether or not his user id is locked,
> > he can still ssh into the system via private key authentication. He
> > maintains that ssh doesn't care what the OS says, it will still grant
> > access. Any application that totally bypasses the OS sounds awfully
> > suspect to me. I don't believe SSH would do this. And I have been
> > unable to make SSH perform in this way. My question: Can you really
> > configure ssh so that it bypasses the OS's procedure and just
> > authenticates through encrypted keys?
>
> Authentication through the keys avoids the password authentication, true.
> And locking an account fully should be done by both disabling the password
> and disabling the user's shell. Disabling his shell should help to spike
> this trick.
>
> Why are you giving user accounts on your ftp server? Secure FTP servers
> should *NEVER* have user accounts with the same passwords as the ftp
> accounts. Look at proftpd for examples of how to correctly configure ftp
> accounts to have distinct passwords from the shell accounts.
>
> > By the way, the user uses rsync to transfer files and seems to have
> > found a way to transfer files despite the fact that his user id is
> > locked. More power to him. I'm impressed by his ability to adapt, but
> > ... how did he do that??
>
> "rsync -e ssh"
>
> Read the man page on rsync for more details.
Thanks very much for all the info.
Actually most of the users have the shell, /etc/ftponly, but this one
is "special". As for the reasons behind the ftp server's
configuration... (1) it was configured that way when my group took
responsibility for it (2) Even if I had set it up myself, I'm not sure
I would've done it differently because I didn't know about proftp or
security concepts on a ftp server. But now I do thanks to your post!
:)
Thanks again.
- Next message: Kevin Steves: "Re: ssh bypassing OS procedures?"
- Previous message: Madeleine Yeh: "cannot compile openssh3.4 on Irix 6.2"
- In reply to: : "Re: ssh bypassing OS procedures?"
- Next in thread: Kevin Steves: "Re: ssh bypassing OS procedures?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|