Linux??????????????些???
???????????? ???????[ 2013/6/9 13:12:07 ] ????????
????Linux??????????????????????????????魏?????????????????????????????????????????????????????????????????????????????????????????????????????????????????懈??????????????????????????????????????????????????????????????????????????????????????惟????????????????睢�??????????????????????????????????????????????????
?????????????????????????????????????????妫�
?????? ????????????????????
?????? ????????????
?????? ??????????
?????????????????????婕�??????????????????????????????????????写??????????????????????????????????椤�????????Shell???????????????????????????????谩?
????1??????渭??????????useradd???????????锟�?
useradd ??? ?????
???????懈?????????锟�?
????-c comment ?????????????????
????-d ?? ?????????????????????????????????-m????????????????
????-g ????? ???????????????椤�
????-G ????椋�????? ???????????????椤�
????-s Shell??? ??????????Shell??
????-u ????? ?????????????????????-o????????????????????????????
????????? ???????????????
????2?????????
??????1??
# useradd –d /usr/sam -m sam
????????????????????sam??
????????-d??-m?????????????sam???????????/usr/sam??/usr????????????????????????
??????2??
# useradd -s /bin/sh -g group –G adm??root gem
?????????????????????gem???????????Shell??/bin/sh????????group????椋�????????adm??root????椋�????group????????????椤�
???????????????椋�#groupadd group??groupadd adm
??????????????????/etc/passwd????????????????????????????????????????/etc/shadow?? /etc/group???
????Linux?????????????????userconf??????????????????????????????
????3????????
?????????????????????????????????????????????????????/etc/passwd????????械??????????????????????????????????????????械??????????userdel???????????锟�?
userdel ??? ?????
??????????????-r??????????????????????????????
???????纾�
# userdel sam
????????????????sam????????校??????/etc/passwd?? /etc/shadow?? /etc/group?????????????????????????
??????

???路???
??????????????????
2023/3/23 14:23:39???写?貌??????????
2023/3/22 16:17:39????????????????????些??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???路???????路
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11