( ! ) Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/lib/menu/GKBase.class.php on line 114
Call Stack
#TimeMemoryFunctionLocation
10.0021415656{main}( ).../index.php:0
20.24444721248Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.986914257848Joomla\CMS\Application\SiteApplication->render( ).../CMSApplication.php:202
40.987014257792Joomla\CMS\Application\SiteApplication->render( ).../SiteApplication.php:778
50.987114258168Joomla\CMS\Document\HtmlDocument->parse( ).../CMSApplication.php:1030
60.987114258168Joomla\CMS\Document\HtmlDocument->_fetchTemplate( ).../HtmlDocument.php:545
70.987214258264Joomla\CMS\Document\HtmlDocument->_loadTemplate( ).../HtmlDocument.php:730
80.987914298184require( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/component.php' ).../HtmlDocument.php:668
90.996414595872GKTemplate->__construct( ).../component.php:31
101.004714765248GKTemplateMenu->getMenuType( ).../gk.framework.php:84
111.005814810104require_once( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/lib/menu/GKMenu.php' ).../helper.menu.php:19

( ! ) Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/lib/menu/GKHandheld.php on line 76
Call Stack
#TimeMemoryFunctionLocation
10.0021415656{main}( ).../index.php:0
20.24444721248Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.986914257848Joomla\CMS\Application\SiteApplication->render( ).../CMSApplication.php:202
40.987014257792Joomla\CMS\Application\SiteApplication->render( ).../SiteApplication.php:778
50.987114258168Joomla\CMS\Document\HtmlDocument->parse( ).../CMSApplication.php:1030
60.987114258168Joomla\CMS\Document\HtmlDocument->_fetchTemplate( ).../HtmlDocument.php:545
70.987214258264Joomla\CMS\Document\HtmlDocument->_loadTemplate( ).../HtmlDocument.php:730
80.987914298184require( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/component.php' ).../HtmlDocument.php:668
90.996414595872GKTemplate->__construct( ).../component.php:31
101.009014938048GKTemplateMenu->getMenuType( ).../gk.framework.php:85
管理用户(user)(group)的工具或命令
Logo
Print this page

管理用户(user)(group)的工具或命令

1)管理用户(user)的工具或命令;

useradd    注:添加用户
adduser    注:添加用户
passwd     注:为用户设置密码
usermod  注:修改用户命令,可以通过usermod 来修改登录名、用户的家目录等等;
pwcov       注:同步用户从/etc/passwd 到/etc/shadow
pwck         注:pwck是校验用户配置文件/etc/passwd 和/etc/shadow 文件内容是否合法或完整;
pwunconv  注:是pwcov 的立逆向操作,是从/etc/shadow和 /etc/passwd 创建/etc/passwd ,然后会删除 /etc/shadow 文件;
finger        注:查看用户信息工具
id              注:查看用户的UID、GID及所归属的用户组
chfn          注:更改用户信息工具
su             注:用户切换工具
sudo         注:sudo 是通过另一个用户来执行命令(execute a command as another user),su 是用来切换用户,然后通过切换到的用户来完成相应的任务,但sudo 能后面直接执行命令,比如sudo 不需要root 密码就可以执行root 赋与的执行只有root才能执行相应的命令;但得通过visudo 来编辑/etc/sudoers来实现;
visudo      注:visodo 是编辑 /etc/sudoers 的命令;也可以不用这个命令,直接用vi 来编辑 /etc/sudoers 的效果是一样的;
sudoedit  注:和sudo 功能差不多;



2)管理用户组(group)的工具或命令;

groupadd  注:添加用户组;
groupdel         注:删除用户组;
groupmod        注:修改用户组信息
groups     注:显示用户所属的用户组
grpck
grpconv   注:通过/etc/group和/etc/gshadow 的文件内容来同步或创建/etc/gshadow ,如果/etc/gshadow 不存在则创建;
grpunconv   注:通过/etc/group 和/etc/gshadow 文件内容来同步或创建/etc/group ,然后删除gshadow文件;
Last modified onSaturday, 05 January 2013 13:16

( ! ) Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php on line 169
Call Stack
#TimeMemoryFunctionLocation
10.0009415976{main}( ).../index.php:0
20.11814721568Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.11814721568Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.432312450128Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.433512474840Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.434912530168Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.435412558992require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.451312994400K2ControllerItem->execute( ).../k2.php:64
90.451412994400K2ControllerItem->display( ).../BaseController.php:710
100.467913719600K2ControllerItem->display( ).../item.php:78
110.467913719600K2ControllerItem->display( ).../controller.php:19
120.474714115968Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.477614136336K2ViewItem->display( ).../ViewController.php:102
140.613917085160K2ViewItem->display( ).../view.html.php:742
150.613917085160K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.617417265360include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701
  • Published in Debian
  • Read 3582 times

( ! ) Notice: Only variables should be assigned by reference in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php on line 478
Call Stack
#TimeMemoryFunctionLocation
10.0009415976{main}( ).../index.php:0
20.11814721568Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.11814721568Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.432312450128Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.433512474840Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.434912530168Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.435412558992require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.451312994400K2ControllerItem->execute( ).../k2.php:64
90.451412994400K2ControllerItem->display( ).../BaseController.php:710
100.467913719600K2ControllerItem->display( ).../item.php:78
110.467913719600K2ControllerItem->display( ).../controller.php:19
120.474714115968Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.477614136336K2ViewItem->display( ).../ViewController.php:102
140.613917085160K2ViewItem->display( ).../view.html.php:742
150.613917085160K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.617417265360include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701
Template Design © Joomla Templates | GavickPro. All rights reserved.