General :: Understanding Md5 Password Placement In Grub?
Jul 13, 2011My grub file looks like this:-
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
[code]...
My grub file looks like this:-
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
[code]...
The O'Reilly book, Linux in a Nutshell, Sixth Edition has this excerpted section (on Legacy GRUB):If GRUB is installed in the MBR, you can chainload Windows by setting the root device to the partition that has the Windows boot loader, making it the active partition, and then using the chainloader command to read the Windows boot sector.If GRUB has been installed to (hd0,0)'s MBR, then I am confused what "file" chainloader +1 is pointing to. Obviously, it is not the MBR but that is confusing to me. When one boots a Linux system with GRUB in the MBR, what file does chainloader +1 point to?
View 2 Replies View RelatedI am learning how to use DD for creating images across networks and locally but needed some clarification.
1 - When creating an image, I noticed that there is no verbose to show you the progress, How can I accomplish this?
2 - When I run this on a 8G usbstick it takes a long time to image. How can I speed up this process?
PHP Code:
dd if=/dev/sdb of=/home/test/images/image.dd
3 - When an image is restored like
PHP Code:
dd if=/home/test/images/image.dd of=/dev/sdb
will that give me a working bootable usbstick? For example if I imaged a working usbstick with Ubuntu on it using DD and restored it like the example above on a different usbstick, will this give me a booting new usbstick? I hope that came across ok?
I don't quite understand how pipes work in bash. I know that it takes an output from one command as the input in another command. What an output is I can get because it's what the command prints out to the screen. But how do I know what input a command will take? Here is an example I thought would work:
Which gem | rm
Unfortunately it didn't.
Which gem prints out "/usr/bin/gem" so that must be the output right? I thought that was given to rm so it would be "rm /usr/bin/gem" but I was wrong. How do I know what input a command takes?
I'm trying to set up a machine to "drive" a piece of equipment (a metal plate embosser [kind of like a daisywheel printer for credit card sized pieces of metal], FWIW). What I ideally want is a linux distro that I can boot from CD (I think the term is Live CD?), log itself in as a user and display only a console. It needs to be able to support windows fileshares and python.
Essentially it needs to boot, connect to a single fileshare on a Win2k8 machine, and be able to execute a couple of scripts that will output to a serial port. One of them will be more or less the following:
wget http://WEBSITE/?<parameter passed to script> --quiet --output-document=<name of serial port>
The other is a somewhat more complicated Python script that processes a CSV spreadsheet and produces data for the machine.
I have forget the root password of Red Hat Enterprise Linux 5. Please tell me how to recover it from the other linux account of the same version. I also want to know that after setting the new password did I have to repair the grub or grub will be as usual.
View 1 Replies View RelatedI'm beginning to deal with more than one user on my system (it's a VPS serving some sites) and I need to make sure I understand how group permissions work. I have an account named "admin" .. it's basically the primary account that is used for serving most of the sites that I control myself. Now, I added a second account named "Ville" as one of my users wants to be able to administer that site. So, I can do this the easy way and just chown their domains folder under the ville user, they have permission to do whatever they need be and so forth. However, let's say I want to also give the admin user access to the files (modifying and all) .. how can I put both users into the same group and give them both permission?
I've tried doing:
sudo usermod -a -G admin ville
To add the ville into the admin group, but ville still cannot edit files by admin. Permissions for the primary directory for the ville user are read/write for both owner and group, and the current group for the files is admin:admin ..
But ville still can't write into the directory. So, what should I be doing here to get this right and secure at the same time?
# Filename: makefile2
# Usage: make-f makefile2
# Description: Maintains all the dependencies between modules using the
# Agenda1.
CC=g++
CFLAGS=-c -Wall
LDFLAGS=
SOURCE_MODULES=main.cpp factorial.cpp hello.cpp
OBJECT_MODULES=$(SOURCE_MODULES:.cpp=.o)
EXECUTABLE=programa1
all: $(OBJECT_MODULES) $(EXECUTABLE)
$(EXECUTABLE): $(OBJECT_MODULES)
$(CC) $(LDFLAGS) $^ -o $@
.o: .cpp
$(CC) $(CFLAGS) $< -o $@
I am suppose to explain the dependencies that exist and each of the following lines of makefile. Lists orders to be executed as a result of running the make utility on it.
I am very new to linux. The first time i ran a linux machine was one Saturday. Anyway I am trying to set up an apache web server, all I want to do is play around with html and post it on my unbuntu server so it is available to the internet. I am also trying to install samba but I am having trouble with that so for now I am using winscp. Ok, so I made a folder in my home directory for webstuff, and set up apache to look in that folder.
mkdir /home/username/webstuff
I put my index.html file into the /webstuff folder.
But when I go to my website, it says 403 error unable to access "/"
Did I make the folder in the right place? I do not want people being able to access my / folder so maby I made the web stuff folder in the wrong place? Also I thought I would just put my inded.html file inside of the default one apache gives you, but when I tried to transfer index.html it said permission denied. How to set up permissions so I can use apache and transfer my html files from my remote desktop to my server would be great!
I'm trying to understand if anyone is left on a server. Basically I manage a simple linux server remotely used by 3-4 individuals. I can never tell if someone is actually on or not using w/who.What I'm seeing is some people having what appears to be inactive/lost VNC sessions. I don't understand idle fully, but I do believe a program (without user interaction) can clear idle back to 0, correct?Anyway, I'm asking because every now and then I need to reboot the server, and I do not want to interrupt any program working on calculations or waiting on having the data saved.
Code:
me@matrix:~> w
06:59:54 up 170 days, 9:13, 16 users, load average: 0.52, 0.16, 0.06
[code]....
Well here's what I've done in grub.confpassword --md5 BLABLABLA /grub/admin_menu.lstNow that I enter some password, I can go to that menu and run my pvt. OS.But how to get back to original (or say public or default) grub menu?
View 1 Replies View RelatedI have bought a Mac Laptop however it has a username and password which I don't know. I've looked all over to see how I can overcome this lot's of people have said to enter at Grub prompt to take you to recovery, however I have no Grub prompt and Mac is not booting from cd rom.
View 1 Replies View RelatedCan't find info on how to move my hundreds of Camino bookmarks from a Mac G5 power-pc OSx Leopard to Ubuntu setup onto an older AMD PC. Camino doesn't appear to have a Linux version at least that I can find. If it does have one I would prefer Camino. Probably not so is it preferable in any way discernable, to the Firefox that I'm using now (doesn't look like it to me)?
Secondly, the vertical arrows for paging up and down on the screen - can't seem to find the preference that puts them together at the bottom instead of up arrow at the top and down arrow at the bottom.
Im trying to get a general understanding put simply.
View 6 Replies View RelatedI want the three buttons on the top of the window to be on the right side, but every time I go to another theme they get switched over to the left again.
View 5 Replies View RelatedIs there an easy way to move the buttons to the left like in Ubuntu?
View 4 Replies View RelatedMy document contains a parenthetical remark, like this:
(This is a long parenthetical remark.)
OpenOffice Writer advises me that the dot should rather be placed after the parenthesis:
(This is a long parenthetical remark).
I think OpenOffice Writer is wrong.
I'm looking for a solution which would allow me to move and resize windows (e.g. rdesktop or firefox, etc...) in X. Preferably independent of either GNOME or KDE. The purpose of this is to be able to perform demo, where certain windows would be placed on a laptop's external monitor, without the obvious mouse cursor movements and resizing.
View 6 Replies View RelatedI have a problem with the icons on the Desktop in Lubuntu (10.04). They are all aligned automatically, but I want to place them wherever I want on desktop. How can I do that? Is there an option that I missed?
View 3 Replies View RelatedThis is a simple question, but I cannot find the option: how do I set signatures to always appear at the very bottom of the message (i.e. with replies it appears above the other replies) automatically? This is on Alpine 2.
View 2 Replies View RelatedI am wondering if it is possible to have programs remember which monitor they were last placed on when re-opening them?
View 1 Replies View RelatedI recently reinstalled Ubuntu 11.04 "Natty Narwhal" Daily 20101124 on my netbook and decided to place /home on an external 500GB SimpleTech hard drive because the netbook's internal SSD is only 8 GB.
Well, when I boot into the main SSD to try and test out the system, I have two problems:
First of all, GRUB is unstable and won't always find the kernel to boot. In particular, I have to hit <Enter> one, two, even three times just for GRUB to find the kernel and boot the system.
However, that's not all:
When the system is booting, I wait endlessly for X to start. It doesn't. The Plymouth splash screen stays there and it looks like the system is endlessly booting with no progress.
Suggest chrooting into the drive and doing a "sudo apt-get dist-upgrade" by any chance? This being in order to make the system on the drive up-to-date? If so, I will see if it boots.
I am having a hard time understanding how to order the commands in the CLI. Its like I don't have a clue as to what do next.
View 2 Replies View Relatedunderstanding and using the "at" command. I know everyone would say read the man pages, bt dnt knw if its jst me that think the man pages are not elementary enough for newbies like mi. So I need an elementary way of executing the "at" command. Tried using the "at" command to kill a program at a certain time but didn't seem to get it, so I need help doing that. Distro is redhat linux.
View 3 Replies View RelatedFor this code:
Code:
class B1
{
[code]....
my Setup is Fedora 14 x64 + radeon hd 4830 i've downloaded .run package from ati site with latest driver for x64 systems. installed it, but didn't edited grub.conf becouse i didn't understood anything there (probably didn't spent enough time to get things understand) Now i've lost possibility to enter my Fedora system. during boot it lost it's modern blue boot screen (with filling drop), it was replaced by standard old boot screen with triple-color stripe. after this boot screen monitor start blinking going on and off. and on last step i'm getting "Fedora 14 boot bla bla bla something" on screen. nothing works except Ctrl+Alt+Delete. system reboots showing successful daemons shutting sequence. How can i edit grub menu from initial grub screen is it possible to it's own 'e' option or 'c' from grub command line?
View 4 Replies View Relatedto set grub password in ubuntu 10.04.
View 1 Replies View RelatedI have an application that uses port 8080 all the time. One time, for some reason, it was taken by I didn't know what.
View 2 Replies View Relatedvar param = function() { <whatever> } ;What exactly does the above MEAN, and why have they included this in the language this way?
View 6 Replies View RelatedMy friend have been using Ubuntu 9.04 for a couple of months,he have protected his Grub entries using a password,but he forgotten his password..So now he cant able to login,he is getting struck in the Grub Menu..How to resolve this??
View 2 Replies View Related