Re: [newbie] File access- Me?,Machine?, Manual?

2001-09-15 Thread Altaira

Michael,

Thank you and wow!  To try and explain I was frustrated,
kept typing in correct commands and getting a response of
no such file no such directory.
So, I opened up the KDE module, open up the Root Directory,
over half way down is a root with a lock on it.  That was
what I meant by my root has a root.  Just following the
visible tree.  What it all means is I opened up the
directory
which leads to the root, and more. I do take things I read 
literal - My thinking was ROOT Directory was the root, not 
directory to the root.

Thanks again!
Kathy


   

What you said makes sense. Except for one item,
Root directory - key word is directory not root.
The one item is if I am SU, does this automatically open
the root file or the directory?  
Assuming I have it set for all access.

If you 'su' without the dash, you become the root user (ie,
user
'root'--basically the account which has all privileges) but
it does not
change to root's home directory (/root).  (as stated in the
man page for
su:  Change the effective user id and group id to that of
USER.)  

for example:

mviron@wsdo ~ $ pwd
/home/members/mviron
mviron@wsdo ~ $ su
Password:
[root@wsdo mviron]# pwd
/home/members/mviron
[root@wsdo mviron]# whoami
root
[root@wsdo mviron]#

whereas with su - (or -l or --login)

mviron@wsdo ~ $ pwd
/home/members/mviron
mviron@wsdo ~ $ su -
Password:
[root@wsdo /root]# pwd
/root
[root@wsdo /root]#

If you use -, -l, or --login username su acts as if you
had just logged
into the machine directly as username.

There are three different 'root's on a unix platform which
mean 3 totally
different things:

1.  The root directory (/) under which all other directories
connect.
2.  The root user, also known as the Super-User, which has
permission to
do whatever you want to do (including removing all files on
the hard
drive), and is typically used for system administration
(adding users,
editing configurations and so forth).
3.  The home directory for the root user (/root/) under
which root's shell
initialization and configuration settings are stored.

The question then becomes which root are you talking about? 
As far as I am
aware, there is no root file (unless you are considering the
/root/
directory as a file).

HTH,

Michael

--
Michael Viron
Registered Linux User #81978
Senior Systems  Administration Consultant
Web Spinners, University of West Florida

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] File access- Me?,Machine?, Manual?

2001-09-14 Thread Paul

 Manual states cat /proc/pci
 
 Typed the following -
 
 su
 Password
 cat /proc/pci

Did you make a typo here, or did you really type the  in front of pci?

 password
 find /pci

Again the  that should not be there...
Perhaps first an

ls -l /cat/p*

would clarify something.

 Am I doing something wrong or will it not find the file due
 to it only being recognized as a problem during the O/S install.

 Also my root has a root.  Some of these items could be because of
 the dual O/S?

Ewh... your root has a root? Could you please clarify? E.g. by doing 

ls -l /  list.txt

and sending list.txt over to the list?

Paul




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] File access- Me?,Machine?, Manual?

2001-09-14 Thread Altaira

Paul,
Thanks for the rapid response.  
Yes, I REALLY typed it, () Getting desperate!  Trying anything.
Yes I tried it without the  also. 
Sending the list? I am on one machine using the WIN98 O/S with
Netscape.  The list is on the MDLIN O/S on the same machine.
One thing I will explain root,root was what I visibly seen, via
the KDE module, nothing else.  I can't gain access that way. 
Maybe this is the question I should ask, I installed using DrakX.
Was/Is there something else I should have done directly after 
installation? After installation I did go in and set up another
user.  Possibly the incorrect way but it worked, and works.
Now since you have responded I have done or discovered the 
following issues -
WIN O/S - Netscape
How you managed to respond I don't know as I received three
undeliverable for the same message. 
I tried to print your message out, wouldn't.  It did before 
and will off of the network.  Modem is acting up.
I rebooted into Linux O/S -
All items on boot screen are OK except anti virus. Fine.
Typed -
ls -l /cat/p*
ls:invalid option --/ (may have been a spacing issue.)
ls -l /cat/p*
no such file or directory  (No issue - plain facts)
ls -l /  list.txt
ls:invalid option --/ Try 'ls --help' for more information.
Laugh now - I typed -
ls/options/help

I went into Konquereor via graphic module -
In the home directory a file, List.txt. it was empty.
As for the other issue root, root.  In KDE graphic module,
Bookmarks, History, Home, Network, Root Directory, 
Clicked open root directory, over half way down is a 
locked root.  It is set to where I do have access, 
according to it's properties.  No access via graphics.
Please unless you want to you do not have to respond.
I responded due to FYI's for you.  Because of years
of dealing with issues indirectly related to all of
the above items I have to make some nasty decisions. 
All related to environmental variables. Several which
I have no control over. No dual O/S?
My gut told me it wouldn't work.  It is, but the fine
tuned items don't, or are messing with one another.
It is strange because the item messing up was 
recognized as a problem with the Linux O/S.  Does
not work with Linux O/S and it is messing up in the 
WIN 98 system.
I could install an additional modem on the dual O/S 
and have each dedicated, but that may lead to more 
issues. I do have five different systems.  I 
mainly deal with only three so I do have several 
options.


Thank you! - I really do appreciate the help.




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] File access- Me?,Machine?, Manual?

2001-09-14 Thread Michael D. Viron

What you said makes sense. Except for one item,
Root directory - key word is directory not root.
The one item is if I am SU, does this automatically open
the root file or the directory?  
Assuming I have it set for all access.

If you 'su' without the dash, you become the root user (ie, user
'root'--basically the account which has all privileges) but it does not
change to root's home directory (/root).  (as stated in the man page for
su:  Change the effective user id and group id to that of USER.)  

for example:

mviron@wsdo ~ $ pwd
/home/members/mviron
mviron@wsdo ~ $ su
Password:
[root@wsdo mviron]# pwd
/home/members/mviron
[root@wsdo mviron]# whoami
root
[root@wsdo mviron]#

whereas with su - (or -l or --login)

mviron@wsdo ~ $ pwd
/home/members/mviron
mviron@wsdo ~ $ su -
Password:
[root@wsdo /root]# pwd
/root
[root@wsdo /root]#

If you use -, -l, or --login username su acts as if you had just logged
into the machine directly as username.

There are three different 'root's on a unix platform which mean 3 totally
different things:

1.  The root directory (/) under which all other directories connect.
2.  The root user, also known as the Super-User, which has permission to
do whatever you want to do (including removing all files on the hard
drive), and is typically used for system administration (adding users,
editing configurations and so forth).
3.  The home directory for the root user (/root/) under which root's shell
initialization and configuration settings are stored.

The question then becomes which root are you talking about?  As far as I am
aware, there is no root file (unless you are considering the /root/
directory as a file).

HTH,

Michael

--
Michael Viron
Registered Linux User #81978
Senior Systems  Administration Consultant
Web Spinners, University of West Florida



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[newbie] File access- Me?,Machine?, Manual?

2001-09-14 Thread Altaira

First I have a dual O/S.  WIN98/ MandrakeLinux 8. Installed 
using DrakX.  I have installed maybe two software programs,
a few directories created.  Now . .  

I wanted a file to print the output to the screen.
Manual states cat /proc/pci

Typed the following -

su
Password
cat /proc/pci

Response was pci no such file. I then did several variations, 
PCI, no  did a root, root, etc. Response was no such file or 
no such directory.
Then I opened KDE graphic module.  Went for a visible search.
Found pci file in root, bus.  
Then typed
su
password
find /pci
again pci no such file.  Tried variations. 
cat /bus/pci
Response No such file or directory. File visibly seen does have 
a big green ? on it.
Am I doing something wrong or will it not find the file due
to it only being recognized as a problem during the O/S install.
I additionally have two bus issues, not recognized.
Should pci be in the bus instead of the proc?
Also my root has a root.  Some of these items could be because of
the dual O/S?

Lots of ??? Sorry.  
Thanks in advance for any help. 

Kathy



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com