~alpine/devel

1

[alpine-devel] Informational:vsftpd,/etc/shells

Michael Mason <ms13sp@gmail.com>
Details
Message ID
<9B529F38-7F9D-4E6A-A129-B9747FD99F83@gmail.com>
Sender timestamp
1226346770
DKIM signature
missing
Download raw message
This is more as an informational note. If the group thinks that  
something needs to be changed great, if not ok.

Was using alpine linux to setup a ftp server. Installed vsftp and  
configured it. For some reason it would not allow any local accounts  
to log in.
Then I tried root. That worked. :(
Weird.
Why wouldn't the accounts I created work? Strace was no help because  
each connection spun off an child process which didn't tell me what  
was going on.

Did some long research on the net and found that vsftpd will check / 
etc/shells to validate that the user account is correct.

/etc/shells on alpine
# valid login shells
/bin/ash
/bin/dash
#/bin/bash
#/bin/lash
#/bin/msh

adduser makes the user account have /etc/sh as the shell. :) Not a  
valid shell according to /etc/shells.




---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---
Natanael Copa <ncopa@alpinelinux.org>
Details
Message ID
<1226475765.31131.99.camel@nc>
In-Reply-To
<9B529F38-7F9D-4E6A-A129-B9747FD99F83@gmail.com> (view parent)
Sender timestamp
1226475765
DKIM signature
missing
Download raw message
On Mon, 2008-11-10 at 19:52 +0000, Michael Mason wrote:

> Did some long research on the net and found that vsftpd will check / 
> etc/shells to validate that the user account is correct.
> 
> /etc/shells on alpine
> # valid login shells
> /bin/ash
> /bin/dash
> #/bin/bash
> #/bin/lash
> #/bin/msh
> 
> adduser makes the user account have /etc/sh as the shell. :) Not a  
> valid shell according to /etc/shells.

Fixed:
http://dev.alpinelinux.org/cgit/cgit.cgi/alpine-baselayout/commit/?id=fdb82862827eebf6ccfb7870c9723b278c3b0797

Thanks for taking time to report this.

-nc



---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---
Reply to thread Export thread (mbox)