Home » Archive by category Centos/RHEL (Page 7)

SAMBA 4 AD-DC on Centos

In this article you will learn to install and configure SAMBA-4 as an Active Directory Domain Controller (SAMBA 4 AD-DC)on Centos/RHEL server. I have successfully tested it on Centos 6 version.
Continue reading

configure SSH for two factor authentication

In this article will show you how to setup and configure SSH for two factor authentication under Red Hat, CentOS, Fedora and Ubuntu, Installing Google Authenticator Module Open the server/system that you want to setup two factor authentication and install following PAM libraries along with development libraries that...
Continue reading

How to lock and unlock user on linux system

This article will help to lock and unlock user on linux system root@server [~]#passwd -l gthomas Locking password for user gthomas. passwd: Success root@server [~]# grep user /etc/shadow gthomas:!!$1$YKoF7EbU$zXqSSlKelclFLn0LDR/YM0:16063:0:99999:7::: root@server [~]#passwd -u gthomas Unlocking password for user gthomas. passwd: Success root@server [~]#grep gthomas /etc/shadow gthomas:$1$YKoF7EbU$zXqSSlKelclFLn0LDR/YM0:16063:0:99999:7:::
Continue reading

Categorized Tag Cloud