| Blogs | Classifieds | Downloads | FlashChat | Gallery | Googlemap | Invite Friends | Links | Projects | Reviews | Wiki |
| |||||||||
Welcome to the pSeries Tech Forums,
our free peer-based support site for administrators, engineers and architects working with IBM pSeries servers and software. You are currently viewing our site as a guest which gives you limited access to view most discussions, articles, tutorials and access our other free features. By joining our community you will be able to collaborate with administrators, engineers and architects charged with designing, delivering or maintaining IBM pSeries server environments. Founded by a recognized IBM pSeries consultant and IBM Redbook author, pSeries Tech Forums was developed with the single mission of bringing IBM pSeries professionals together into a single self-help community. Registration is fast, simple and absolutely free to all IT professionals with responsibility for or interest in IBM pSeries servers. We invite you to join our community today! If you have any problems with the registration process or your account login, please contact contact support. |
| Our Sponsors | |
| | |
| Want to advertise? | |
![]() |
| | LinkBack | Thread Tools |
|
#1
| ||||
| ||||
| Hi Everyone, I have added all our users to our new server and would like to control "ftp" access. There are some users that need ftp access and others I do not want to have ftp access at all. Can someone tell me how I can accomplish this? Can ftp access be granted in read-only mode and update mode? thanks Dave |
|
#3
| ||||
| ||||
cat /etc/passwd |awk -F \: '{print $1}' |egrep -v "root|yourusers|otheruser" > /etc/ftpusers I run this daily vi cron to allow root and only some users to use ftp every one else will be blocked
__________________ To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. Glad to help |
|
#4
| ||||
| ||||
| Hi, thanks for your replies. I added a few names to the ftpusers file and this does block user ftp access, which is great. I have another question/approach: Instead of adding all user names to "/etc/ftpusers" to block ftp access, is there a way to do the opposite? ie. create a list of users I want to have ftp access and everyone else is blocked from accessing ftp. This way when new users get added they will not have ftp access unless added to this special list. thanks Dave |
|
#5
| ||||
| ||||
by using the script I showed you. This will stop users having ftp access Put this in cron to run once a day cat /etc/passwd |awk -F \: '{print $1}' |egrep -v "root|yourusers|otheruser" > /etc/ftpusers But note that this list is users with FTP access "root|yourusers|otheruser"
__________________ To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. Glad to help |
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Microsoft Windows 2003 Active Directory integration | FASherman | Tutorials | 25 | April 28th, 2008 07:14 |
| Cron user gone, still cron-ing | DougVonDoom | AIX for POWER Systems | 2 | September 7th, 2006 10:28 |
| user management | lawrenzo | AIX for POWER Systems | 14 | August 1st, 2006 21:36 |
| errdemon logs out and user sessions are dropped | watkins | AIX for POWER Systems | 3 | July 22nd, 2006 10:36 |
| Custom User Titles Enabled | FASherman | Announcements | 1 | July 1st, 2006 10:34 |