• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 381
  • Last Modified:

How to Allocate Quota

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
keoktay
Asked:
keoktay
1 Solution
 
vkurlandCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now