version 1.1, 2000/10/27 23:42:33
|
version 1.2, 2000/10/29 22:07:20
|
Line 12 use strict;
|
Line 12 use strict;
|
# as well as a /home/USERNAME/public_html directory. |
# as well as a /home/USERNAME/public_html directory. |
# It adds user entries to |
# It adds user entries to |
# /etc/passwd and /etc/groups. |
# /etc/passwd and /etc/groups. |
# Passwords are set with lcpasswd |
# Passwords are set with lcpasswd. |
|
# www becomes a member of this user group. |
|
|
# Standard input usage |
# Standard input usage |
# First line is USERNAME |
# First line is USERNAME |
Line 26 use strict;
|
Line 27 use strict;
|
$ENV{'PATH'}=""; # Nullify path information. |
$ENV{'PATH'}=""; # Nullify path information. |
$ENV{'BASH_ENV'}=""; # Nullify shell environment information. |
$ENV{'BASH_ENV'}=""; # Nullify shell environment information. |
|
|
|
# Add user entry to /etc/passwd and /etc/groups. |
|
|
|
# Set password with lcpasswd (which creates smbpasswd entry). |
|
|
|
# www becomes member of this user group |
|
|