htpasswd -c -B -b ~/DO280/labs/auth-provider/htpasswd admin redhat
htpasswd -c -B -b ~/DO280/labs/auth-provider/htpasswd developer developer
i could see entry for only developer user in ~/DO280/labs/auth-provider/htpasswd developer. If i use the command for admin user again it's adding admin user and removing developer user.
Hello
Option -c require to create the passwdfile. If passwdfile already exists, it is
rewritten and truncated. So no sense to use this option for second command:
htpasswd -c -B -b ~/DO280/labs/auth-provider/htpasswd admin redhat
htpasswd -B -b ~/DO280/labs/auth-provider/htpasswd developer developer
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.