Adding a user to passwd file:
% dbmmanage /www/etc/passwd adduser lstein New password: ******** Re-type new password: ******** User lstein added with password encrypted to bO/9l9207nNVk |
Adding a group to the group file:
% dbmmanage /www/etc/group add web-admin lstein User web-admin added with password encrypted to lstein % dbmmanage /www/etc/group add authors lstein,john,fred,wendy User authors added with password encrypted to lstein,john,fred,wendy % dbmmanage /www/etc/group add guests gloria User guests added with password encrypted to gloria |
Viewing contents of a hash file:
% dbmmanage /www/etc/group view web-admin:lstein authors:lstein,john,fred,wendy guests:gloria |
<Location /members_only>
AuthName development
AuthType Basic
AuthDBUserFile /www/etc/passwd
AuthDBGroupFile /www/etc/group
require valid-user
</Location>
|
|
| Contents | Next |