Quota - delete Single Entry
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160 Hello dudes, After googling for 1 hour i question myself if anybody ever had that problem ( i found one guy in a forum but he didn't get an answer). Adding quota information to the quota table isn't a problem (E.G. quotatool -u 1500 -b -l 1500MB /srv ) BUT if i delete user 1500 (userdel) the quota information still remains in the quota table commented out: #1500 Is there a way to delete the quota information for a user after having deleted a user? King Regards Christian -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREDAAYFAkhS3lAACgkQLMVLOR388SNUhgCbBVCBPYSaU1 IJAU0TO75DBZr+ RJgAnRqdYiGs/sGpgBkPq8dxGUNDPvDI =MaEV -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
Quota - delete Single Entry
On Fri June 13 2008 13:53:37 URNIL FGBEZ wrote:
> Hello dudes, > After googling for 1 hour i question myself if anybody ever had that > problem ( i found one guy in a forum but he didn't get an answer). > Adding quota information to the quota table isn't a problem > (E.G. quotatool -u 1500 -b -l 1500MB /srv ) > > BUT if i delete user 1500 (userdel) the quota information still remains > in the quota table commented out: #1500 > > > Is there a way to delete the quota information for a user after having > deleted a user? That usually means there are still files owned by that userid. Try "find /path/to/quota/filesystem -xdev -user 1500". Remove or change owner of any user-1500 files that are found. --Mike Bird -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
Quota - delete Single Entry
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160 Thanks for your answer. There is no possible way that there are still files owned by that user because i use the following way to delete that account: 1. userdel 1500 2. rm -rf /srv/HOMEDIR King Regards Christian Czeczil - ---- That usually means there are still files owned by that userid. Try "find /path/to/quota/filesystem -xdev -user 1500". Remove or change owner of any user-1500 files that are found. - --Mike Bird - ---- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREDAAYFAkhTGeMACgkQLMVLOR388SPNQwCffjhvXg/iIYuXKEfpo2V6A5OH 4PsAn15LXhAHNIKIC/QruiDnVOuB18Fr =TK07 -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
Quota - delete Single Entry
On Fri June 13 2008 18:07:47 URNIL FGBEZ wrote:
> There is no possible way that there are still files owned by that user > because i use the following way to delete that account: > 1. userdel 1500 > 2. rm -rf /srv/HOMEDIR Please don't top post. What did "find" show you? There may be temp files, mail files (since you didn't use "userdel -r") and even deleted files. Iff "find" shows no files belonging to user 1500, the quota accounting may be off. Use quotacheck to fix it, preferable when the system is idle. --Mike Bird -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
Quota - delete Single Entry
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160 Mike Bird wrote: > On Fri June 13 2008 18:07:47 URNIL FGBEZ wrote: >> There is no possible way that there are still files owned by that user >> because i use the following way to delete that account: >> 1. userdel 1500 >> 2. rm -rf /srv/HOMEDIR > > Please don't top post. > > What did "find" show you? There may be temp files, mail files > (since you didn't use "userdel -r") and even deleted files. > > Iff "find" shows no files belonging to user 1500, the > quota accounting may be off. Use quotacheck to fix it, > preferable when the system is idle. > > --Mike Bird > > Problem solved - thanks again for your help, next time i should look into the man pages of userdel. userdel -r does the magic i need :) Kind Regards -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREDAAYFAkhTtW8ACgkQLMVLOR388SP/gQCdHx4J07k8mgOrtAD7FiP3yn3G SrsAoKvD1yBzhVwLFXU+y2/EoH8PhvoQ =X5XY -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
| All times are GMT. The time now is 07:32 PM. |
VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.