Re: Reg. Grub password & Change of Permissions for /home folder.
- From: Gmail POP3 Access <iam.perfectionism@xxxxxxxxx>
- Date: Sun, 05 Apr 2009 22:36:06 +0530
On Sun, 2009-04-05 at 21:28 +0530, Gmail POP3 Access wrote:
On Sun, 2009-04-05 at 14:38 +0000, Harry Rickards wrote:
Quoting Gmail POP3 Access <iam.perfectionism@xxxxxxxxx>:
But when I did open the /boot/grub/menu.lst there are a lot of entries
starting with # symbol.
The hash means that the line is commented out, and won't be read by
GRUB. It usually tells you what the following line does.
I have used the follwoing commands to create a password for grub.
root terminal - Grub - grub-md5-crypt
and after creation of md5 password, i have run the followig command :
root terminal - grub update.
The book probably meant to run 'grub update' in a root terminal. If
you go into a terminal and type in 'su', and enter the root password
if necessary. Then run 'grub update'.
I have edited the file with the follwoing entries :
timeout 3
password --md5 encryptedpassword data.
Should I delete the below lines of the file [ menu.lst ].
What lines are below?
The following lines are present :
# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-legacy-doc/.
## default num
# Set the default entry to the entry number NUM. Numbering starts from
0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default
entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not change this entry to 'saved'
or your
# array will desync and will not let you boot your system.
default 0
## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the
default entry
# (normally the first entry defined).
timeout 5
# Pretty colours
color cyan/blue white/blue
## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive
editing
# control (menu entry editor and command-line) and entries protected by
the
# command 'lock'
# e.g. password topsecret
# password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret
#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
[2] I am unable to create a folder in /home folder.
I did check everyother folders and to my shock I found that Owner and
Group is "root".
I request members to guide me for changing permissions for /home folder.
Meanwhile I will do some googling.
Is this the /home folder, or the /home/yourname folder? If it's the
/home folder, you should create directory's in /home/yourname. If it's
/home/yourname that has the owner or group set to root, open up a
terminal and type in 'su' again, entering the root password if
neccesary. Then enter the command 'chown yourusername:yourgroupname
/home/yourusername'. Your group name is probably the same as your user
name, but you can find all groups you belong to by entering the
command 'cat /etc/passwd|grep yourusername'.
I have successfully changed the permissions.
Thanks
Harry Rickards
Thank You,
@ Bhagya.
--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
- References:
- Reg. Grub password & Change of Permissions for /home folder.
- From: Gmail POP3 Access
- Reg. Grub password & Change of Permissions for /home folder.
- Prev by Date: Re: Reg. Grub password & Change of Permissions for /home folder.
- Next by Date: Re: Reg. Grub password & Change of Permissions for /home folder.
- Previous by thread: Reg. Grub password & Change of Permissions for /home folder.
- Next by thread: Re: Reg. Grub password & Change of Permissions for /home folder.
- Index(es):
Relevant Pages
|