Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 04-21-2003, 12:50 PM   #1
LQ Newbie
Registered: Apr 2003
Posts: 4

Rep: Reputation: 0
User rights

Could someone help me with a user rights issue. I have set up a counter-strike server and am currently running three servers off of it. I need to give people ssh and sftp access to the server but I only want them to have read and write access to certain directories. currently anyone with a user name can see everything and download everything but no one can upload anything. I just want to give them access to the entire half life directory and when they log in it goes there instead of to their desktop.
Old 04-21-2003, 01:03 PM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 267Reputation: 267Reputation: 267
Your looking for chroot and making their default home directories to your specific directory when creating their account.

man chroot
man useradd
Old 04-21-2003, 01:56 PM   #3
LQ Newbie
Registered: Apr 2003
Posts: 4

Original Poster
Rep: Reputation: 0

I had already created the users. also when I run chroot it says
[root@localhost rcoman]# chroot
bash: chroot: command not found
[root@localhost rcoman]#

man and info chroot work though.

Since the user already exsists how do I modify what he can see and what he can write.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
vsftpd user rights compughnet Linux - Software 0 11-09-2005 01:02 PM
$ifdown and up for a user rights ekdya Debian 4 11-08-2005 05:33 AM
user rights question ?? ALInux Linux - General 1 11-03-2005 06:06 PM
Squid proxy with user authentication and user rights duvanhorn Linux - Networking 0 08-07-2003 04:40 AM
temporary given user rights memnoch Linux - Security 1 08-29-2001 04:41 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:05 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration