Password aging and Quotas on OSx4.1

Curtis Generous generous at daitc.ARPA
Tue Jul 12 23:43:08 AEST 1988


I have a requirement to get BOTH the password aging that's available in the
att universe AND the quota system available in the bsd universe running 
together under OSx4.1.  Under the older version of quotas (aka Melbourne 
quotas) that came with pre-OSx4.1, these two features were incompatible 
since they both used the same location (pw_quota/pw_age) in the passwd 
structure to store information, one for # of quota warnings, the other for 
aging info.   See below for extract from <pwd.h>:

   BSD universe				   ATT universe

struct	passwd {			struct	passwd {
    char *pw_name;			    char *pw_name;
    char *pw_passwd;			    char *pw_passwd;
    int	pw_uid;				    int pw_uid;
    int	pw_gid; 			    int pw_gid;
    int	pw_quota;			    char *pw_age;
    char *pw_comment;			    char *pw_comment;
    char *pw_gecos;			    char *pw_gecos;
    char *pw_dir;			    char *pw_dir;
    char *pw_shell;			    char *pw_shell;
};					};


Now under the `new` quota system (based on Sun's quota system),
does there still exist an incompatability between these features?
Any help/comments/suggestions would be appreciated.

--curtis
Curtis C. Generous
Defense Applied Information Technology Center (DAITC)
ARPA: generous at daitc.ARPA
UUCP: {uunet,vrdxhq,lll-tis}!daitc!generous



More information about the Comp.sys.pyramid mailing list