The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Can I zero var/spool/mail/mail dennisheazle UNIX for Dummies Questions & Answers 0 05-06-2008 12:26 AM
Can I delete the file var/spool/mail/news? dennisheazle UNIX for Dummies Questions & Answers 3 04-08-2008 08:12 PM
How safe is it to remove files(/var/spool/mail)? larcom61 UNIX for Dummies Questions & Answers 2 12-01-2005 10:48 PM
Mail going to /var/spool/mqueue instead of being sent xadamz23 UNIX for Advanced & Expert Users 4 10-21-2005 06:41 PM
bellmail: lockf(/usr/spool/mail/uucp): permission denied Docboyeee UNIX for Advanced & Expert Users 1 03-17-2003 11:15 AM

Closed Thread
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 11-08-2002
yls177
Guest
 

Posts: n/a
in var/spool/mail, same entry with different users....

i am on aix,
in the /var/spool/mail ,i have an entry as below, after doing a ls -ltr

-rw-rw---- 1 ai mail 3898 Sep 02 11:26 mei
-rw-rw---- 1 root mail 22900 Nov 08 14:55 root

shouldnt the ai and mei be the same just like root, root?

thanks
Forum Sponsor
  #2  
Old 11-08-2002
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,654
Grep ai and mei from /etc/passwd. Do they have different uid's? If not, then when you do "chown mei somefile" and "ls -l somefile", you will see ai as the owner if ai is first in /etc/passwd.
  #3  
Old 11-08-2002
RTM's Avatar
RTM RTM is offline
Hog Hunter
 
Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
This can also happen if you had a user mei who left the company and the file for mail was not deleted. Then a user called ai is created with the same uid as what mei had. Then it looks as if ai owns any files mei owned before.

Normally seen on home directories at my site since home directories are not deleted when a person leaves (just in case the department needs it for some reason).
Google The UNIX and Linux Forums
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 01:02 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0