Sponsored Content
Full Discussion: configuring vsftpd
Operating Systems Linux Red Hat configuring vsftpd Post 302627845 by admin_xor on Sunday 22nd of April 2012 04:00:49 AM
Old 04-22-2012
Always happy to help! Smilie

You can achieve this in several ways. I will provide you the convenient one here.

1. Make a group called "ftpusers" or something like that:
Code:
groupadd ftpusers

2. Change the home directory of the users who will login to the ftp to /var/ftp/pub/files and add them to the group ftpusers:
Code:
usermod -aG ftpusers -d /var/ftp/pub/files user01

3. Change the group ownership of /var/ftp/pub/files
Code:
chown root:ftpusers /var/ftp/pub/files

4. Make the directory writable by the ftpusers (if needed) group
Code:
chmod g+w /var/ftp/pub/files

5. And that's it!
Code:
Connected to 10.0.1.101.
220 (vsFTPd 2.2.2)
User (10.0.1.101:(none)): user01
331 Please specify the password.
Password:
230 Login successful.
ftp> pwd
257 "/var/ftp/pub/files"
ftp>

 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Service + vsftpd

Hello, I have two problems: 1. The service command does not work on my system! I mean when I enter: service ... start I get: bash: service: command not found 2. I want to launch my vsftpd server. I tried to launch it using service command and you see that it didn't work! Please help... (1 Reply)
Discussion started by: HSN
1 Replies

2. Linux

VSFTPD, cannot login

I setup vsftpd.conf as follows and tried to login using root and normal user 'winston' but failed authentication. Any idea what's wrong? ======================== CONTENTS OF /etc/vsftpd/vsftpd.conf anonymous_enable=NO local_enable=YES dirmessage_enable=YES connect_from_port_20=YES... (3 Replies)
Discussion started by: panggou
3 Replies

3. UNIX for Dummies Questions & Answers

Problem using VSFTPD

Hello, When my fellow employees loggin to the FTP server they have no problems if they use FTP clients. When they try and access the FTP site using their browsers using ftp://<domain> name all they get is a pub directory which is empty. They are not even prompted for loggin. How to fix... (2 Replies)
Discussion started by: mojoman
2 Replies

4. UNIX for Dummies Questions & Answers

VSFTPD

Hi, I am using VSFTPD. I have instructed it to send all logging informartion to /var/log/messages. I would like it to record the names of users who have failed loggin attempts. I have read up on it but have not found out how to do this. Any ideas? (1 Reply)
Discussion started by: mojoman
1 Replies

5. UNIX for Dummies Questions & Answers

vsftpd with SSL

Hi there. Im studying and i've got an exercise that i cannot fully understand. Im trying and testing, but it didnt works What i need to configure ftps ( vsftpd ) with openssl? (1 Reply)
Discussion started by: andriusman
1 Replies

6. UNIX for Dummies Questions & Answers

Vsftpd not installing

$ rpm -ivh vsftpd-2.2.2-6.el6.i686.rpm warning: vsftpd-2.2.2-6.el6.i686.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY error: can't create transaction lock on /var/lib/rpm/.rpm.lock (Permission denied) why is it actually happening am goin nuts plzz help me out :( (1 Reply)
Discussion started by: lost101
1 Replies

7. UNIX for Advanced & Expert Users

Vsftpd serious issues

hello mighty all there's a problem in vsftpd it allows to delete files which have 000 mode and root:root owner also 400 even with option deny_file={those_files} - still allowed i'm doing it through mc through ftp-shell it's not allowed it's not working if mother-dir have -w and not working... (3 Replies)
Discussion started by: tip78
3 Replies

8. UNIX for Dummies Questions & Answers

Vsftpd is not working

Hi, I installed debian jessie and friend asked me to install for him vsftpd, of course, first I try at my vps, but I don't get it to work. there are many tutorials to install ftp server but as i said, it is not working and beside running ftp server, I need for him and some GUI to use it, he is... (2 Replies)
Discussion started by: alanford
2 Replies

9. UNIX for Dummies Questions & Answers

Vsftpd

Hello I am new to linux. I have recently installed vsftpd in my Centos server. I have set the local_umask=0037. But now i can't understand how the window users added in a centos server can see each-other folder. ---------- Post updated at 05:59 AM ---------- Previous update was at 05:55 AM... (7 Replies)
Discussion started by: Maham Zahid
7 Replies

10. UNIX for Advanced & Expert Users

Does vsftpd support user access with client certificate with priv/pub key + vsftpd certificate?

:rolleyes:I am trying to setup all certificate based client-server environment in Linux using vsftpd and curl with openssl. I would like to make a user access with vsftpd certificate and user own client certificate (self-signed) with private/public key. I don't see google posts about the my plan... (4 Replies)
Discussion started by: gogogo
4 Replies
PDLAEVSWP(l)						   LAPACK routine (version 1.5) 					      PDLAEVSWP(l)

NAME
PDLAEVSWP - move the eigenvectors (potentially unsorted) from where they are computed, to a ScaLAPACK standard block cyclic array, sorted so that the corresponding eigenvalues are sorted SYNOPSIS
SUBROUTINE PDLAEVSWP( N, ZIN, LDZI, Z, IZ, JZ, DESCZ, NVS, KEY, WORK, LWORK ) INTEGER IZ, JZ, LDZI, LWORK, N INTEGER DESCZ( * ), KEY( * ), NVS( * ) DOUBLE PRECISION WORK( * ), Z( * ), ZIN( LDZI, * ) PURPOSE
PDLAEVSWP moves the eigenvectors (potentially unsorted) from where they are computed, to a ScaLAPACK standard block cyclic array, sorted so that the corresponding eigenvalues are sorted. Notes ===== Each global data object is described by an associated description vector. This vector stores the information required to establish the mapping between an object element and its corresponding process and memory location. Let A be a generic term for any 2D block cyclicly distributed array. Such a global array has an associated description vector DESCA. In the following comments, the character _ should be read as "of the global array". NOTATION STORED IN EXPLANATION --------------- -------------- -------------------------------------- DTYPE_A(global) DESCA( DTYPE_ )The descriptor type. In this case, DTYPE_A = 1. CTXT_A (global) DESCA( CTXT_ ) The BLACS context handle, indicating the BLACS process grid A is distribu- ted over. The context itself is glo- bal, but the handle (the integer value) may vary. M_A (global) DESCA( M_ ) The number of rows in the global array A. N_A (global) DESCA( N_ ) The number of columns in the global array A. MB_A (global) DESCA( MB_ ) The blocking factor used to distribute the rows of the array. NB_A (global) DESCA( NB_ ) The blocking factor used to distribute the columns of the array. RSRC_A (global) DESCA( RSRC_ ) The process row over which the first row of the array A is distributed. CSRC_A (global) DESCA( CSRC_ ) The process column over which the first column of the array A is distributed. LLD_A (local) DESCA( LLD_ ) The leading dimension of the local array. LLD_A >= MAX(1,LOCr(M_A)). Let K be the number of rows or columns of a distributed matrix, and assume that its process grid has dimension p x q. LOCr( K ) denotes the number of elements of K that a process would receive if K were distributed over the p processes of its process col- umn. Similarly, LOCc( K ) denotes the number of elements of K that a process would receive if K were distributed over the q processes of its process row. The values of LOCr() and LOCc() may be determined via a call to the ScaLAPACK tool function, NUMROC: LOCr( M ) = NUMROC( M, MB_A, MYROW, RSRC_A, NPROW ), LOCc( N ) = NUMROC( N, NB_A, MYCOL, CSRC_A, NPCOL ). An upper bound for these quantities may be computed by: LOCr( M ) <= ceil( ceil(M/MB_A)/NPROW )*MB_A LOCc( N ) <= ceil( ceil(N/NB_A)/NPCOL )*NB_A ARGUMENTS
NP = the number of rows local to a given process. NQ = the number of columns local to a given process. N (global input) INTEGER The order of the matrix A. N >= 0. ZIN (local input) DOUBLE PRECISION array, dimension ( LDZI, NVS(iam) ) The eigenvectors on input. Each eigenvector resides entirely in one process. Each process holds a contiguous set of NVS(iam) eigenvectors. The first eigenvector which the process holds is: sum for i=[0,iam-1) of NVS(i) LDZI (locl input) INTEGER leading dimension of the ZIN array Z (local output) DOUBLE PRECISION array global dimension (N, N), local dimension (DESCZ(DLEN_), NQ) The eigenvectors on output. The eigenvectors are distributed in a block cyclic manner in both dimensions, with a block size of NB. IZ (global input) INTEGER Z's global row index, which points to the beginning of the submatrix which is to be operated on. JZ (global input) INTEGER Z's global column index, which points to the beginning of the submatrix which is to be operated on. DESCZ (global and local input) INTEGER array of dimension DLEN_. The array descriptor for the distributed matrix Z. NVS (global input) INTEGER array, dimension( nprocs+1 ) nvs(i) = number of processes number of eigenvectors held by processes [0,i-1) nvs(1) = number of eigen vectors held by [0,1-1) == 0 nvs(nprocs+1) = number of eigen vectors held by [0,nprocs) == total number of eigenvectors KEY (global input) INTEGER array, dimension( N ) Indicates the actual index (after sorting) for each of the eigenvectors. WORK (local workspace) DOUBLE PRECISION array, dimension (LWORK) LWORK (local input) INTEGER dimension of WORK LAPACK version 1.5 12 May 1997 PDLAEVSWP(l)
All times are GMT -4. The time now is 02:52 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy