sys/change_user
Submitted by Daryle on Mon, 03/26/2012 - 22:21
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 |