V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
Livid
267.12D
572.71D
V2EX  ›  Linux

为什么 MySQL 的 Install Binary 说明文件里提到要 groupadd?

  •  
  •   Livid ·
    PRO
    · Aug 18, 2012 · 3015 views
    This topic created in 5001 days ago, the information mentioned may be changed or developed.
    不是 useradd 的时候就同时 groupadd 了么?为什么在 MySQL 的 Install Binary 里总是要让你先用 groupadd 添加一个 mysql 组,然后才用 useradd 添加用户呢?
    1 replies    1970-01-01 08:00:00 +08:00
    liwei
        1
    liwei  
       Aug 18, 2012
    效果应该是一样的,但是useradd是否同时添加和用户名同名的组依赖配置和选项,详细信息可以参考
    man useradd( -g 这个选项)
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2581 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 16:07 · PVG 00:07 · LAX 09:07 · JFK 12:07
    ♥ Do have faith in what you're doing.