Hi
During lsws install i have this error:
During lsws install i have this error:
Code:
Enable chroot [y/N]:
Installing, please wait...
usermod: invalid option -- 'a'
Try `usermod --help' or `usermod --usage' for more information.
Generating a 2048 bit RSA private key
.........................................................................................................................................................+++
...................+++
writing new private key to '/usr/local/litespeed/admin/conf/cert/admin.key'
-----
mv: cannot stat '/usr/local/litespeed/modules': No such file or directory
Generating key pair for web console login page, please wait ...
Generating RSA private key, 512 bit long modulus
...........................++++++++++++
....++++++++++++
e is 65537 (0x10001)
[OK] The startup script has been successfully installed!
Code:
bash-4.4# usermod --help
Usage: usermod ...
usermod - modify a user account
-c comment Set the GECOS field for the new account
-D binddn Use dn "binddn" to bind to the LDAP directory
-d homedir Home directory for the new user
-e expire Date on which the new account will be disabled
-f inactive Days after a password expires until account is disabled
-G group,... List of supplementary groups
-g gid Name/number of the users primary group
-l login Change login name.
-m Move home directory to the new path
-o Allow duplicate (non-unique) UID
-A group,... List of groups the user should be added to
-R group,... List of groups the user should be removed from
-P path Search passwd, shadow and group file in "path"
-p password Encrypted password as returned by crypt(3)
-s shell Name of the user's login shell
-u uid Change the userid to the given number
--service srv Use nameservice 'srv'
-L Locks the password entry for "user"
-U Try to unlock the password entry for "user"
--help Give this help list
--usage Give a short usage message
-v, --version Print program version
Valid services are: files, ldap
bash-4.4# usermod -v
usermod (pwdutils) 3.2.19
Copyright (C) 2006 Thorsten Kukuk.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.