* "spontaneous" permissions changes
@ 2009-08-26 21:08 Yuri Csapo
2009-08-26 21:56 ` Rick
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Yuri Csapo @ 2009-08-26 21:08 UTC (permalink / raw)
To: linux-admin
[-- Attachment #1: Type: text/plain, Size: 1984 bytes --]
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: ycsapo@mines.edu
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
[-- Attachment #2: ycsapo.vcf --]
[-- Type: text/x-vcard, Size: 200 bytes --]
begin:vcard
fn:Yuri Csapo
n:Csapo;Yuri
org:Colorado School of Mines;CCIT
email;internet:ycsapo@mines.edu
title:System Administrator
tel;work:(303) 273-3503
x-mozilla-html:FALSE
version:2.1
end:vcard
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: "spontaneous" permissions changes 2009-08-26 21:08 "spontaneous" permissions changes Yuri Csapo @ 2009-08-26 21:56 ` Rick 2009-08-27 20:22 ` Yuri Csapo 2009-08-27 8:45 ` Franck RICHARD [not found] ` <830324620908270522q5582262bsf59187357f269d23@mail.gmail.com> 2 siblings, 1 reply; 7+ messages in thread From: Rick @ 2009-08-26 21:56 UTC (permalink / raw) To: linux-admin In article <4A95A44A.50305@exchange.mines.edu>, Yuri Csapo <ycsapo@mines.edu> wrote: >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/ ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: "spontaneous" permissions changes 2009-08-26 21:56 ` Rick @ 2009-08-27 20:22 ` Yuri Csapo 0 siblings, 0 replies; 7+ messages in thread From: Yuri Csapo @ 2009-08-27 20:22 UTC (permalink / raw) To: Rick; +Cc: linux-admin@vger.kernel.org [-- Attachment #1: Type: text/plain, Size: 1220 bytes --] 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 Rick wrote: > In article <4A95A44A.50305@exchange.mines.edu>, > Yuri Csapo <ycsapo@mines.edu> wrote: > >> 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 majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- Yuri Csapo Academic Computing & Networking Colorado School of Mines CT-256 Phone: (303) 273-3503 Fax: (303) 273-3475 Email: ycsapo@mines.edu 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 [-- Attachment #2: ycsapo.vcf --] [-- Type: text/x-vcard, Size: 200 bytes --] begin:vcard fn:Yuri Csapo n:Csapo;Yuri org:Colorado School of Mines;CCIT email;internet:ycsapo@mines.edu title:System Administrator tel;work:(303) 273-3503 x-mozilla-html:FALSE version:2.1 end:vcard ^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: "spontaneous" permissions changes 2009-08-26 21:08 "spontaneous" permissions changes Yuri Csapo 2009-08-26 21:56 ` Rick @ 2009-08-27 8:45 ` Franck RICHARD 2009-08-27 20:25 ` Yuri Csapo [not found] ` <830324620908270522q5582262bsf59187357f269d23@mail.gmail.com> 2 siblings, 1 reply; 7+ messages in thread From: Franck RICHARD @ 2009-08-27 8:45 UTC (permalink / raw) To: ycsapo@mines.edu, linux-admin 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 : linux-admin-owner@vger.kernel.org [mailto:linux-admin-owner@vger.kernel.org] 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: ycsapo@mines.edu 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 majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: "spontaneous" permissions changes 2009-08-27 8:45 ` Franck RICHARD @ 2009-08-27 20:25 ` Yuri Csapo [not found] ` <fff5b0760908271401r3b32aacbne8d23f44871aa56a@mail.gmail.com> 0 siblings, 1 reply; 7+ messages in thread From: Yuri Csapo @ 2009-08-27 20:25 UTC (permalink / raw) To: Franck RICHARD; +Cc: Yuri Csapo, linux-admin [-- Attachment #1: Type: text/plain, Size: 3190 bytes --] 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 : linux-admin-owner@vger.kernel.org [mailto:linux-admin-owner@vger.kernel.org] 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: ycsapo@mines.edu > > 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: ycsapo@mines.edu 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 [-- Attachment #2: ycsapo.vcf --] [-- Type: text/x-vcard, Size: 200 bytes --] begin:vcard fn:Yuri Csapo n:Csapo;Yuri org:Colorado School of Mines;CCIT email;internet:ycsapo@mines.edu title:System Administrator tel;work:(303) 273-3503 x-mozilla-html:FALSE version:2.1 end:vcard ^ permalink raw reply [flat|nested] 7+ messages in thread
[parent not found: <fff5b0760908271401r3b32aacbne8d23f44871aa56a@mail.gmail.com>]
[parent not found: <78B73E114B5F754087DF95C2C6B640531A4EC45C79@MAILBOXCCR.monext.net>]
* Re: "spontaneous" permissions changes [not found] ` <78B73E114B5F754087DF95C2C6B640531A4EC45C79@MAILBOXCCR.monext.net> @ 2009-08-28 14:09 ` Yuri Csapo 0 siblings, 0 replies; 7+ messages in thread From: Yuri Csapo @ 2009-08-28 14:09 UTC (permalink / raw) To: Franck RICHARD; +Cc: Herta Van den Eynde, Yuri Csapo, linux-admin [-- Attachment #1: Type: text/plain, Size: 5067 bytes --] Franck, that's a very good point. I shall be asking VMware support about this. Thanks! Yuri Franck RICHARD wrote: > 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:herta.vandeneynde@gmail.com] > Envoyé : jeudi 27 août 2009 23:01 > À : ycsapo@mines.edu > 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 <ycsapo@exchange.mines.edu<mailto:ycsapo@exchange.mines.edu>> > 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 : linux-admin-owner@vger.kernel.org<mailto:linux-admin-owner@vger.kernel.org> [mailto:linux-admin-owner@vger.kernel.org<mailto:linux-admin-owner@vger.kernel.org>] 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: ycsapo@mines.edu<mailto:ycsapo@mines.edu> > > 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: ycsapo@mines.edu<mailto:ycsapo@mines.edu> > > 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." > -- Yuri Csapo Academic Computing & Networking Colorado School of Mines CT-256 Phone: (303) 273-3503 Fax: (303) 273-3475 Email: ycsapo@mines.edu 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 [-- Attachment #2: ycsapo.vcf --] [-- Type: text/x-vcard, Size: 200 bytes --] begin:vcard fn:Yuri Csapo n:Csapo;Yuri org:Colorado School of Mines;CCIT email;internet:ycsapo@mines.edu title:System Administrator tel;work:(303) 273-3503 x-mozilla-html:FALSE version:2.1 end:vcard ^ permalink raw reply [flat|nested] 7+ messages in thread
[parent not found: <830324620908270522q5582262bsf59187357f269d23@mail.gmail.com>]
* Re: "spontaneous" permissions changes [not found] ` <830324620908270522q5582262bsf59187357f269d23@mail.gmail.com> @ 2009-08-27 20:30 ` Yuri Csapo 0 siblings, 0 replies; 7+ messages in thread From: Yuri Csapo @ 2009-08-27 20:30 UTC (permalink / raw) To: Daniel A. Avelino; +Cc: Yuri Csapo, linux-admin [-- Attachment #1: Type: text/plain, Size: 3143 bytes --] 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 Daniel A. Avelino wrote: > 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 <ycsapo@exchange.mines.edu<mailto:ycsapo@exchange.mines.edu>> 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: ycsapo@mines.edu<mailto:ycsapo@mines.edu> > > 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: ycsapo@mines.edu 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 [-- Attachment #2: ycsapo.vcf --] [-- Type: text/x-vcard, Size: 200 bytes --] begin:vcard fn:Yuri Csapo n:Csapo;Yuri org:Colorado School of Mines;CCIT email;internet:ycsapo@mines.edu title:System Administrator tel;work:(303) 273-3503 x-mozilla-html:FALSE version:2.1 end:vcard ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2009-08-28 14:09 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-26 21:08 "spontaneous" permissions changes Yuri Csapo
2009-08-26 21:56 ` Rick
2009-08-27 20:22 ` Yuri Csapo
2009-08-27 8:45 ` Franck RICHARD
2009-08-27 20:25 ` Yuri Csapo
[not found] ` <fff5b0760908271401r3b32aacbne8d23f44871aa56a@mail.gmail.com>
[not found] ` <78B73E114B5F754087DF95C2C6B640531A4EC45C79@MAILBOXCCR.monext.net>
2009-08-28 14:09 ` Yuri Csapo
[not found] ` <830324620908270522q5582262bsf59187357f269d23@mail.gmail.com>
2009-08-27 20:30 ` Yuri Csapo
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).