vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hello: How would one enable ftp access for a particular user (not a superuser) say from a Windows box? When user tries to ftp our K580 he gets errmsg: 530 User testuser access denied. Login failed. Remote system type is UNIX. Using binary mode to transfer files. What can I add/check to resolve this? Thank you everyone. |
| |||
| Hey; On 2004-10-06, BB <ccc@caraudio.com> wrote: > > How would one enable ftp access for a particular user (not a superuser) say > from a Windows box? When user tries to ftp our K580 he gets errmsg: > > 530 User testuser access denied. > Login failed. > Remote system type is UNIX. > Using binary mode to transfer files. > There's a couple of things for you to check. First, check the syslog for any messages from the ftp daemon. Chances are, your answer is there. Failing that, verify that ftp is enabled. # grep "^ftp" /etc/inetd.conf ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l If you don't get a line back that looks something like the above, then edit /etc/inetd.conf and either add the line or uncomment the ftp daemon. Remember to "inetd -c" to reload the inet configuration. Assuming that's the case, verify that testuser has a valid account and you know what the password is. Then, verify that testuser's shell is in /etc/shells. Also, verify that testuser has a home directory and that the account owns it. Those are all the things I can think of off the top of my head. HTH; Doug -- -------- Senior UNIX Admin O'Leary Computer Enterprises dkoleary@olearycomputers.com (w) 630-904-6098 (c) 630-248-2749 resume: http://home.comcast.net/~dkoleary/resume.html |
| |||
| Doug O'Leary wrote: > Hey; > > On 2004-10-06, BB <ccc@caraudio.com> wrote: > >>How would one enable ftp access for a particular user (not a superuser) say >>from a Windows box? When user tries to ftp our K580 he gets errmsg: >> >>530 User testuser access denied. >>Login failed. >>Remote system type is UNIX. >>Using binary mode to transfer files. >> > > > There's a couple of things for you to check. First, check the syslog > for any messages from the ftp daemon. Chances are, your answer is > there. > > Failing that, verify that ftp is enabled. > > # grep "^ftp" /etc/inetd.conf > ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l > > If you don't get a line back that looks something like the above, then > edit /etc/inetd.conf and either add the line or uncomment the ftp daemon. > Remember to "inetd -c" to reload the inet configuration. > > Assuming that's the case, verify that testuser has a valid account and > you know what the password is. Then, verify that testuser's shell is > in /etc/shells. Also, verify that testuser has a home directory and that > the account owns it. Additionally also verify that /etc/ftpd/ftpusers has *no* entry of the user in question. |
| ||||
| Thank you Doug and mgrd. It worked as you guys suggested! "Doug O'Leary" <dkoleary@olearycomputers.com> wrote in message news:TeQ8d.5188$GT4.2934@news.flashnewsgroups.com. .. > Hey; > > On 2004-10-06, BB <ccc@caraudio.com> wrote: >> >> How would one enable ftp access for a particular user (not a superuser) >> say >> from a Windows box? When user tries to ftp our K580 he gets errmsg: >> >> 530 User testuser access denied. >> Login failed. >> Remote system type is UNIX. >> Using binary mode to transfer files. >> > > There's a couple of things for you to check. First, check the syslog > for any messages from the ftp daemon. Chances are, your answer is > there. > > Failing that, verify that ftp is enabled. > > # grep "^ftp" /etc/inetd.conf > ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l > > If you don't get a line back that looks something like the above, then > edit /etc/inetd.conf and either add the line or uncomment the ftp daemon. > Remember to "inetd -c" to reload the inet configuration. > > Assuming that's the case, verify that testuser has a valid account and > you know what the password is. Then, verify that testuser's shell is > in /etc/shells. Also, verify that testuser has a home directory and that > the account owns it. > > Those are all the things I can think of off the top of my head. > > HTH; > > Doug > > > -- > -------- > Senior UNIX Admin > O'Leary Computer Enterprises > dkoleary@olearycomputers.com (w) 630-904-6098 (c) 630-248-2749 > resume: http://home.comcast.net/~dkoleary/resume.html > |
| Thread Tools | |
| Display Modes | |
|
|