YesYo.com MintState Forums
뒤로    YesYo.com MintState BBS > Tech > Linux
검색
멤버이름    오토
비밀번호 
 

How Do I Secure Grub Boot Loader?

페이지 정보

작성자 MintState 댓글 0건 조회 11,643회 작성일 13-08-23 15:33

본문

How Do I Secure Grub Boot Loader?

Grub 부트로더 에디트를 함부로 하지 못하게 pasword 설정법 입니다.

#1: Create A Password For Grub

Type grub-md5-crypt command to create password in MD5 format:

Output:

Please note that you need to copy and paste the MD5 password ($1$NYoR71$Sgv6pxQ6LG4GXpfihIJyL0) to your configuration file. Use mouse to copy the same.


#2 Add MD5 Password To Grub Configuration File

Under Debian GNU/Linux the Grub configuration file is located at /boot/grub/menu.lst. (Red Hat / Fedora user use /boot/grub/grub.conf file)


Edit file and add a password line as follows:


Here is my sample config file:


출처 : http://www.cyberciti.biz/tips/how-do-i-secure-grub-boot-loader.html

추가 적으로 root password 를 삭제 하는 방법
grub 화면에서 e (edit)로 들어가서 2번째 라인에서 e (edit) 후 마지막에 1 추가후 b (boot) 하신후
/etc/shadow 파일 에서 root 부분의 password 부분 삭제 ( root:: ) 하시면 됩니다.

댓글목록

등록된 댓글이 없습니다.

Total 360건 1 페이지
Linux 목록
번호 제목 글쓴이 조회 날짜
공지 MintState 110308 10-30
359 MintState 3917 06-05
358 MintState 5658 07-30
357 MintState 7786 10-16
356 MintState 9684 11-03
355 MintState 13835 08-10
354 MintState 10341 05-21
353 MintState 10835 01-14
352 MintState 11166 09-09
351 MintState 10888 11-28
350 MintState 12956 10-11
349 MintState 11643 09-30
열람중 MintState 11644 08-23
347 MintState 12286 05-14
346 MintState 19719 05-29
345 MintState 20054 08-03
344 MintState 22063 07-27
343 MintState 23942 07-26
342 MintState 19059 03-30
341 MintState 19930 03-07
게시물 검색
모바일 버전으로 보기
CopyRight ©2004 - 2024, YesYo.com MintState. ™