Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Missing FTP configuration files/commands Post 302947558 by HeyMoe on Thursday 18th of June 2015 08:02:15 PM
Old 06-18-2015
Quote:
Originally Posted by rbatte1
A standard user account should suffice to get it working from an FTP point of view.

To stop a login, change the default user shell to be /bin/false

Make sure that you try to login and set the password that way so that FTP will allow the login. If the password has expired, the FTP login will be refused.

Robin
There's the problem. I need to put that in the /etc/shells file. Which isn't there.
When I created one, and put that line in, all my other logins began to fail.

But it did work. I was able to login via FTP only. (ie. No telnet.)

Would I need to include all the other shells that other users use? Smilie)

But to restrict the user to one particular directory, I would need those other files and commands.

This is the link to a message on these boards that details what I need.
"https://www.unix.com/solaris/146507-how-restrict-user-specific-directory-solaris-10-a.html"
(It seems I'm not allowed to include links in my messages yet!)

Thanks.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

FTP configuration in Solaris 5.7

Hi everybody ! How can I configure the ftp in solaris systems ? Wich files ? To resume : I want to create a user wich can get from a ftp session running from a PC, some files without going up in the directories. If I attached the ksh or sh shell to the user, he can go wherever he wants. If I... (7 Replies)
Discussion started by: MarcoW
7 Replies

2. UNIX for Dummies Questions & Answers

Network Configuration Commands.....

I need to know what commands I will need to use to change a host name, IP Address, and network configurations (routerings, dns, etc) and a Unix SCO machine. Also, if there is any short tutorials on using the commands, i would defiently like that information. Thanks!!! (1 Reply)
Discussion started by: HandleX
1 Replies

3. Linux

OS errors/missing commands

Hi all, .... I have major errors on entering the shell. On login I get: -bash: dircolors: command not found -bash: tr: command not found -bash: fgrep: command not found -bash: grep: command not found -bash: grep: command not found -bash: id: command not found -bash: # root@host # pwd... (0 Replies)
Discussion started by: wcmmlynn
0 Replies

4. Solaris

FTP - configuration

Hi all I need basic help to configure/check an FTP account on Solaris 9 (5.9) (by shell) with man ftp I'm not really able to configure that. On google or doc.sun.com I cant find a basic understanding of configuration an ftp server. Where are the files / setupfile. does somebody helps me with... (5 Replies)
Discussion started by: actino
5 Replies

5. UNIX for Advanced & Expert Users

missing data in FTP file

Hello - I am FTPing file from remote unix box to my unix box. I am FTPing file around 2AM. some time, the complete fle is not ftping.. I am missing data in the FTP file. It happens few times in a month. Whenever, i miss the data, the file size is always 60106. The actual file size is not that... (4 Replies)
Discussion started by: govindts
4 Replies

6. Web Development

ftp: missing chown command

hi, I'm connecting to a web server with ftp protocol and I would like to change some folders and files owner. I tried chown but it is not available. I typed "help" and this is the list I got. Is possible that the chown command is not installed on the server ? Or I don't have permissions ?... (8 Replies)
Discussion started by: aneuryzma
8 Replies

7. UNIX for Dummies Questions & Answers

unix commands related to ftp of files..

Hi, I am new to unix , I was planning to write a script that will FTP files to destination folder. , Please guide me what are the various networking commands that unix will help in this ftp process..?:confused: (1 Reply)
Discussion started by: rahul125
1 Replies

8. IP Networking

ftp configuration

Hi, I have been a unix box testing machine and I access to it through putty with my creditials now I have an sftp script to transfer files from that machine to some other ftp server but recently I come to know that due to some reason ftp server is not ready so I have to make my current machine... (0 Replies)
Discussion started by: rahul125
0 Replies

9. Solaris

ftp configuration

hi, I am using Solaris 10, actually i want to restrict user to access upper level directory while using ftp, means when user access a folder using ftp he has no access to go to base directory. If i am not wrong ftp configuration file use in solaris 10 is /etc/ftpd/ftpaccess kindly confirm, I... (1 Reply)
Discussion started by: zeeshan047
1 Replies

10. IP Networking

How to transfer files from UNIX server to windows machine or vice versa using ftp or sftp commands?

hi, i want to write a shell script code which transfers files from a directory in unix server to a directory in a windows machine.. can any1 give me a sample code which uses ftp or sftp command.. thanks very much, (3 Replies)
Discussion started by: Little
3 Replies
ftpconfig(1M)						  System Administration Commands					     ftpconfig(1M)

NAME
ftpconfig - set up anonymous FTP SYNOPSIS
ftpconfig [ftpdir] ftpconfig -d ftpdir DESCRIPTION
The ftpconfig script is executed by the super user to set up anonymous FTP. Anonymous FTP allows users to remotely log on to the FTP server by specifying the user name ftp or anonymous and the user's email address as password. The anonymous users are logged on to the FTP Server and given access to a restricted file area with its own file system root. See chroot(2). The FTP area has its own minimal system files. This command will copy and set up all the components needed to operate an anonymous FTP server, including creating the ftp user account, creating device nodes, copying /usr/lib files, and copying timezone data. The passwd and group files set up have been stripped down to prevent malicious users from finding login names on the server. The anonymous file area will be placed under ftpdir. If the ftp user account already exists, then the current FTP area is used, and the system files in it are updated. All other files are left untouched. This command should be run to update the anonymous FTP area's configuration whenever a system patch is installed, or the system is upgraded. OPTIONS
-d Create a new or update an existing ftpdir without creating or updating the ftp user account. Use this option when creating guest FTP user accounts. OPERANDS
The following operands are supported: ftpdir The absolute pathname of the directory under which the anonymous FTP area is set up. EXIT STATUS
The following exit values are returned: 0 Successful completion 1 Improper usage of the command 2 Command failed ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWftpu | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ SEE ALSO
ftpaddhost(1M), in.ftpd(1M), useradd(1M), chroot(2), attributes(5) SunOS 5.10 1 May 2003 ftpconfig(1M)
All times are GMT -4. The time now is 06:21 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy