[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: permissions question



Vam,

There should be an entry for / (the root partition)  (you can check to make
sure fstab is not set to mount it read only) else I don't know how to fix
this either, but if you run the mount command you'll see all the filesystems
that are mounted and whether they are ro or rw (this will be in parenthesis)

For example

[root infotech26 armfield]# mount
/dev/hda6 on / type ext3 (rw)
none on /proc type proc (rw)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
/dev/hda1 on /boot type ext3 (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/hda3 on /home type ext3 (rw)
none on /dev/shm type tmpfs (rw)
/dev/hda2 on /var type ext3 (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)

I know that linux first mounts / as read-only to check the file system then
it remounts it r/w.

You can run this as root

Cat /var/log/messages | grep fsck

This shows you the status of the filesystems at boot time.

For example

[root infotech26 log]# cat messages | grep fsck
Jan 14 12:44:17 infotech26 fsck: /: clean, 100680/483840 files,
519570/965900 blocks
Jan 14 12:44:26 infotech26 fsck: /boot: clean, 64/16064 files, 29292/64228
blocks
Jan 14 12:44:26 infotech26 fsck: /home: clean, 473/131616 files,
15112/263064 blocks
Jan 14 12:44:26 infotech26 fsck: /var: clean, 841/131616 files, 37543/263064
blocks



:-----Original Message-----
:From: valhalla-list-admin redhat com 
:[mailto:valhalla-list-admin redhat com] On Behalf Of Vam
:Sent: Tuesday, January 14, 2003 2:35 PM
:To: valhalla-list redhat com
:Subject: RE: permissions question
:
:
:Hi Mike,
:
:There is no /etc partition in my /etc/fstab file.
:It hasn't been compromised - I just installed linux 3
:days ago and have been unable to modify /etc from the
:very beginning.
:
:Any ideas on how to fix this?
:
:-Vam
:--- Mike Kercher <mike CamaroSS net> wrote:
:> Look at /etc/fstab
:> 
:> It should show you that the /etc partition has been
:> mounted read only
:> for some reason.  I don't know why it would be!  You
:> might also cat your
:> passwd file and look for any users your don't
:> recognize.  Is it possible
:> your machine has been compromised already?
:> 
:> 
:> -----Original Message-----
:> From: valhalla-list-admin redhat com 
:> [mailto:valhalla-list-admin redhat com] On Behalf Of Vam
:> Sent: Tuesday, January 14, 2003 1:19 PM
:> To: valhalla-list redhat com
:> Subject: permissions question
:> 
:> 
:> I am relatively new to linux, and am trying to
:> install
:> mysql.  I need to add a line to my /etc/ld.so.conf
:> file but it will not let me modify it as root.  Nor
:> any other file under /etc.  I tried to change the
:> permissions of /etc/ld.so.conf by doing 'chmod a+w /etc/ld.so.conf', 
:> and it gives me:
:> 
:> chmod: changing permissions of '/etc/ld.so.conf':
:> Read-only file system
:> 
:> Any ideas?
:> 
:> -V
:> 
:> 
:> __________________________________________________
:> Do you Yahoo!?
:> Yahoo! Mail Plus - Powerful. Affordable. Sign up
:> now.
:> http://mailplus.yahoo.com
:> 
:> 
:> 
:> _______________________________________________
:> Valhalla-list mailing list
:> Valhalla-list redhat com
:>
:https://listman.redhat.com/mailman/listinfo/valhalla-list
:> 
:> 
:> 
:> _______________________________________________
:> Valhalla-list mailing list
:> Valhalla-list redhat com
:>
:https://listman.redhat.com/mailman/listinfo/valhalla-list
:
:
:__________________________________________________
:Do you Yahoo!?
:Yahoo! Mail Plus - Powerful. Affordable. Sign up now. 
http://mailplus.yahoo.com



_______________________________________________
Valhalla-list mailing list
Valhalla-list redhat com
https://listman.redhat.com/mailman/listinfo/valhalla-list





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]