//
you're reading...
aminesoft, linux security

How to enable password protection in Burg


Burg is a brand-new boot loader based on GRUB. It uses a new object format which allows it to be built in a wider range of OS. It also has a highly configurable menu system which works in both text and graphic mode. We did show you in a previous post how to install and configure burg in Ubuntu. Today we will see how to enable password protection in burg.

configure user and passwords
To add/edit user, use burg-adduser , for example :

sudo burg-adduser --super admin
sudo burg-adduser user1

The –super option is used to specify super user.

To remove user, use burg-deluser :

sudo burg-deluser user1

The password is stored in /etc/default/burg-passwd.
Setup GRUB_USERS variable in /etc/default/burg
Here is an example:

GRUB_USERS="*=user1,user2:Ubuntu=user1:Windows="

This means user1 can boot Ubuntu, no password is needed for Windows, user1 and user2 can boot other OS besides Ubuntu and Windows. Superusers can boot any OS and use system-wide hotkeys like `c’ to enter console mode.
Generate burg.cfg with update-burg

sudo update-burg

You can use burg-emu to check the configuration before reboot:

sudo burg-emu
Advertisements

About abdessemed mohamed amine

DZ-SECURITY

Discussion

No comments yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Facebook

February 2010
S M T W T F S
« Dec   Mar »
 123456
78910111213
14151617181920
21222324252627
28  

Twitter

Error: Twitter did not respond. Please wait a few minutes and refresh this page.

  • 365,853 Visit !
%d bloggers like this: