The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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
Mail going to /var/spool/mqueue instead of being sent xadamz23 UNIX for Advanced & Expert Users 9 06-02-2009 05:39 PM
Can I zero var/spool/mail/mail dennisheazle UNIX for Dummies Questions & Answers 0 05-06-2008 03:26 AM
Can I delete the file var/spool/mail/news? dennisheazle UNIX for Dummies Questions & Answers 3 04-08-2008 11:12 PM
How safe is it to remove files(/var/spool/mail)? larcom61 UNIX for Dummies Questions & Answers 2 12-02-2005 01:48 AM
bellmail: lockf(/usr/spool/mail/uucp): permission denied Docboyeee UNIX for Advanced & Expert Users 1 03-17-2003 02:15 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 11-08-2002
yls177
Guest
  
 

Posts: n/a
Bits: 0 [Banking]
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
  #2 (permalink)  
Old 11-08-2002
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,111
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 (permalink)  
Old 11-08-2002
RTM's Avatar
RTM RTM is offline Forum Advisor  
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).
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 11:24 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0