[완료]에구, useradd –g msyql mysql에서 오류가 납니다.
fedora core 6 x386이고, mysql 5.0.23입니다.
[root@localhost mysql]# useradd –g msyql mysql
Usage: useradd [options] LOGIN
Options:
-b, --base-dir BASE_DIR base directory for the new user account
home directory
-c, --comment COMMENT set the GECOS field for the new user account
-d, --home-dir HOME_DIR home directory for the new user account
-D, --defaults print or save modified default useradd
configuration
-e, --expiredate EXPIRE_DATE set account expiration date to EXPIRE_DATE
-f, --inactive INACTIVE set password inactive after expiration
to INACTIVE
-g, --gid GROUP force use GROUP for the new user account
-G, --groups GROUPS list of supplementary groups for the new
user account
-h, --help display this help message and exit
-k, --skel SKEL_DIR specify an alternative skel directory
-K, --key KEY=VALUE overrides /etc/login.defs defaults
-m, --create-home create home directory for the new user
account
-l, do not add user to lastlog database file
-M, do not create user's home directory(overrides /etc/login.defs)
-r, create system account
-o, --non-unique allow create user with duplicate
(non-unique) UID
-p, --password PASSWORD use encrypted password for the new user
account
-s, --shell SHELL the login shell for the new user account
-u, --uid UID force use the UID for the new user account
어떻게 해야 합니까?
useradd -g mysql mysql
일단 mysql이라는 그룹이 있는지 확인을 해보시기을 바랍니다.
또한 오타가 있더군요..
useradd -g mysql mysql 이 맞으실듯합니다..!!!!
작은 도움이나마 되셨으면 합니다..
그렇군요 ㅎ
오타,
감사합니다.
자료는 저장하자!
저장해서 정리하지 않은 지식은 쓸모가 없다.
댓글 달기