Solved

How to Allocate Quota

Posted on 1998-07-20
1
371 Views
Last Modified: 2013-12-27
1) How do I allocate quota to each individual user on a Solaris server ?

2) How do I allow only ftp for certain users , but ftp and telnet for some other more privilege users ?

3) There are webadministrators who are giving out free websites (eg GeoCities)  to a great number of users,
how do there administors such a large group of users (setting quota , maintaining accounts, etc.)
0
Comment
Question by:keoktay
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 

Accepted Solution

by:
vkurland earned 60 total points
ID: 2009120
1) First, turn quotas on using quotaon. Then edit quota for user using "edquota username". Do this as root of course.

2) create group "goodusers", make /bin/ftp executable belong to that group and have permissions 0554 (-r-xr-xr--)  This way only users who belong to this group will be able to run /bin/ftp. Then create group "bestusers", make /bin/telnet belong to that group with the same permissions. Now you can put some users to both groups so they can run both ftp and telnet, but some users will belong only to the "goodusers" group, so they can run only ftp.

Unfortunately, this protection is not very reliable because once user has an access to ftp, she can download telnet client from somewhere else to the home directory and run it. If you want really strong protection, use some kind of firewall with real user authentication.

3) I personally don't have this kind of experience in real production environment

0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question