add a user to the sudoers linux为用户添加sudo权限

  用sudo时提示”xxx is not in the sudoers file. This incident will be reported.其中XXX是你的用户名,也就是你的用户名没有权限使用sudo,我们只要修改一下/etc/sudoers文件就行了。下面是修改方 法: 1)进入超级用户模式。也就是输入”su -“,系统会让你输入超级用户密码,输入密码后就进入了超级用户模式。(当然,你也可以直接用root用)  2)添加文件的写权限。也就是输入命令&…

Read More...

proftp 权限

.ftpaccess DeleteAbortedStores off Umask 000 GroupOwner root <Limit RMD DELE RNFR RETR READ> Denyall </Limit> Order allow,deny Allow from xxx.xxx.xxx.xxx Deny…

Read More...

proftpd 配置可以上传,但无法删除的特殊权限

常见的特殊的需求:对于FTP服务器上的某个部门的目录,要求:部门所有人员可以上传下载但无法删除(包括文件和目录)部门领导全部权限(包括删除)用redhat自带的vsftp实现起来比较困难,google了以后发现proftpd实现起来比较简单 例如:客服部部门成员member,可以上传下载,但是无法删部门主管manager,有全部权限下载安…

Read More...

Centos 6 X86 php 53 ius

  X86   wget http://dl.iuscommunity.org/pub/ius/stable/Redhat/6/i386/epel-release-6-5.noarch.rpmwget http://dl.iuscommunity.org/pub/ius/stable/Redhat/6/i386/ius…

Read More...

1and1 augement volum

How can I increase a logical volume?   Step 1 First, log into the server via SSH. Step 2 Once logged in, type df – h at the command prompt …

Read More...