Fixes in add user
This commit is contained in:
parent
8e7b370647
commit
2ffed7cca7
1 changed files with 1 additions and 1 deletions
|
|
@ -91,7 +91,7 @@ class Linux {
|
|||
|
||||
}
|
||||
|
||||
static public function add_new_user($user, $password='', $user_directory='', $shell='/usr/sbin/nologin') {
|
||||
static public function add_new_user($username, $password='', $user_directory='', $shell='/usr/sbin/nologin') {
|
||||
|
||||
$str_user="sudo useradd -m -s ${shell} ${username}";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue