![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| 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 !! |
|
|
||||
| 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 |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
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
|
||||
|
||||
|
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
|
||||
|
||||
|
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 |