Enable users to forcefully reset passwords on the next login in OpenDJ

This article explained how to enable users to forcefully reset passwords on the next login in OpenDJ. The user needs to be reset the password in the next login, to achieve this we need to add the following attributes to the user profile. force-change-on-reset:true pwdReset:true force-change-on-reset:true We need to update the password policy by using […]

Docker Got permission denied while trying to connect to the Docker daemon socket at unix

docker permission denied

docker: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post http://%2Fvar%2Frun%2Fdocker.sock/v1.35/containers/create: dial unix /var/run/docker.sock: connect: permission denied. See ‘docker run –help’.   To fix this issue, we have to create a group, assign the user to the group and then give the permissions to /var/run/docker.sock   Add docker group […]

Docker image-is-being-used-by-stopped-container

docker permission denied

Sometimes we are unable to delete the docker images and error says that Error response from daemon: conflict: unable to delete 1b79f8f1fcc8 (must be forced) – image is being used by stopped container e688f67acedd It means that there are stopped containers and causing the lock so first up all delete the stopped containers and then […]

Create a User – Create a Group – Assign User to Group in Linux

delete files in linux

Create a User – Create a Group – Assign User to Group in Linux This article explained to create a user, create a group, assign a user to a group, delete a user, user password change, create a user with a home directory and without a home directory.   Create a User without Home Directory […]

Gradle Commands

gradle commands

Gradle Commands In this article, sharing Gradle Commands which are using frequently to build the project, clean build the project, compile or execute the test cases and skip the test cases execution.   Gradle commands Go to the project location and execute the following command for the respective activity. Command Description ./gradlew build build project, […]