Edward E. Rochon wrote:
> Mikkel,
> 
> Thanks for the information abolut accessing admin from the Linux Prompt
> (Is that what they call it, like Dos Prompt, or just "command line".)
> Unfortunately my system will only let me access admin from the root
> directory prompt, and the system will not allow to change directory to
> the root prompt because I do not have authority to do so. So I still
> cannot access my logs to send to DrWeb to find out why DrWeb will not run.
> 
> What now?
> 
> Ed
> 
Hi Ed,
 I am having a problem understanding exactly what you are doing, and you
are not understanding what I am saying. So I guess it is time to define
some basic terms.

The CLI, or Command Line Interface is like the DOS prompt. You can type
in commands there, and have them run. You can get there is two main ways
- the first is to log in using the CLI login. The second way is to open
a terminal from the GUI. If you system is set to boot to the GUI login
screen, you can get to the CLI login screen by pressing the Ctrl-Alt-F1
keys at the same time. Alt-F7 should get you back to the GUI.

The GUI is the Graphical User Interface. This is like Windows. Most
installs default to booting to the GUI login screen. If you boot to the
CLI, you can get the GUI by running "startx".

What you can access when you are logged into a Linux machine depends on
what user you are logged into. For the standard setup, a user can access
their home directory, and has read access to most of the rest of hte
system. Some file, like the log files you are trying to access, can only
be read by user "root".

When you are at using the CLI, you normaly will have a command prompt.
The exact look depends on how you have things comfigured, but the
default looks something like:

[EMAIL PROTECTED] mikkel]$

When I am looged in as root, it looks like this:

[EMAIL PROTECTED] mikkel]#

or

[EMAIL PROTECTED] root]#

The general format is [<user>@<hostname> <directory>] with $ if you are
a normal user, and # if you are root.

If you want to read the log files, you can open a terminal. (Click on
the computer screen icon in hte line at the bottom of the screen.) Then
do something like:

[EMAIL PROTECTED] mikkel]$ su
Password:
[EMAIL PROTECTED] mikkel]# cd /var/log
[EMAIL PROTECTED] log]# less messages

This will display the message log file, and allow you to scroll back and
forth through the file. The space bar will advance the log one screen at
a time, and the Enter key will advance one line at a time. The arrow
keys will also let you scroll forward and back. Hitting "q" will exit
the listing. When you are done, you can get back to a normal user by
typing "exit".

The su (set user) command only affects the terminal you type it in, and
not any other programs. It will also work from the CLI if you log in as
a normal user.

I hope this helps.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for you are crunchy and taste good with Ketchup!

____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________

Reply via email to