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.)
Who is Participating?
vkurlandConnect With a Mentor Commented:
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

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.

All Courses

From novice to tech pro — start learning today.