08-30-2006
To restrict ftp we usually just change the ftp daemon to something like proftpd which allows you to configure different option for different user/directories.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Is there a way to create or better yet modify a user account so it has the same privs as root? (6 Replies)
Discussion started by: xadamz23
6 Replies
2. UNIX for Dummies Questions & Answers
i want to create unix user account (usera) for outsider so that they can run program that exist in /application/xxx/.
The account have their own home directory (/home/usera).
But on the same time the user cannot run any application/command either than in /application/xxx/.
User can only... (1 Reply)
Discussion started by: golden_shooter
1 Replies
3. UNIX for Advanced & Expert Users
i want to create unix user account (usera) for outsider so that they can run program that exist in /application/xxx/.
The account have their own home directory (/home/usera).
But on the same time the user cannot run any application/command either than in /application/xxx/.
User can only... (1 Reply)
Discussion started by: golden_shooter
1 Replies
4. UNIX for Dummies Questions & Answers
dear guys,
sorry for asking a noob :p question, tried to search the forum for an answer but couldn't find one, i am running solaris 10 and i would like to create a user with limited access to view only one directory, the directory already exist, is this possible:confused:?
thanks and regards (4 Replies)
Discussion started by: q8devilish
4 Replies
5. Shell Programming and Scripting
HI
I want to make only one IP can access to ftp acount in cpanel or by shell
can any body help me ? (1 Reply)
Discussion started by: elkadrey
1 Replies
6. Solaris
Hi All,
I want to create an user account which can only excute "df -kh" and "prstat -a" command. The user will not be able to perform "rm" and other critical commands.
Is there a way to do it?
rgds,
Ronny (2 Replies)
Discussion started by: ronny_nch
2 Replies
7. Solaris
is there a way to create a user and limit him to read,write and execute only in one direcotry.
the directory is already exsist and it belongs to dba group.
i would like to make this user can't even cd to another directory or even if he can he cant do anything in the other directories.
if... (7 Replies)
Discussion started by: q8devilish
7 Replies
8. UNIX for Advanced & Expert Users
Hi all,
Can someone help me with creating user with special privilegies?
I need to create user who will have access ONLY to one folder (like /etc/log/) through ftp (read only access) and which will not have any other ways to log in like telnet, ssh etc.? (5 Replies)
Discussion started by: nypreH
5 Replies
9. HP-UX
As i know, Unix or Linux only manages 2 type of user: root user or normal user.
All users with userID=0 will have all administration permissions like root user with the system.
In my case, i want to create a new user in HP-UNIX environment with all root permissions only one exception that this... (5 Replies)
Discussion started by: hieucn1404
5 Replies
10. Ubuntu
Hello folks,
I pretend install Lubuntu 16.04 LTS in pc for any employer use this pc! I think create an user with, only, permission to read and write, 770.
This is the best scenario?
I think create this user through terminal, because I pretend create a script, and I don't where wizard has... (0 Replies)
Discussion started by: enodev
0 Replies
LEARN ABOUT DEBIAN
ftpshut
ftpshut(8) System Manager's Manual ftpshut(8)
NAME
ftpshut - shut down all proftpd servers at a given time
SYNOPSIS
ftpshut [ -R ] [ -l min ] [ -d min ] time [ warning-message ]
DESCRIPTION
The ftpshut command provides an automated shutdown procedure that a superuser can use to automagically disconnect current proftpd connec-
tions, and deny new connections. The command creates a control file as /etc/shutmsg to inform proftpd processes about an impending shut-
down.
OPTIONS
time The time at which the ftp servers will be brought down. It may be the word `now', indicating an immediate shutdown, or a future
time in one of two formats: +number or HHMM. The first form brings the servers down in number minutes, while the second form
indicates an exact time of day, using a 24-hour clock format.
-R Instructs ftpshut to remove the /etc/shutmsg file, restoring proftpd to its normal service. If this option is used, this will be
the only operation performed by ftpshut
-l min Specifies the number of minutes before shutdown that new ftp access will be disabled. If the -l option is not specified, a
default of 10 minutes (or immediately, if less than 10 minutes remains until shutdown) is used.
-d min Specifies the number of minutes before shutdown that existing ftp connections will be disconnected. If the -d option is not
specified, a default of 5 minutes (or immediately, if less than 5 minutes remains until shutdown) is used.
warning-message
Optionally provide a message which will be sent to new connections (if denied) and existing connections (when disconnected). The
message can contain the following magic cookies, which will be replaced as follows before being sent to new or existing connec-
tions:
%s time proftpd is being shut down
%r time new connections will be denied
%d time current connections will be dropped
%C current working directory (where applicable)
%L local host name (or virtualhost name)
%R remote host name
%T local time (format Thu Nov 15 17:12:42 1990)
%U username given at login time
CAVEATS
Proftpd servers can only be shutdown via ftpshut if a master daemon is running in standalone mode. Servers running in inetd mode will
honor the shutdown message file created by ftpshut, however currently running servers may be chroot(2)ed, and unable to read the shutdown
message control file.
It is possible to set an absolute shutdown time which is earlier than the current time. If this is the case, proftpd will not shutdown
until the indicated time on the following day.
FILES
/usr/sbin/ftpshut
/etc/shutmsg
AUTHORS
ProFTPD is written and maintained by a number of people, full credits can be found on http://www.proftpd.org/credits.html
SEE ALSO
inetd(8),ftp(1),proftpd(8),ftpwho(1),ftpcount(1)
Full documentation on ProFTPD, including configuration and FAQs, is available at http://www.proftpd.org/
For help/support, try the ProFTPD mailing lists, detailed on http://www.proftpd.org/lists.html
Report bugs at http://bugs.proftpd.org/
March 2003 ftpshut(8)