Toggle navigation
PHP教程|记事本
Home
c/php/javascript/java/python/bash linux/freebsd
linux 创建受限制的用户
#!/bin/bash username="xianziuser" cp -a /bin/bash /bin/rbash useradd -c "A Restricted User" -g users -d /home/$username -s /bin/rbasusername rm -rf /home/$username; mkdir -m 555 /home/$username m
1
发起了话题 category:
linux
•
2014-06-10 17:04:13
Showing
1-1
of
1
item.
文章归档
2017 / 03
2016 / 05
2016 / 02
2016 / 01
2015 / 06
2015 / 04
2015 / 02
2015 / 01
2014 / 11
2014 / 08
2014 / 07
2014 / 06
2014 / 05
2014 / 04
2014 / 03
2013 / 11
2013 / 10
2013 / 09
2013 / 08
2013 / 07
2013 / 06
2013 / 05
2013 / 04
2013 / 01
2012 / 12
2012 / 11
2012 / 10
2012 / 09
2012 / 08
2012 / 04
category
PHP记事本
第一阶段PHP
第二阶段php
第三阶段php
linux
程序员
Freebsd
nginx
apache
javascript
friend links
PHP RELEASES
PHP 手册在线