Linux??????????????Щ???
???????????? ???????[ 2013/6/9 13:12:07 ] ????????
????4????????
??????????????????????????????????й????????????????????????顢???Shell???
??????????????????????usermod???????????£?
usermod ??? ?????
???????????????-c?? -d?? -m?? -g?? -G?? -s?? -u???-o?????Щ??????????useradd?????е?????????????????????μ?????????????Щ????????????????
-l ???????
?????????????????μ???????????????????????μ????????
???????磺
# usermod -s /bin/ksh -d /home/z –g developer sam
?????????????sam????Shell????ksh?????????/home/z?????????developer??
????5?????????????
?????????????????????????????????????????????????п??????????????????????????????????????????????????????????
????????????????????Shell??????passwd??????????????????????????????????????????????????????????????????
passwd ??? ?????
?????????????
????-l ??????????????????
????-u ?????????
????-d ????????
????-f ???????′ε????????
???????????????????????????????
???????磬???赱??????sam????????????????????????????
$ passwd
Old password:******
New password:*******
Re-enter new password:*******
??????????????????????????????????κ?????????
# passwd sam
New password:*******
Re-enter new password:*******
????????????????????????passwd??????????????????????????????????????????????????????????£???????????????????????????????????????????????????????
???????????????????????????????????????????8λ????????????а????д?д??Сд????????????????????????????????????
???????????????????????????????????
# passwd -d sam
?????????????sam?????????????????sam????ε????????????????
????passwd??????????-l(lock)??????????????????????????磺
# passwd -l sam
??????
???·???
??????????????????
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