Solved

How to Allocate Quota

Posted on 1998-07-20
1
367 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
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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

Suggested Solutions

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
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.:
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

839 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