Link to home
Start Free TrialLog in
Avatar of SflahertyEE
SflahertyEEFlag for United States of America

asked on

Creating user and restricting access


Hi,
I'm running RHEL v3 U4 on a server.
I need to create a user account and restrict to a certain directory for telnet/ftp access. So i've created a directory   '/com/ftp/client'

What I want to do is create a userid that when telnetting or ftp'ing in, has that 'Client' directory as their home directory and has full access from that point on (i.e. create directories, delete directories, etc..)
but cannot browse elsewhere on the system (i.e. /root , / , /etc....)

I'm new to linux and going through the hellish learning curve now, but getting somewhat of a feel for it.....
Instructions via command line OR Gnome gui would work...

thanks for your help,
S
ASKER CERTIFIED SOLUTION
Avatar of Pablo Allietti
Pablo Allietti
Flag of Uruguay image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
yes pablouruguay is right

the Defaultroot is the important thing - it will put the user into his own home directory
the next thing you have to do is to set the right permissions for the user

i think there is not much else you have to do
Avatar of SflahertyEE

ASKER

thanks pablo for the answer. Sorry for the delay in getting back to you, was on business trip.
thanks for your help...