su 切换到root用户,但是并没有转到root用户家目录下,即没有改变用户的环境。su - 切换到root用户,并转到root用户的家目录下,即改变到了root用户的环境。这个涉及到不同用户下的环境变量的配置。 sudo通过sudo,我们能把某些超级权限有针对性的下放,并且不需要普通用户知道root密码(sudo用的不是root密码,而是当前用户密码),所以sudo相对于权限无限制性的su来说,还是比较安全的,所以sudo也能被称为受限制的su,另外sudo是需要授权许可的,所以也被
https://www.vultr.com/docs/using-strongswan-for-ipsec-vpn-on-centos-7StrongSwan is an open source IPsec-based VPN Solution. It supports both the IKEv1 and IKEv2 key exchange protocols in conjunction with the native NETKEY IPsec stack of the Linux ker
https://raymii.org/s/tutorials/IPSEC_vpn_with_CentOS_7.htmlTable of ContentsWhy a VPN?Version History:No L2TP?OverviewInstall EPEL 7:Install StrongswanCertificatesClient certificateIPSEC ConfigurationVPN user accounts and secretsFirewall & Packet
https://www.howtoforge.com/tutorial/how-to-setup-ikev2-vpn-using-strongswan-and-letsencrypt-on-centos-7/Strongswan is an open source multiplatform IPSec implementation. It's an IPSec-based VPN solution that focuses on strong authentication mechan
Linux中“is not in the sudoers file”解决方法当在终端执行sudo命令时,系统提示“hadoop is not in the sudoers file”:其实就是没有权限进行sudo,解决方法如下(这里假设用户名是hqy):1.切换到超级用户:$ su2.打开/etc/sudoers文件:$vim /etc/sudoers3.修改文件内容:找到“root ALL=(ALL)  
3. BIND9 的安装与配置3.1 bind简介BIND (Berkeley Internet Name Domain)是Domain Name System (DNS) 协议的一个实现,提供了DNS主要功能的开放实现,包括* 域名服务器 (named)* DNS解析库函数* DNS服务器运行调试所用的工具是一款开放源码的DNS服务器软件,由美国加州大学Berkeley分校开发和维护的,按照ISC的调查报告,BIND是世界上使用最多最广泛的域名服务系统。不论你的邮件服务器,WEB服务器或者其他
solaris 10 BIND 9.4.2,看dmesg,有如下错误提示,区数据文件改为777也不行。solaris 10下named是以什么用户运行的啊?区数据文件放在了/var下叫named,named的属主和属组应该是什么啊?root或bin可以吗?Feb 18 05:11:55 dns2 named[233]: [ID 873579 daemon.error] zone abc.com/IN: refresh: could not set file modification time o