- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- /home increases whenever user logins
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2005 07:14 AM
06-13-2005 07:14 AM
My /home directory is 100% full and I found out that whenever I login, logout and login again to the Unix system, my /home directory will increases a bit.
Is there a log file where it will record the users login? Where is it located at? Could I delete or disable that log file?
Appreciate any advice. Thank you!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2005 09:09 AM
06-13-2005 09:09 AM
Re: /home increases whenever user logins
df /home
To narrow it down, run du, then login/logout/login again then run du again. compare the du output to see what's increased.
du -sk ~/* |sort -n
Also, is this a gradual increase over time or a significant increase?
-denver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2005 10:03 AM
06-13-2005 10:03 AM
Re: /home increases whenever user logins
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2005 10:43 AM
06-13-2005 10:43 AM
Re: /home increases whenever user logins
A login will spawn off a number (about 3-4) messages via Syslog (which would normally be logged to /var/log), and an entry in the 'utmp' (which is usually in /var/run).
If you're getting a sudden increase whenever a user logs in, you'll need to walk through all of '/etc/profile', '/etc/bashrc' and the users '~/.bash_login'.
There will be some erroneous line in there which is causing a space loss.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2005 12:28 AM
06-14-2005 12:28 AM
Re: /home increases whenever user logins
do you have any mailbox on your home director ?
If you are receiving mails and you are not deleting it, your mailbox will increase.
regards,
xyko
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2005 12:52 AM
06-14-2005 12:52 AM
Re: /home increases whenever user logins
I will check the things you suggested.
Thank you very much for your help!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2005 06:07 AM
06-14-2005 06:07 AM
SolutionTry the following commands: last and lastb. The difference between last and lastb is that last command displays all users logged into a system along with their current ttys and lastb only displays all bad login attempts provided that the /var/log/btmp file exists.
If you don't find anything else you might want to try to check for root kits. It is possible that might have a compromised system. See http://www.chkrootkit.org
Also if you have tripwire installed and configured now is the time to use it.
-Ross
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2005 05:47 PM
06-14-2005 05:47 PM
Re: /home increases whenever user logins
check the partition on which /home resides, if it contains few other directories also (eg: /var/log) then increase in them will reflect the hard disk remaining size
only .bash_history is appended automatically when a user logs in and logs out, other files getting bigger could be based on custom applications running in .profile file in user home directory
Regards,
Gopi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2005 06:28 PM
06-14-2005 06:28 PM
Re: /home increases whenever user logins
By default, only keystrokes get written to the home directory. If however you are using this sever to replace a windows PDC, you may have lots of things being written to the home directory.
I'd say, tell us what files are created or increase when you log in. Then I can give you a judgement as to whats going on.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com