Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-29-2006, 06:44 AM
|
#1
|
LQ Newbie
Registered: Jun 2006
Posts: 17
Rep:
|
set GRUB password
Dear Friends,
How can I set password for grub bootloader?
I am using FC5.
Regards,
greeting 
Last edited by greeting; 08-30-2006 at 04:08 AM.
Reason: Mistyped GRUB with GRUP
|
|
|
08-29-2006, 07:06 AM
|
#2
|
Senior Member
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141
Rep: 
|
I'm not sure if it's part of the default FC5 install, but do you have gpasswd installed? If so, have a look at man gpasswd.
|
|
|
08-30-2006, 03:22 AM
|
#3
|
LQ Newbie
Registered: Jun 2006
Posts: 17
Original Poster
Rep:
|
gpasswd is for GRUB???
Hey! friend,
gpasswd is for grub???? Or to manage group???? 
Last edited by greeting; 08-30-2006 at 04:09 AM.
Reason: Mistyped GRUB with GRUP
|
|
|
08-30-2006, 03:36 AM
|
#4
|
LQ Newbie
Registered: Aug 2003
Location: Mumbai, India
Distribution: Red Hat 9
Posts: 26
Rep:
|
gpasswd is definitely for setting group passwords. I'm not sure if its included in the FC5. have not used FC5 yet. But yes you can use gpasswd to set group passwords.
gpasswd is also used to add and remove users from a particular group which is an adviced method to add users to a particular group because if you use usermod command to do that then you need to include every group the user needs to be added every time even if you just want to add a user to one group.
For eg: if user jack is already a member of the groups jack, admin, sys and managers and now that you want to add him to group marketing then
# gpasswd -a jack marketing
or
# usermod -G jack,admin,sys,managers,marketing jack
The disadvantage here in using usermod command is that if you only did
# usermod -G marketing jack
then the user jack is removed from all the other groups and is only added to the group marketing. So it is a very good command in linux and I'm sure it should be provided in FC5 also. Though you should check the FC site for details.
Hope its clear now!!!
|
|
|
08-30-2006, 04:05 AM
|
#5
|
LQ Newbie
Registered: Jun 2006
Posts: 17
Original Poster
Rep:
|
I would like to beg your forgiveness
Dear friends,
Your replies are very useful for me and I got more knowledge than before concern with gpasswd. Actually, I would like to know about GRUB not GRUP. I made the big mistake.
Now, I know the way how to set password for GRUB. All I have to do is to add the following line to /etc/grub.conf.
password --md5 [encrypted md5 password]
Anyhow, Thank you all.
Regards,
greeting
|
|
|
All times are GMT -5. The time now is 11:59 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|