Creating FTPonly User Acc?

From: Chris cc (lazyboy_2k@yahoo.com)
Date: Thu Oct 18 2007 - 13:44:35 EDT


Hi,

I'm trying to create a "ftponly" user account on solaris 9 & 10 & somehow i'm getting permission denied. Could someone please help?

Here are the steps that I do:

On the 1st machine:
===============
# echo 'echo "This account only allows FTP Access." ' > /bin/ftponly
# chmod a+x /bin/ftponly
#ls -la /bin/ftponly
-rwxr-xr-x 1 root root 44 Oct 18 09:27 /bin/ftponly

# ls /bin/ksh > /etc/shells
# vi /etc/shells ----------> Add /bin/ftponly
# chmod a+x /etc/shells
# useradd -c "FTP Only User" -d /oraclesw/ftpfiles -m -s /bin/ftponly -g oinstall ftponly
# passwd ftponly
.......
# grep ftponly /etc/group
oinstall::101:oracle,ftponly

#ls -la /oraclesw/ftpfiles
total 4
drwxr-xr-x 2 root root 512 Oct 18 09:32 .
drwxr-xr-x 7 oracle oinstall 512 Oct 18 09:32 ..

On a 2nd machine:
==============
# ftp suntest1
 .........
 
ftp> ascii
200 Type set to A.
ftp> put test
200 PORT command successful.
553 test1: Permission denied.

Am I missing some steps here? Any helps are appreciated.
TIA,
-Chris
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:42:26 EDT