How do I configure ftp anonymous, guest and "chroot" user access in Solaris 9 and Solaris 10?

(Doc ID 1012011.1)

Last updated on JULY 11, 2017

Applies to:

OpenSolaris Operating System - Version 2008.05 and later
Solaris Operating System
All Platforms

Goal

A common configuration for FTP is the anonymous, chrooted or jailed ftp user, which restricts the user to a single directory that looks like / (root).  No other filesystems are accessible.  (In Solaris 8 FTP, this was referred to as a "sub-login").

This technical instruction will provide the steps required to configure anonymous ftp, guest ftp or chrooted ftp access. The script /usr/sbin/ftpconfig is used as well as creating accounts and editing the /etc/password and /etc/shadow file, depending upon the type of user required. Edits to the /etc/ftpd/ftpaccess file are also required.

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms