root °èÁ¤ÀÇ Æнº¿öµå ¸¸·á·Î ÀÎÇÏ¿© ·Î±×ÀÎ ºÒ°¡
----[ Default °ª ]---- [root@10-OS ~]# chage -l root Last password change : Jun 25, 2015 Password expires : never Password inactive : never Account expires : never Minimum number of days between password change : 0 Maximum number of days between password change : 99999 Number of days of warning before password expires : 7
----[ Æнº¿öµå ±â°£ ¸¸·á ]---- [root@10-OS ~]# chage -M 1 root [root@10-OS ~]# chage -l root Last password change : Jan 01, 2015 Password expires : Jan 02, 2015 Password inactive : Jan 02, 2015 Account expires : never Minimum number of days between password change : 0 Maximum number of days between password change : 1 Number of days of warning before password expires : 7
----[ ·Î±×ÀÎ ½Ãµµ ]---- [rockplace@10-OS ~]$ su - root ¾ÏÈ£: °èÁ¤ÀÌ ¸¸·áµÇ¾ú½À´Ï´Ù: ½Ã½ºÅÛ °ü¸®ÀÚ¿¡°Ô ¾Ë·Á ÁֽʽÿÀ su: incorrect password [rockplace@10-OS ~]$
----[ Single Mode ÁøÀÔÇÏ¿© ¿øº¹ ¿øº¹ ]---- [root@10-OS ~]# chage -E -1 -I 0 -m 0 -M 99999 root [root@10-OS ~]# chage -l root Last password change : Jan 01, 2015 Password expires : never Password inactive : never Account expires : never Minimum number of days between password change : 0 Maximum number of days between password change : 99999 Number of days of warning before password expires : 7
----[ ·Î±×ÀÎ ½Ãµµ ]---- [rockplace@10-OS ~]$ id uid=500(rockplace) gid=500(rockplace) groups=500(rockplace) [rockplace@10-OS ~]$ su - root ¾ÏÈ£: [root@10-OS ~]# id uid=0(root) gid=0(root) groups=0(root)
|