Skip to contentSkip to conversation

"spontaneous" permissions changes

DISCUSSION Yuri Csapo 3 participants 7 messages Aug 26, 2009 – Aug 28, 2009 3 messages not in the archive

lore
Share & tools
lore

Yuri Csapo

author
#0 lore raw

Hi all, I have a strange situation I wish someone could help me with. This is the setup:

- Virtual machine running the latest VM under ESXi
- VM has one processor, 2 GB RAM, 1 GB swap
- Ubuntu 8.04 LTS
- The virtual host runs only this VM
- Virtual host connects to a Lefthand Networks (now HP) SAN through 1 GB copper ethernet and iSCSI
- VM has a 1 TB volume from the SAN that looks like a SCSI drive to Linux (/dev/sdc)
- sdc is formatted as one big ext3 partition (sdc1)
- sdc1 is exported both as an NFS resource and a SMB share (via Samba)
- Authentication is Kerberos and authorization is local, if that matters

The permissions on that partition's mount point, usually 755, changed suddenly to 400. I have looked at sudo logs, root's and all admins' history files and I can find no evidence of someone changing those permissions or of tampering with the logs.

Physical access to the box requires the right keycard; logon (ssh) access to the box is restricted to sysadmins and support personel only; the root password is a 32 char long random string that lives in an encrypted repository on my iPod Touch. There are only 2 people, myself included, with full sudo rights; there are another 5 people with sudo rights to a number of administration things including chmod.

This is a state university and it happened on the first day of classes.

My questions:

- Did I look everywhere I should be looking to find evidence of foul play?
- Does anyone know of anything in this setup that could trigger a seemingly spontaneous permissions change like that?

Thanks,

Signature · 15 lines
Yuri Csapo
Academic Computing & Networking
Colorado School of Mines
CT-256
Phone:  (303) 273-3503
Fax:      (303) 273-3475
Email:   [email protected]

Please use the following link to open a service request:
http://helpdesk.mines.edu
===========================================
With a PC, I always felt limited
by the software available.
On Unix, I am limited only by my knowledge.
--Peter J. Schoenster

begin:vcard
fn:Yuri Csapo
n:Csapo;Yuri
org:Colorado School of Mines;CCIT email;internet:[email protected] title:System Administrator tel;work:(303) 273-3503 x-mozilla-html:FALSE version:2.1
end:vcard

#1 lore raw

In article <[email protected]>,

Quoted 3 lines · Yuri Csapo

The permissions on that partition's mount point, usually 755, changed suddenly to 400. I have looked at sudo logs, root's and all admins' history files and I can find no evidence of someone changing those permissions or of tampering with the logs.

Installed any RPMs lately?

--
http://www.spinics.net/lists/linux-admin/

author
#2 lore raw

Rick, thanks, that's a good suggestion; but no, I haven't installed anything lately - especially not any RPMs, since this is a Ubuntu system ;-)

--Yuri

Quoted 15 lines · Rick

In article <[email protected]>,

Quoted 1 line · Yuri Csapo

The permissions on that partition's mount point, usually 755, changed suddenly to 400. I have looked at sudo logs, root's and all admins' history files and I can find no evidence of someone changing those permissions or of tampering with the logs.

Installed any RPMs lately?

--
http://www.spinics.net/lists/linux-admin/

--
To unsubscribe from this list: send the line "unsubscribe linux-admin" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 15 lines
Yuri Csapo
Academic Computing & Networking
Colorado School of Mines
CT-256
Phone:  (303) 273-3503
Fax:      (303) 273-3475
Email:   [email protected]

Please use the following link to open a service request:
http://helpdesk.mines.edu
===========================================
With a PC, I always felt limited
by the software available.
On Unix, I am limited only by my knowledge.
--Peter J. Schoenster

begin:vcard
fn:Yuri Csapo
n:Csapo;Yuri
org:Colorado School of Mines;CCIT email;internet:[email protected] title:System Administrator tel;work:(303) 273-3503 x-mozilla-html:FALSE version:2.1
end:vcard

#3 lore raw
In reply to Yuri Csapo

If the permission change to 400 (read only), it's a security when the filesystem is corrupted, to protect it.

Do a check of your Filesystem, (umount, e2fsck, mount).

Maybe you can find something...

-----Message d'origine-----
De : [email protected] [mailto:[email protected]] De la part de Yuri Csapo Envoyé : mercredi 26 août 2009 23:08
À : linux-admin
Objet : "spontaneous" permissions changes

Hi all, I have a strange situation I wish someone could help me with. This is the setup:

- Virtual machine running the latest VM under ESXi
- VM has one processor, 2 GB RAM, 1 GB swap
- Ubuntu 8.04 LTS
- The virtual host runs only this VM
- Virtual host connects to a Lefthand Networks (now HP) SAN through 1 GB copper ethernet and iSCSI
- VM has a 1 TB volume from the SAN that looks like a SCSI drive to Linux (/dev/sdc)
- sdc is formatted as one big ext3 partition (sdc1)
- sdc1 is exported both as an NFS resource and a SMB share (via Samba)
- Authentication is Kerberos and authorization is local, if that matters

The permissions on that partition's mount point, usually 755, changed suddenly to 400. I have looked at sudo logs, root's and all admins' history files and I can find no evidence of someone changing those permissions or of tampering with the logs.

Physical access to the box requires the right keycard; logon (ssh) access to the box is restricted to sysadmins and support personel only; the root password is a 32 char long random string that lives in an encrypted repository on my iPod Touch. There are only 2 people, myself included, with full sudo rights; there are another 5 people with sudo rights to a number of administration things including chmod.

This is a state university and it happened on the first day of classes.

My questions:

- Did I look everywhere I should be looking to find evidence of foul play?
- Does anyone know of anything in this setup that could trigger a seemingly spontaneous permissions change like that?

Thanks,

--
Yuri Csapo
Academic Computing & Networking
Colorado School of Mines
CT-256

Phone:  (303) 273-3503
Fax:      (303) 273-3475
Email:   [email protected]

Please use the following link to open a service request:
http://helpdesk.mines.edu
===========================================
With a PC, I always felt limited
by the software available.
On Unix, I am limited only by my knowledge.
--Peter J. Schoenster
--
To unsubscribe from this list: send the line "unsubscribe linux-admin" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

author
#4 lore raw

Franck, that's a very good idea - I'll certainly check as soon as I can. Unfortunately I just can't umount right now. Maybe this weekend.

Thanks

--Yuri

Quoted 56 lines · Franck RICHARD

If the permission change to 400 (read only), it's a security when the filesystem is corrupted, to protect it.

Do a check of your Filesystem, (umount, e2fsck, mount).

Maybe you can find something...

-----Message d'origine-----
De : [email protected] [mailto:[email protected]] De la part de Yuri Csapo Envoyé : mercredi 26 août 2009 23:08
À : linux-admin
Objet : "spontaneous" permissions changes

Hi all, I have a strange situation I wish someone could help me with. This is the setup:

- Virtual machine running the latest VM under ESXi
- VM has one processor, 2 GB RAM, 1 GB swap
- Ubuntu 8.04 LTS
- The virtual host runs only this VM
- Virtual host connects to a Lefthand Networks (now HP) SAN through 1 GB copper ethernet and iSCSI
- VM has a 1 TB volume from the SAN that looks like a SCSI drive to Linux (/dev/sdc)
- sdc is formatted as one big ext3 partition (sdc1)
- sdc1 is exported both as an NFS resource and a SMB share (via Samba)
- Authentication is Kerberos and authorization is local, if that matters

The permissions on that partition's mount point, usually 755, changed suddenly to 400. I have looked at sudo logs, root's and all admins' history files and I can find no evidence of someone changing those permissions or of tampering with the logs.

Physical access to the box requires the right keycard; logon (ssh) access to the box is restricted to sysadmins and support personel only; the root password is a 32 char long random string that lives in an encrypted repository on my iPod Touch. There are only 2 people, myself included, with full sudo rights; there are another 5 people with sudo rights to a number of administration things including chmod.

This is a state university and it happened on the first day of classes.

My questions:

- Did I look everywhere I should be looking to find evidence of foul play?
- Does anyone know of anything in this setup that could trigger a seemingly spontaneous permissions change like that?

Thanks,

--
Yuri Csapo
Academic Computing & Networking
Colorado School of Mines
CT-256

Phone:  (303) 273-3503
Fax:      (303) 273-3475
Email:   [email protected]

Please use the following link to open a service request:
http://helpdesk.mines.edu
===========================================
With a PC, I always felt limited
by the software available.
On Unix, I am limited only by my knowledge. --Peter J. Schoenster

Signature · 15 lines
Yuri Csapo
Academic Computing & Networking
Colorado School of Mines
CT-256
Phone:  (303) 273-3503
Fax:      (303) 273-3475
Email:   [email protected]

Please use the following link to open a service request:
http://helpdesk.mines.edu
===========================================
With a PC, I always felt limited
by the software available.
On Unix, I am limited only by my knowledge.
--Peter J. Schoenster

begin:vcard
fn:Yuri Csapo
n:Csapo;Yuri
org:Colorado School of Mines;CCIT email;internet:[email protected] title:System Administrator tel;work:(303) 273-3503 x-mozilla-html:FALSE version:2.1
end:vcard

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

author
#7 lore raw

Franck, that's a very good point. I shall be asking VMware support about this.

Thanks!

Yuri

Quoted 114 lines · Franck RICHARD

Hi,

When you work with virtual systems, when you have the filesystem of your virtual machine corrupted, maybe you have only errors on the syslog of your Host and not on your virtual machine…

The kernel of the virtual machine detect that she doesn't have anymore a write permission on the disk and switch the permissions…

I'm not sure, but I have a similar case in the past with Xen

De : Herta Van den Eynde [mailto:[email protected]] Envoyé : jeudi 27 août 2009 23:01
À : [email protected]
Cc : Franck RICHARD; linux-admin
Objet : Re: "spontaneous" permissions changes

Hi Franck,

That sounds like a plausible theory, but I've had my share of filesystem corruptions, and they always logged errors in syslog. Does your mileage vary?

Also, if this were a filesystem corruption, could Yuri have worked passed it without a filesystem check?

Kind regards,

Herta
2009/8/27 Yuri Csapo <[email protected]<mailto:[email protected]>>
Franck, that's a very good idea - I'll certainly check as soon as I can. Unfortunately I just can't umount right now. Maybe this weekend.

Thanks

--Yuri

Franck RICHARD wrote:
If the permission change to 400 (read only), it's a security when the filesystem is corrupted, to protect it.

Do a check of your Filesystem, (umount, e2fsck, mount).

Maybe you can find something...

-----Message d'origine-----
De : [email protected]<mailto:[email protected]> [mailto:[email protected]<mailto:[email protected]>] De la part de Yuri Csapo Envoyé : mercredi 26 août 2009 23:08
À : linux-admin
Objet : "spontaneous" permissions changes

Hi all, I have a strange situation I wish someone could help me with. This is the setup:

- Virtual machine running the latest VM under ESXi
- VM has one processor, 2 GB RAM, 1 GB swap
- Ubuntu 8.04 LTS
- The virtual host runs only this VM
- Virtual host connects to a Lefthand Networks (now HP) SAN through 1 GB copper ethernet and iSCSI
- VM has a 1 TB volume from the SAN that looks like a SCSI drive to Linux (/dev/sdc)
- sdc is formatted as one big ext3 partition (sdc1)
- sdc1 is exported both as an NFS resource and a SMB share (via Samba)
- Authentication is Kerberos and authorization is local, if that matters

The permissions on that partition's mount point, usually 755, changed suddenly to 400. I have looked at sudo logs, root's and all admins' history files and I can find no evidence of someone changing those permissions or of tampering with the logs.

Physical access to the box requires the right keycard; logon (ssh) access to the box is restricted to sysadmins and support personel only; the root password is a 32 char long random string that lives in an encrypted repository on my iPod Touch. There are only 2 people, myself included, with full sudo rights; there are another 5 people with sudo rights to a number of administration things including chmod.

This is a state university and it happened on the first day of classes.

My questions:

- Did I look everywhere I should be looking to find evidence of foul play?
- Does anyone know of anything in this setup that could trigger a seemingly spontaneous permissions change like that?

Thanks,

--
Yuri Csapo
Academic Computing & Networking
Colorado School of Mines
CT-256

Phone:  (303) 273-3503
Fax:      (303) 273-3475
Email:   [email protected]<mailto:[email protected]>

Please use the following link to open a service request:
http://helpdesk.mines.edu
===========================================
With a PC, I always felt limited
by the software available.
On Unix, I am limited only by my knowledge. --Peter J. Schoenster

--
Yuri Csapo
Academic Computing & Networking
Colorado School of Mines
CT-256

Phone:  (303) 273-3503
Fax:      (303) 273-3475
Email:   [email protected]<mailto:[email protected]>

Please use the following link to open a service request:
http://helpdesk.mines.edu
===========================================
With a PC, I always felt limited
by the software available.
On Unix, I am limited only by my knowledge. --Peter J. Schoenster

--
"Life on Earth may be expensive,
but it comes with a free ride around the Sun."

Signature · 15 lines
Yuri Csapo
Academic Computing & Networking
Colorado School of Mines
CT-256
Phone:  (303) 273-3503
Fax:      (303) 273-3475
Email:   [email protected]

Please use the following link to open a service request:
http://helpdesk.mines.edu
===========================================
With a PC, I always felt limited
by the software available.
On Unix, I am limited only by my knowledge.
--Peter J. Schoenster

begin:vcard
fn:Yuri Csapo
n:Csapo;Yuri
org:Colorado School of Mines;CCIT email;internet:[email protected] title:System Administrator tel;work:(303) 273-3503 x-mozilla-html:FALSE version:2.1
end:vcard

A message that is not in the archive (sent off-list or not yet received): [email protected]

author
#9 lore raw

Daniel,

Thank you for your reply. Unfortunately regulations don't allow me to divulge configuration files. What specifically were you looking for in /etc/fstab?

I will be performing the tests you suggest soon; I can't do them right now because the box is under heavy use. Maybe this weekend.

Thanks again!

--Yuri

Quoted 50 lines · Daniel A. Avelino

Yuri,

could you show us your /etc/fstab file?
Could you perform some tests, like mount this partition, list permissions so umount the partition and list permissions again?

On Wed, Aug 26, 2009 at 6:08 PM, Yuri Csapo <[email protected]<mailto:[email protected]>> wrote:
Hi all, I have a strange situation I wish someone could help me with. This is the setup:

- Virtual machine running the latest VM under ESXi
- VM has one processor, 2 GB RAM, 1 GB swap
- Ubuntu 8.04 LTS
- The virtual host runs only this VM
- Virtual host connects to a Lefthand Networks (now HP) SAN through 1 GB copper ethernet and iSCSI
- VM has a 1 TB volume from the SAN that looks like a SCSI drive to Linux (/dev/sdc)
- sdc is formatted as one big ext3 partition (sdc1)
- sdc1 is exported both as an NFS resource and a SMB share (via Samba)
- Authentication is Kerberos and authorization is local, if that matters

The permissions on that partition's mount point, usually 755, changed suddenly to 400. I have looked at sudo logs, root's and all admins' history files and I can find no evidence of someone changing those permissions or of tampering with the logs.

Physical access to the box requires the right keycard; logon (ssh) access to the box is restricted to sysadmins and support personel only; the root password is a 32 char long random string that lives in an encrypted repository on my iPod Touch. There are only 2 people, myself included, with full sudo rights; there are another 5 people with sudo rights to a number of administration things including chmod.

This is a state university and it happened on the first day of classes.

My questions:

- Did I look everywhere I should be looking to find evidence of foul play?
- Does anyone know of anything in this setup that could trigger a seemingly spontaneous permissions change like that?

Thanks,

--
Yuri Csapo
Academic Computing & Networking
Colorado School of Mines
CT-256

Phone:  (303) 273-3503
Fax:      (303) 273-3475
Email:   [email protected]<mailto:[email protected]>

Please use the following link to open a service request:
http://helpdesk.mines.edu
===========================================
With a PC, I always felt limited
by the software available.
On Unix, I am limited only by my knowledge. --Peter J. Schoenster

Signature · 15 lines
Yuri Csapo
Academic Computing & Networking
Colorado School of Mines
CT-256
Phone:  (303) 273-3503
Fax:      (303) 273-3475
Email:   [email protected]

Please use the following link to open a service request:
http://helpdesk.mines.edu
===========================================
With a PC, I always felt limited
by the software available.
On Unix, I am limited only by my knowledge.
--Peter J. Schoenster

begin:vcard
fn:Yuri Csapo
n:Csapo;Yuri
org:Colorado School of Mines;CCIT email;internet:[email protected] title:System Administrator tel;work:(303) 273-3503 x-mozilla-html:FALSE version:2.1
end:vcard