do not display last log on - Unix

This is a discussion on do not display last log on - Unix ; how do I clear or prevent from displaying the last logon users with last?...

+ Reply to Thread
Results 1 to 5 of 5

Thread: do not display last log on

  1. do not display last log on

    how do I clear or prevent from displaying the last logon users with last?



  2. Re: do not display last log on

    On Sat, 10 Nov 2007 17:28:34 -0800, nobody wrote:
    > how do I clear or prevent from displaying the last logon users with last?


    A suggestion. Instead of asking how to do something unusual like this,
    tell us why you're asking, and what you've tried, and what you learned
    from it. The way you're going, it's starting (ahem) to look like you're
    not doing any homework yourself whatsoever before running to the group
    for help.


  3. Re: do not display last log on

    ok I cleared the last log, wtmp.* files, what else do i need to do?


    "Dave Hinz" wrote in message
    news:5pn6imFs4spgU1@mid.individual.net...
    > On Sat, 10 Nov 2007 17:28:34 -0800, nobody wrote:
    >> how do I clear or prevent from displaying the last logon users with last?

    >
    > A suggestion. Instead of asking how to do something unusual like this,
    > tell us why you're asking, and what you've tried, and what you learned
    > from it. The way you're going, it's starting (ahem) to look like you're
    > not doing any homework yourself whatsoever before running to the group
    > for help.
    >




  4. Re: do not display last log on

    In article ,
    "nobody" wrote:

    > "Dave Hinz" wrote in message
    > news:5pn6imFs4spgU1@mid.individual.net...
    > > On Sat, 10 Nov 2007 17:28:34 -0800, nobody wrote:
    > >> how do I clear or prevent from displaying the last logon users with last?

    > >
    > > A suggestion. Instead of asking how to do something unusual like this,
    > > tell us why you're asking, and what you've tried, and what you learned
    > > from it. The way you're going, it's starting (ahem) to look like you're
    > > not doing any homework yourself whatsoever before running to the group
    > > for help.

    > ok I cleared the last log, wtmp.* files, what else do i need to do?


    What about /var/log/wtmp (without .*)?

    Did you try reading the man page for last(1)? It tells you what file it
    reads.

    --
    Barry Margolin, barmar@alum.mit.edu
    Arlington, MA
    *** PLEASE post questions in newsgroups, not directly to me ***
    *** PLEASE don't copy me on replies, I'll read them in the group ***

  5. Re: do not display last log on

    On Sat, 10 Nov 2007 18:22:23 -0800, nobody wrote:
    > ok I cleared the last log, wtmp.* files, what else do i need to do?


    Stop top-posting, read the article "How to ask questions the smart way",
    and learn from it. A better question would have involved telling us why
    you think you want to do it in the first place, because whatever you're
    trying to accomplish has probably been figured out in an elegant way
    already, that you could benefit from more than just blowing away your
    logfiles.



+ Reply to Thread