Procedure Model Type: ( )Web Page ( )CGI Script ( )Shared Library (X)System API Name: sys/add_account Assigned to: Reference: |
|
Description |
This system configuration function runs with suid root permissions. It adds a new account to the system with the value of the username field passed in as a parameter, then sets the initial password on this account to the value of the password field passed in as a parameter. Finally, it uses the system edquota command to set the user quota on this new account to the value stored in the corresponding prototype account. |
Implementation Skills |
PERL, C |
Parameter List |
Username, password, and member_type. |
Called By: |
vol/listapps.cgi |
Can Call: |
/usr/bin/passwd prototype-user (non-login account profile) |
Function Description |
|
Possible Exit Conditions and Return Values |
|
Sign Off by: |
Project Manager |
Procedure Model Type: ( )Web Page ( )CGI Script ( )Shared Library (X)System API Name: sys/add_alias Assigned to: Reference: |
|
Description |
This system configuration function reads the system /etc/mail/aliases file, checks that no current entry matching old_address exists and if one does exist, deletes it. It then adds a new entry mapping old_address to new_address and rebuilds the newaliases database. The function must NOT be allowed to alter any of the system aliases. Because editing the aliases file and rebuilding new alias databases are protected procedures, this function will need suid permissions. |
Implementation Skills |
PERL, C |
Parameter List |
old_address and new_address where old_address is the address to which mail is sent and new_address is the address to which mail is delivered. |
Called By: |
vol/listapps.cgi |
Can Call: |
/usr/bin/newaliases |
Function Description |
|
Possible Exit Conditions and Return Values |
|
Sign Off by: |
Project Manager |
Procedure Model Type: ( )Web Page ( )CGI Script ( )Shared Library (X )System API Name: sys/change_user Assigned to: Reference: |
|
Description |
This function renames the user’s home directory from old_username to new_username, effecting this change in the system password and shadow files and adding a system alias mapping the old_username to new_username. Because of the permissions involved, this command must be set to suid root. |
Implementation Skills |
C |
Parameter List |
old_username, new_username |
Called By: |
vol/listupgrades.cgi |
Can Call: |
sys/add_alias |
Function Description |
|
Possible Exit Conditions and Return Values |
This function should always return 0. |
Sign Off by: |
Project Manager |
Procedure Model Type: ( )Web Page ( )CGI Script ( )Shared Library (X )System API Name: sys/add_virtualdomain Assigned to: Reference: |
|
Description |
This function is a stub to add a new virtualdomain to the webserver configuration. It currently manages a manual workflow process but can be automated in the future. |
Implementation Skills |
PERL |
Parameter List |
Domainname, Username, Groupname |
Called By: |
vol/listapps.cgi |
Can Call: |
log/csuite |
Function Description |
|
Possible Exit Conditions and Return Values |
Currently, this function will always be successful (returning 0). In the future, it will return a –1 if the virtual domain name is already taken. |
Sign Off by: |
Project Manager |
Procedure Model Type: ( )Web Page ( )CGI Script ( )Shared Library (X )System API Name: sys/add_ppp Assigned to: Reference: |
|
Description |
This function is a stub to grant ppp access to a new or existing member. It currently manages a manual workflow process but can be automated in the future. |
Implementation Skills |
PERL |
Parameter List |
username |
Called By: |
vol/listapps.cgi |
Can Call: |
log/csuite |
Function Description |
|
Possible Exit Conditions and Return Values |
Currently, this function will always be successful (returning 0). In the future, it will return a –1 if ppp access is not permitted for some reason. |
Sign Off by: |
Project Manager |
Procedure Model Type: ( )Web Page ( )CGI Script ( )Shared Library (X )System API Name: sys/add_db Assigned to: Reference: |
|
Description |
This function is a stub to create a new database and provide read/write access to a new or existing member. It currently manages a manual workflow process but can be automated in the future. |
Implementation Skills |
PERL |
Parameter List |
Database_name, Username, Password |
Called By: |
vol/listapps.cgi |
Can Call: |
log/csuite |
Function Description |
|
Possible Exit Conditions and Return Values |
Currently, this function will always be successful (returning 0). In the future, it will return a –1 if the database creation failed for some reason. |
Sign Off by: |
Project Manager |
Procedure Model Type: ( )Web Page ( )CGI Script ( )Shared Library (X )System API Name: sys/add_quota Assigned to: Reference: |
|
Description |
This function is a stub to add disk quota to a user. It currently manages a manual workflow process but can be automated in the future. |
Implementation Skills |
PERL, C |
Parameter List |
Mount_point, Mb to increase, Username |
Called By: |
vol/listapps.cgi |
Can Call: |
log/csuite |
Function Description |
|
Possible Exit Conditions and Return Values |
Currently, this function will always be successful (returning 0). In the future, it will return a –1 if the setquota command fails for some reason. |
Sign Off by: |
Project Manager |
Procedure Model Type: ( )Web Page ( )CGI Script ( )Shared Library (X )System API Name: sys/add_ssl Assigned to: Reference: |
|
Description |
This function is a stub to add ssl access to a virtual domain. It currently manages a manual workflow process but can be automated in the future. |
Implementation Skills |
PERL, C |
Parameter List |
Virtual_domain |
Called By: |
vol/listapps.cgi |
Can Call: |
log/csuite |
Function Description |
|
Possible Exit Conditions and Return Values |
Currently, this function will always be successful (returning 0). In the future, it will return a –1 if the configuration is not permitted for some reason. |
Sign Off by: |
Project Manager |
Procedure Model Type: ( )Web Page ( )CGI Script ( )Shared Library (X )System API Name: sys/add_listserver Assigned to: Reference: |
|
Description |
This function is a stub to add a new mailing list to the listserver. It currently manages a manual workflow process but can be automated in the future. |
Implementation Skills |
PERL, C |
Parameter List |
Listname, Username |
Called By: |
vol/listapps.cgi |
Can Call: |
log/csuite |
Function Description |
|
Possible Exit Conditions and Return Values |
Currently, this function will always be successful (returning 0). In the future, it will return a –1 if the configuration is not permitted for some reason. |
Sign Off by: |
Project Manager |
Links
[1] https://niedermayer.ca/user/login?destination=node/200%23comment-form
[2] https://niedermayer.ca/user/login?destination=node/201%23comment-form
[3] https://niedermayer.ca/user/login?destination=node/202%23comment-form
[4] https://niedermayer.ca/user/login?destination=node/203%23comment-form
[5] https://niedermayer.ca/user/login?destination=node/204%23comment-form
[6] https://niedermayer.ca/user/login?destination=node/205%23comment-form
[7] https://niedermayer.ca/user/login?destination=node/206%23comment-form
[8] https://niedermayer.ca/user/login?destination=node/207%23comment-form
[9] https://niedermayer.ca/user/login?destination=node/208%23comment-form