LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 04-03-2006, 04:57 AM   #1
dominant
Member
 
Registered: Jan 2004
Posts: 409

Rep: Reputation: 30
disabling user's log session


Hello.

I want to log in as root and disable all loggings for my session.

I want nothing to be written to ~/.bash_history
 
Old 04-03-2006, 05:22 AM   #2
cyber-worx
Member
 
Registered: May 2004
Location: England / Switzerland
Distribution: Gentoo, Ubuntu, Debian, Slackware
Posts: 138

Rep: Reputation: 15
when you have finished your rampage type:
Code:
unset HISTFILE
of course the time and date that you logged in/out will be recorded, but not what you did

Regards
-Rob
 
  


Reply



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
log on not reading user's .bashrc jkcunningham Linux - General 8 05-15-2010 06:49 PM
Log all commands used in a Session....how? vous Linux - Security 2 03-20-2005 05:32 AM
Session closed when log on desktop debian_dummy Debian 3 10-15-2004 08:02 AM
Uber Noob: how do you log out of an X Session Mytherall Linux - Newbie 2 02-22-2004 04:00 PM
Apache Session Log? abelsgmx Linux - Networking 4 06-11-2002 03:44 PM

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

All times are GMT -5. The time now is 01:50 PM.

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