htpasswd error
Posted: Fri Oct 06, 2017 5:09 am
hello I am getting this error when running this command as ROOT
htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin
htpasswd: cannot create file /usr/local/nagios/etc/htpasswd.users
also
sudo htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin
No command ' sudo' found, did you mean:
Command 'sudo' from package 'sudo' (main)
Command 'sudo' from package 'sudo-ldap' (universe)
sudo: command not found
also running this
sestatus
The program 'sestatus' is currently not installed. You can install it by typing:
apt install policycoreutils
htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin
htpasswd: cannot create file /usr/local/nagios/etc/htpasswd.users
also
sudo htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin
No command ' sudo' found, did you mean:
Command 'sudo' from package 'sudo' (main)
Command 'sudo' from package 'sudo-ldap' (universe)
sudo: command not found
also running this
sestatus
The program 'sestatus' is currently not installed. You can install it by typing:
apt install policycoreutils