8 8. 2. 1 8. 2. 2 l i n u x c o n f 8. 2. 3 8. 2. 4 8. 2. 5 8. 2. 6 8. 2. 7 l i n u x c o n f 8. 2. 8 s h a d o w 8. 2. 9 s h a d o w 8. 2. 10 s h a d o w 8. 2. 11 8. 2. 1 2 8. 2. 1 3 8. 2. 1 4 l i n u x c o n f 8. 2. 15 8. 2. 1 6 l i n u x c o n f 8. 2. 17 8. 2. 1 8 s h a d o w 8. 2. 19 l i n u x c o n f 8. 2. 20 8.1 L i n u x r o o t Te l n e t L i n u x password I R C U N I X I R C
8 97 21 8.1.1 L i n u x 8 8 8. 2. 18 p a s s w d p a s s w d GUI l i n u x c o n f linuxconf s h a d o w / e t c / p a s s w d / e t c / p a s s w d 2 1 / e t c / p a s s w d / e t c / p a s s w d s h e l l
98 Linux s h a d o w / e t c / p a s s w d 8. 2. 19 s h a d o w s h a d o w Linux L A N N I S Linux N F S N I S s h a d o w 8. 2. 10 s h a d o w 8. 2. 11 8.1.2 s h e l l We b F T P PAT H s h e l l 18 8.2 8.2.1 a d d u s e r u s e r a d d adduser username 8.2.4 m a r y useradd mary 8. 2. 2 8.2.2 r o o t
8 99 passwd username linuxconf 8.2.2 Passwd b i r d y passwd birdy r o o t p a s s w d passwd 8.2.3 linuxconf l i n u x c o n f 1) l i n u x c o n f 8. 2. 20 2) Users Accounts N o r m a l 3) Users accounts 8-1 Users Accounts 8-1 linuxconf User Account 4) A d d 8-2 User account creation Base Info 5) P r i v i l e g e s 6) A c c e p t 8-3 Changing password 7) 8) A c c e p t O K 9) 10) A c c e p t Users Accounts
100 Linux 8-2 linuxconf User account creation 8-3 linuxconf Changing Password 8.2.4 a d d u a e r u s e r a d d - D useradd -D 8.2.5 a d d u a e r u s e r a d d 8. 2. 6 G R O U P 5 / h o m e H O M E i n a c t i v e I N A C T I V E 0 E X P I R E
8 101 S H E L L / b i n / b a s h s h e l l s k e l e t o n / e t c / s k e l S K E L 8.2.6 a d d u s e r u s e r a d d 8-1 8. 2. 5 8-1 a d d u s e r u s e r a d d G R O U P - g / e t c / g r o u p H O M E - d / h o m e I N A C T I V E - f E X P I R E - e S H E L L - s s h e l l S K E L - k 90 30 s h e l l / b i n / k s h adduser -e90 -f30 -s/bin/ksh 8.2.7 u s e r m o d 8-2 G g 8-2 usermod c f i n g e r c h f n d d m e M M / D D / Y Y
102 Linux ( ) f - 1 g G w h e e l r o o t a d m i n w h e l l, r o o t, a d m i n l s s h e l l s h e l l s h e l l u U I D I D I D c h r i s c. a d a m r o o t usermod -d /home/c.adams -m -l c.adams.chris 8.2.8 linuxconf l i n u x c o n f 1) l i n u x c o n f 8. 2. 20 2) Users Accounts N o r m a l 3) Users accounts 8-1 Users Accounts 4) 5) 8-4 User information 6) 7) A c c e p t 8-4 linuxconf User Information
8 103 8.2.9 shadow s h a d o w s h a d o w Red Hat Red C D - R O M / R e d H a t / R P M S s h a d o w - u t i l s s h a d o w - m i s c C a l d e r a C D - R O M / P a c k a g e s / R P M S 15 R P M S s h a d o w Red Hat C a l d e r a R P M 15. 2. 1 R P M 15. 2. 1 G U I 6. 2. 15 9. 2. 2 8.2.10 shadow s h a d o w 1) 2) / u s r / s b i n 3) p w c o n v 8.2.9 8.2.11 shadow 1) 2) / u s r / s b i n 3) p w c o n v 4) s h a d o w Red Hat C a l d e r a 8. 2. 9 8.2.12 / e t c / p r o f i l e / e t c / p r o f i l e s h e l l bash shell s h e l l s h e l p r o f i l e i f / t h e n s h e l l 18 shell
104 Linux 8.2.13 w w w. f a l s e. c o m / s e c u r i t y / j o h n / i n d e x. h t m l John the Ripper ftp://info.cert.org / p u b / t o o l s / c r a c k / c r a c k 8.2.14 root 1) 2) p a s s w o r d s h a d o w / e t c / p a s s w d s h a d o w / e t c / s h a d o 3) 4) * / e t c / p a s s w d / e t c / s h a d o w : 5) 8.2.15 linuxconf l i n u x c o n f 1) l i n u x c o n f 8. 2. 20 2) l i n u x c o n f User information 8. 2. 8 3) The account is enabled 4) A c c e p t 8.2.16 userdel -r username p a u l a userdel -r paula -r userdel 8.2.17 linuxconf l i n u x c o n f 1) l i n u x c o n f 8. 2. 20
8 105 2) l i n u x c o n f User Information 8. 2. 8 3) D e l e t e 4) 5) A c c e p t 8.2.18 We b 8.2.19 shadow s h a d o w s h a d o w s h a d o w 8. 2. 11 / e t c / s h a d o w SUID root 5 SUID shadow SUID root C / u s r / i n c l u d e / s h a d o w / u s r / l i b / l i b s h a d o w a 8.2.20 linuxconf l i n u x c o n f 1) 2) L i n u x G U I G U I s t a r t x X X Wi n d o w Linux UNIX GUI
106 Linux 3) Control Panel System Configuration 8-5 4) System Configuration O K 5) 8-6 l i n u x c o n f 8-5 fvwm Control Panel System Configuration 8-6 linuxconf