lesser-equity

Magazine
Go Back   Computer Juice > Computer Hardware > Networking, Modems & VoIP


Register


Reply
 
Thread Tools
  #1  
Old 20th Dec 2008, 22:48
Member Group
 
I have a server built, and I put Ubuntu on it


I put proftpd; apache2; and webmin on it

What I need is to set it up so that I can access this server anywehre from the world. So i did that, i opened the port, and i could do it with my username...

Now; I want to create about 5 other usernames so that my friends can use the server as well, but i don't want them prying through my stuff, so i want them to only see there own files


How can i make it so that I can make multiple usernames and each username has a certain folder they can see.
  #2  
Old 21st Dec 2008, 11:17
Donor Group
 
http://www.linuxheadquarters.com/how.../adduser.shtml is a good write-up on how and when to use adduser

Every file on the server is marked with read permissions for the owner, for other members of the group and for everyone else.

To protect each user's files from being visible to any other user you need to set the permissions. http://www.linuxheadquarters.com/how...missions.shtml has information about it.
__________________

My System: Tim

Processor(s):
Athlon 64 3500+
Motherboard:
Asus A8N-VM CSM
RAM Memory:
Corsair PC3200 CL2 DDR-400 2GB
Graphics Card(s):
nVidia Geforce 6600 512MB
Sound Card:
Cherry RS 6000 M keyboard
Hard Drive(s):
Barracuda.7+ 2x200GB 58MB/s sustain
Optical Drive(s):
Samsung DVD-ROM TS-H352
Case / PSU:
Thermaltake Soprano
Cooling:
Stock
Network / Internet:
Telewest 2x20Mb/sec
Monitor(s):
SXGA flat panel
Operating System(s):
Slackware (2.6.27.7) (Fluxbox)
  #3  
Old 21st Dec 2008, 17:46
Member Group
 
Im using Ubuntu Linux...
  #4  
Old 21st Dec 2008, 22:39
Donor Group
 
The page of the Ubuntu documentation about adding users and keeping files protected is at https://help.ubuntu.com/8.10/keeping-safe/C/users.html

I'm surprised if Ubuntu has disabled the underlying standard linux tools though.
  #5  
Old 21st Dec 2008, 23:47
Member Group
 
I know how to create a username but how do i restrict them from certain folders. more importantly how do i do what i asked for in the first place
  #6  
Old 22nd Dec 2008, 12:34
Donor Group
 
Quote:
Originally Posted by ashaiba View Post
I know how to create a username but how do i restrict them from certain folders. more importantly how do i do what i asked for in the first place
"How can i make it so that I can make multiple usernames and each username has a certain folder they can see."? That first place?

Have you looked at the page on file permissions I showed you, and the page on Ubuntu's user manager I showed you? That's exactly what they're about. How you can make multiple usernames and each username has a certain folder they can see.That's what user management is and what file permissions are for.

It may be that your student course is so busy you don't have time to read a tutorial on linux, in which case putting off this learning process until your courses are finished might be sensible. Once you've read a linux introduction it will all make a lot more sense.
  #7  
Old 22nd Dec 2008, 21:26
Member Group
 
kk thanks
Reply

Register
Thread Tools




Arabic Bulgarian Chinese (Simplified) Chinese (Traditional) Croatian Czech Danish Dutch English Finnish French German Greek Hebrew Hungarian Italian Japanese Korean Latvian Lithuanian Norwegian Polish Portuguese Romanian Russian Serbian Slovak Spanish Swedish Thai Turkish Ukrainian

Copyright ©2006 - 2009 Computer Juice.

Powered by vBulletin® Copyright ©2000 - 2009 Jelsoft Enterprises Ltd. SEO by vBSEO ©2009, Crawlability, Inc.