Return to Snippet

Revision: 42569
at March 7, 2011 16:42 by hamsterbacke82


Initial Code
/usr/sbin/useradd -d /your_domain/some/location -s /bin/false USER_NAME 
/usr/sbin/usermod -G psacln USER_NAME 
chmod 755 $HTTPD_VHOSTS_D/your_domain/some/location 
chown USER_NAME:psacln $HTTPD_VHOSTS_D/your_domain/some/location 
chmod 751 $HTTPD_VHOSTS_D/your_domain/httpdocs 
passwd USER_NAME

Initial URL

                                

Initial Description

                                

Initial Title
Create User with directory

Initial Tags
Bash, linux

Initial Language
Bash