LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-04-2016, 08:51 AM   #1
GNU_chandrakant
LQ Newbie
 
Registered: Dec 2013
Location: Navi Mumbai
Posts: 1

Rep: Reputation: Disabled
How to Change the records from /var/log/wtmp file ??


Hi Guys,

I want to change some records of the /var/log/wtmp file.
if any one know please revert.


Thanks in Advance.

Regards,
Chandrakant Niromkar
 
Old 09-04-2016, 09:03 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by GNU_chandrakant View Post
I want to change some records of the /var/log/wtmp file.
Well Chandrakant Niromkar, shouldn't you first tell us your compelling reasons why you would want to fsck up user login records? Do note such a request will be frowned upon in about any environment because it amounts to deliberately corrupting the audit trail.
 
1 members found this post helpful.
Old 09-05-2016, 09:03 AM   #3
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
Quote:
Originally Posted by GNU_chandrakant View Post
Hi Guys,

I want to change some records of the /var/log/wtmp file.
if any one know please revert.


Thanks in Advance.

Regards,
Chandrakant Niromkar
Google is your friend. All you have to do is search "updating wtmp files". The first entry gives you references to the various library functions that handle the wtmp file in the "suggested readings".

http://www.cyberciti.biz/tips/linux-...ords-file.html

Last edited by jpollard; 09-05-2016 at 09:05 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to make /var/log/wtmp file persistance. jaishiv5 Linux - Newbie 5 08-16-2013 01:49 AM
/var/log/wtmp mrant Linux - Security 4 07-14-2013 08:41 PM
/var/log/wtmp vs. /var/run/utmp masenko703 Linux - Newbie 4 10-05-2012 03:41 AM
/var/log/wtmp ??? fatrandy13 Linux - Software 3 12-13-2004 09:07 AM
/var/log/wtmp praveenv Linux - Newbie 5 08-23-2004 02:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration