首页 > 系统服务 > 详细

linux下创建ucenter用户

时间:2016-01-31 13:38:03      阅读:176      评论:0      收藏:0      [点我收藏+]

一般生成环境是不会使用root用户来发布tomcat等应用的。

所以要为发布人员创建一个ucenter用户来进行操作

useradd ucenter    #添加ucenter用户
passwd ucenter –设置密码为:ucenter    #设置ucenter用户的密码为:ucenter
   
mkdir /ucenter     #为ucenter用户创建ucenter目录
chown ucenter:ucenter /ucenter/ -R    #把ucenter目录及其下所有的目录的授权给ucenter用户和其所在的组

搞定!

本文出自 “Simple Life” 博客,请务必保留此出处http://simplelife.blog.51cto.com/9954761/1740144

linux下创建ucenter用户

原文:http://simplelife.blog.51cto.com/9954761/1740144

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!