Mudanças entre as edições de "Dicas Centos7"
De Slacam_Wiki
(Criou página com 'Algumas coisas que mudaram no CentOS 7 1 - Desabilitar o firewall systemctl stop firewalld systemctl disable firewalld 2') |
|||
| Linha 5: | Linha 5: | ||
systemctl disable firewalld | systemctl disable firewalld | ||
| − | 2 | + | 2 - Parar e Inciar serviços |
| + | systemctl stop httpd | ||
| + | systemctl restart httpd | ||
| + | Pode usar também: | ||
| + | service httpd stop | ||
| + | |||
| + | 3 - Para habilitar autenticação LDAP | ||
| + | yum install nss-pam-ldapd -y | ||
| + | systemctl enable nslcd | ||
| + | systemctl enable nscd | ||
| + | setup #(para colocar as info do servidor ldap) | ||
| + | Troque os dados do arquivo authconfig para: | ||
| + | vim /etc/sysconfig/authconfig | ||
| + | IPADOMAINJOINED=no | ||
| + | USEMKHOMEDIR=yes | ||
| + | USEPAMACCESS=no | ||
| + | CACHECREDENTIALS=yes | ||
| + | USESSSDAUTH=no | ||
| + | USESHADOW=yes | ||
| + | USEWINBIND=no | ||
| + | USESSSD=yes | ||
| + | USEDB=no | ||
| + | FORCELEGACY=no | ||
| + | USEFPRINTD=no | ||
| + | FORCESMARTCARD=no | ||
| + | USELDAPAUTH=yes | ||
| + | USEPASSWDQC=no | ||
| + | IPAV2NONTP=no | ||
| + | WINBINDKRB5=no | ||
| + | USELDAP=yes | ||
| + | USEECRYPTFS=no | ||
| + | USEIPAV2=no | ||
| + | USEWINBINDAUTH=no | ||
| + | USESMARTCARD=no | ||
| + | USELOCAUTHORIZE=yes | ||
| + | USENIS=no | ||
| + | USEKERBEROS=no | ||
| + | USESYSNETAUTH=no | ||
| + | PASSWDALGORITHM=sha512 | ||
| + | USEPWQUALITY=yes | ||
| + | USEHESIOD=no | ||
| + | |||
| + | 4 - | ||
Edição das 17h04min de 6 de agosto de 2014
Algumas coisas que mudaram no CentOS 7
1 - Desabilitar o firewall
systemctl stop firewalld systemctl disable firewalld
2 - Parar e Inciar serviços
systemctl stop httpd systemctl restart httpd
Pode usar também:
service httpd stop
3 - Para habilitar autenticação LDAP
yum install nss-pam-ldapd -y systemctl enable nslcd systemctl enable nscd setup #(para colocar as info do servidor ldap)
Troque os dados do arquivo authconfig para:
vim /etc/sysconfig/authconfig IPADOMAINJOINED=no USEMKHOMEDIR=yes USEPAMACCESS=no CACHECREDENTIALS=yes USESSSDAUTH=no USESHADOW=yes USEWINBIND=no USESSSD=yes USEDB=no FORCELEGACY=no USEFPRINTD=no FORCESMARTCARD=no USELDAPAUTH=yes USEPASSWDQC=no IPAV2NONTP=no WINBINDKRB5=no USELDAP=yes USEECRYPTFS=no USEIPAV2=no USEWINBINDAUTH=no USESMARTCARD=no USELOCAUTHORIZE=yes USENIS=no USEKERBEROS=no USESYSNETAUTH=no PASSWDALGORITHM=sha512 USEPWQUALITY=yes USEHESIOD=no
4 -