LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-16-2004, 06:21 PM   #1
noema
LQ Newbie
 
Registered: Jul 2004
Posts: 3

Rep: Reputation: 0
boot.log in mandrake 10


how can i view /var/log/boot.log in mandrake 10?
logged in with my usual username i'm told that i don't have the requisite permissions, but i can't log in as root because it isn't in the menu when i start up mandrake

i've tried using su - in a terminal and trying to access the file as root but that doesn't seem to work either...
 
Old 07-16-2004, 06:22 PM   #2
noema
LQ Newbie
 
Registered: Jul 2004
Posts: 3

Original Poster
Rep: Reputation: 0
that is, i can't log in with a graphical interface as root.

i have no experience with the cli
 
Old 07-17-2004, 03:07 AM   #3
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,682
Blog Entries: 9

Rep: Reputation: 45
presuming that you have used the kde window manager/environment which is default with mandrake, you could go into the the kde control centre (configure my desktop) then system>login manager>users, then you'd have to hit the "administrator mode" button at the bottom of the page, which then request's your root password, which you enter and let it do it's thing, you'd then normally have the login manager with a red border, which enables you to uncheck the box that makes root a hidden user.

After log out/log in you should see root as an option to log in graphically.

As far as viewing the /var/log file with CLI, it's not a problem. You'd just open a terminal/konsole and then "SU" (no quotes) and enter, then apply the root password.

From there, just to view the /var/log/boot.log you'd then just type

Code:
vi /var/log/boot.log
at the # prompt and use the arrow key's to look at the file. When you've finished you can either just close the terminal or do it properly and type :q (yes you do need to type the : colon).

Just for info, the code example I've quoted, opens the /var/log file in the "VI" editor, it may be prudent to have a look around for proper instructions on using VI it's a very competent editor.

Though if you don't like the idea of using that yet, once you can log in as root graphically you can just search through konqueror for /var/log/boot.log and then do the right click thing and open it with "other>more applications>editor's>kwrite" which gives you an editor pretty much like a word processor, you just have to remember to save it and close the file if you'd made any changes, which I doubt with /var/log/boot.log (the same thing in VI would be :wq)

regards

John

p.s. I thing my explaination is correct, though with my system it's a little different as I have a seperate /boot partition and usually have to have it mounted as I'm set up that it is only mounted during the boot process, but the above "should" work.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
/var/log/boot.log doesn't exist??? big_gie Fedora 5 05-17-2008 06:44 AM
Boot log? hkxx9 Linux - General 5 02-27-2005 06:11 PM
boot.log oved Linux - General 2 07-09-2004 03:12 PM
rm /var/log/boot.log WannaLearnLinux Linux - Newbie 8 01-28-2004 09:21 PM
Can't boot 2.6 kernel, need help finding boot log sb73542 Linux - General 1 01-02-2004 07:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration