Re: Reg. Grub password & Change of Permissions for /home folder.



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



Relevant Pages

  • Re: successful file copy -> different file content?
    ... The entry in the old directory that points to the file is deleted and an entry pointing to that same file is created in the destination directory. ... But the Copy command writes a new copy of the file to the destination, even on the same physical drive, the same partition or the same folder. ... For a Copy into the same folder, a new filename is required, because Windows will not allow two files with the same name in the same folder. ... Microsoft Windows MVP ...
    (microsoft.public.windows.file_system)
  • Re: windows command help
    ... I need to run the windows copy command from command prompt to copy several ... folders and files in specific folder to another folder ... install modules then you can roll your own with the core modules ... if (-d $entry) { ...
    (perl.beginners)
  • Re: Slow NTFS Permission Application
    ... > add a new permission entry on the TOP folder ONLY. ... Would a command line tool behave better? ...
    (microsoft.public.windows.server.security)
  • Re: [SLE] Cant burn CDs :-(
    ... > remember when I used lilo there needed to be an entry in lilo.conf for ... > same need to be done for grub? ... > root ... what does this command say. ...
    (SuSE)
  • Re: Suse 10.1 Kerenl compiling
    ... and install it without overwriting suse original kernel. ... I use grub as a boot manager and have a /boot folder ... Copy linux-x.y.z.tar.bz2 from kernel.org to a folder ... Now you should have your original Suse grub entry and your new entry ...
    (alt.os.linux.suse)