Visit Our UNIX and Linux User Community


Giving existing user access on ftp


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Giving existing user access on ftp
# 1  
Old 07-23-2009
Giving existing user access on ftp

Hi all,
I have a project on going that combines two different departments. I cannot give detais on this project, Im sure everybody understands that, but I would like your help on giving me pointers on how to give an existing user access to ftp, without the need to give him full access. So here are the steps I took:
First I created this ftpuser with its own home directory
Code:
sudo useradd -d /home/ftpuser -m ftpuser

Them I wanted to give him access, but I didnt want to give him full access using this code:
Code:
ftpuser ALL=(ALL) ALL

Dont even know if this would work....
Anyway, I look on the net a way to give access to a user using chmod command, and I did found lots of interresing things, but not exactly what I had in mind. So please, can you help me?
Advanced thanksSmilie

Previous Thread | Next Thread
Test Your Knowledge in Computers #46
Difficulty: Easy
Regarding computer networking, the exact meaning of the term VPN is 'virtual protected network.'
True or False?

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Giving password reset access to non-root user, in LDAP

Hi, We have two LDAP servers. Whenever we get a ticket to reset the password, we login to LDAP primary server and reset the password. For below example, I logged into primary LDAP server and resetting password to john to Welcome123# We are giving this work to tier-1 team, so that they can reset... (1 Reply)
Discussion started by: ron323232
1 Replies

2. Solaris

Limit FTP user's access to a specific directory

Hi, I have searched "Limit FTP user's access to a specific directory" subject for 3 days. I found proftp and vsftp but i couldn't compile and install. Is there any idea. Please suggest. (6 Replies)
Discussion started by: hamurd
6 Replies

3. Shell Programming and Scripting

Allow FTP user to access multiple directories

Hi Experts, I am in urgent need of your suggestions. I have below two users in my system: xyz:x:101:101:XYZ System Account:/export/home/xyz:/bin/bash abc:x:2009:10:ftp user only:/export/home/abc:/bin/false Where "xyz" is the crucial one and "abc" is only introduced for FTPing the... (2 Replies)
Discussion started by: sugarcane
2 Replies

4. UNIX for Advanced & Expert Users

How to create user with access only to one folder through ftp?

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

5. UNIX for Dummies Questions & Answers

kernel giving access for multiple users to access files

hi all, i want to know y kernel is giving access for multiple users to access a file when one user may be the owner is executing that file. Because other user can manipulate that file when the other user is executing that file, it will give the unexpected result to owner . plz help me... (1 Reply)
Discussion started by: jimmyuk
1 Replies

6. AIX

A user with restricted ftp access to a folder

Hi, We have Oracle Database on AIX 5.3 server.We want to give ftp access to a user to a specific folder.He should be able to put and get files from that specific folder only.Moreover he should not be able to cd to any other filesystems also along with root directory. Please note that as per... (1 Reply)
Discussion started by: dwiravi
1 Replies

7. UNIX for Advanced & Expert Users

How to give FTP access to a single user

Hi all, How can i give ftp access to single user on solaris9 system? others should not have the ftp access. i know about ftpusers file in /etc/ftpd but still what about if so many new users are created daily? And now for that single user how can we restict him to ftp the files only from... (2 Replies)
Discussion started by: santhoshkumar_d
2 Replies

8. Solaris

How to create a new ftp user account with limited access..?

Hi All, I'm using solaris 2.8, and I want create a new ftp user account with the following restrictions: - Have only ftp access, no telnet or rlogin - Have restricted access to its home directory example /export/home/newuser - Deny access to any other directory. Thanks for your help, ... (6 Replies)
Discussion started by: Jeremy3
6 Replies

9. Solaris

user setup - only ftp access

I want to setup a user on my server and only allow that user to ftp to my server but not to be able to get to command line (telnet /ssh) I ammended my /etc/passwd so the users shell would be /usr/bin/false and this prevents log on but it also prevents the ftp.. Any ideas? (1 Reply)
Discussion started by: frustrated1
1 Replies

10. UNIX for Dummies Questions & Answers

FTP user access

I created a user which I would like to have access only to FTP. I am able to get FTP to the machine with that user, but I only want him to have access to two directories, and no shell access. How can I accomplish this? Thanx, Aaron (1 Reply)
Discussion started by: Spetnik
1 Replies
ACCESS_LIST(5)						   Sun Grid Engine File Formats 					    ACCESS_LIST(5)

NAME
access_list - Sun Grid Engine access list file format DESCRIPTION
Access lists are used in Sun Grid Engine to define access permissions of users to queues (see queue_conf(5)) or parallel environments (see sge_pe(5)). A list of currently configured access lists can be displayed via the qconf(1) -sul option. The contents of each enlisted access list can shown via the -su switch. The output follows the access_list format description. New access lists can be created and exist- ing can be modified via the -au and -du options to qconf(1). Departments are a special form of access list that additionally allow assignment of functional shares and override tickets. Note, Sun Grid Engine allows backslashes () be used to escape newline ( ewline) characters. The backslash and the newline are replaced with a space (" ") character before any interpretation. FORMAT
The following list of access_list parameters specifies the access_list content: name The name of the access list as defined for userset_name in sge_types(1). type The type of the access list, currently one of ACL, or DEPT or a combination of both in a comma separated list. Depending on this parame- ter the access list can be used as access list only or as a department. oticket The amount of override tickets currently assigned to the department. fshare The current functional share of the department. entries The entries parameter contains the comma separated list of those UNIX users (see user_name in sge_types(1)) or those primary UNIX groups that are assigned to the access list or the department. Only a user's primary UNIX group is used; secondary groups are ignored. Only sym- bolic names are allowed. A group is differentiated from a user name by prefixing the group name with a '@' sign. Pure access lists allow enlisting any user or group in any access list. When using departments, each user or group enlisted may only be enlisted in one department, in order to ensure a unique assignment of jobs to departments. To jobs whose users do not match with any of the users or groups enlisted under entries the defaultdepartment is assigned, if existing. SEE ALSO
sge_intro(1), sge_types(1), qconf(1), sge_pe(5), queue_conf(5). COPYRIGHT
See sge_intro(1) for a full statement of rights and permissions. SGE 6.2u5 $Date$ ACCESS_LIST(5)

Featured Tech Videos