Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Restricting a user to their home directory and below Post 302560401 by jgt on Thursday 29th of September 2011 05:24:25 PM
Old 09-29-2011
Install 'rssh' or 'mysecureshell' and just give sftp access, the user can then only upload or download files within the top directory that you assign.
The user can download a file, modify it on his own system then replace it on yours.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

resrtrict user to his home directory

Hello How do i restrict a user only to his own directory so that he wont be able to cd to other directories. say for excample there is user called xiamin then xiamin should be restricted to /usr/xiamin only. i am on redhat linux regards Hrishy (4 Replies)
Discussion started by: xiamin
4 Replies

2. UNIX for Dummies Questions & Answers

user home directory problem

The home directory for me on my system is on /home/kwon. It was created using "useradd kwon" When i go to change the home directory for a user doing a usermod -d /home/test when they log on it gives them messages saying to generate new ssh keys, and it does. It gives me a thing that says... (1 Reply)
Discussion started by: BangYourWallnut
1 Replies

3. UNIX for Dummies Questions & Answers

Specifying FTP user Home Directory

Hi, I am running Solaris 10 and I am using the ftp server that comes with it. I would like to specify a specific directory as ftp user's home directory. For example, if "ftpuserx" ftps into my solaris machine, they will automatically be taken to "/space/web" directory, even though there... (0 Replies)
Discussion started by: annointed3
0 Replies

4. Shell Programming and Scripting

how to find out the home directory of a user??

Hi all, I would like to know how to find out the home directory of a particular user.. eg, If am the root , then my Home directory will be / if say am just a user logging into the terminal then my home dir would change, so accordingly i would like to know how to find it out... I know that... (7 Replies)
Discussion started by: wrapster
7 Replies

5. Solaris

Restricting SFTP user to a defined directory and home directory

Hi, I've created solaris user which has both FTP and SFTP Access. Using the "ftpaccess" configuration file options "guest-root" and "restricted-uid", i can restrict the user to a specific directory. But I'm unable to restrict the user when the user is logged in using SFTP. The aim is to... (1 Reply)
Discussion started by: sftpuser
1 Replies

6. Red Hat

User's home directory

Hi, By default user's home directory will be /home/$user. I want to change it to /javauser/$user. How can I do it? Thanks Jeevan. (5 Replies)
Discussion started by: jredx
5 Replies

7. Solaris

Home Directory for oracle user

Hello all, I am Installing Oracle 11g on my Solaris OS. I created the below oracle user: # /usr/sbin/useradd -g oinstall -G dba oracle but when i am trying to to su - oracle it give me the below error No directory Do i have to setup a home directory for oracle user? and how can i do... (1 Reply)
Discussion started by: beayni33
1 Replies

8. UNIX for Dummies Questions & Answers

User's home directory not being created

I am trying to create Oracle user. I will install oracle after that. But my problem is /home/oracle directory is not being created. bash-3.2# useradd -g oinstall -G dba,oper -d /home/oracle -m oracle cp: /home/oracle: Operation not applicable chown: /home/oracle: No such file or directory ... (3 Replies)
Discussion started by: hubatuwang
3 Replies

9. Shell Programming and Scripting

Trying to delete a user and home directory

Good Afternoon, I'm trying userdel -r username on Solaris 9 and getting UX: userdel: ERROR: unable to find status about home directory: No such file or directory I see the user's home directory and getent passwd shows the user Anybody know what's causing it? (2 Replies)
Discussion started by: Stellaman1977
2 Replies

10. Solaris

SunOS confusing root directory and user home directory

Hello, I've just started using a Solaris machine with SunOS 5.10. After the machine is turned on, I open a Console window and at the prompt, if I execute a pwd command, it tells me I'm at my home directory (someone configured "myuser" as default user after init). ... (2 Replies)
Discussion started by: egyassun
2 Replies
IFP(1)                                                        General Commands Manual                                                       IFP(1)

NAME
ifp - access iRiver iFP audio devices SYNOPSIS
ifp command [arguments ...] DESCRIPTION
ifp lets you manage your music on an iRiver iFP music player acting in "Manager Mode". If your player is using "UMS Mode", then you don't need this program; it will appear as new drive when you plug it in. This manual page documents the version of ifp included as an example application for the libifp library. The interface is intended to mimic the ifp binary found in the ifp-line binary package. ifp can upload or download files or directories, delete or make directories on the device, format the device, or upgrade your firmware. COMMANDS
ls [directory] List the files and directories on the device. The root directory is /. Directories are preceded with 'd' and other files with 'f'. df Display total and free space on the device. upload localfile remotefile Copy the file named localfile to the iFP device, and name it remotefile. (This is like cp.) upload localfile remotedir Copy the file named localfile to the iFP device, into remotedir. (This is like cp.) upload localdir remotedir Copy the entire directory localdir to the device, into remotedir. This copies into a subdirectory, so upload foo / puts files from the directory foo info /foo on the device. (This is like cp -R.) This uploads the entire directory, not just audio files. put localfile | localdir Upload the file or directory to the device, with the same name it has locally. If a directory is given, it is put in /. download remotefile localfile download remotefile localdir download remotedir localdir Like upload, but copies from the iFP device to your system. Some proprietary file types may not be downloaded. get remotefile | remotedir Like put, but copies files or directories from the device to your current working directory. rm [-r] file Delete (recursively) a file (or directory) on the device. rmdir dir Delete an empty directory on the device. mkdir dir Create a directory on the device. battery Display battery status of the device. typestring Display the model number of the device. firmversion Display the firmware revision currently on the device. format Reformat the device's memory. This will delete all your music. firmupdate FIRMWARE.HEX Upload the file FIRMWARE.HEX as new firmware for the device. This will not delete your music, but may have many other detrimental effects. Don't turn the device off or unplug it while the firmware is updating, and don't attempt to upload new firmware with a low battery. AUTHORS
libifp was written by Geoff Oakham, based on ifp by Yamashiro Jun. This manual page was written for Debian by Joe Wreschnig <piman@debian.org>, but may be used by others. May 30th, 2004 IFP(1)
All times are GMT -4. The time now is 10:19 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy