Solved

How to Allocate Quota

Posted on 1998-07-20
1
365 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

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
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.:

777 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