Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 04-21-2010, 09:49 PM   #1
LQ Newbie
Registered: Apr 2010
Posts: 16

Rep: Reputation: 0
User passwords display in log file in clear text

Running SunGard Banner software on RHEL 4.2 x86-32 bit Linux server Oracle Application samba enabled. Users run processes/reports that are logged in a daily log file. In our daily job submission log files the user password shows up as clear text. The password shows up as $PSWD (sample from the logfile):


+ rcrtp11.shl

And password shows up as value [3] here:
BASH_ARGV=([0]="LANDSCAPE" [1]="default" [2]="1215583" [3]="password" [4]="mpickrel" [5]="P" [6]="rnein11")

I noticed that the Linux smb.conf file has this value:
encrypted passwords = No

Would changing this value to True keep these passwords from showing up in the logs as clear text? Some programmers have access to these logs to assist users and troubleshoot problems. I donít like that but right now it is the way things are. Any other way to remove or hide these passwords as the logs are created?

Thank you
Curt Swartzlander
Northwest Arkansas Community College
Bentonville, AR
Old 04-21-2010, 11:02 PM   #2
LQ Guru
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
You simply need to change the way you mount your Samba directory.

// /home/myhome/music smbfs auto,credentials=/root/.credentials,uid=1000,umask=000,user 0 0
Create the "credentials" file like this:
sudo gedit /root/.credentials
Here's more info:

'Hope that helps .. PSM

Last edited by paulsm4; 04-21-2010 at 11:08 PM.


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
[SOLVED] SSH and clear text passwords mattydee Slackware 12 08-22-2012 11:01 AM
LXer: Pidgin stores passwords in clear text!!!! LXer Syndicated Linux News 0 09-27-2009 09:11 PM
Passwords sent in clear text? Synesthesia Linux - Security 4 08-19-2006 11:35 AM
Eays way to clear a log file? extremebfn Linux - General 2 01-16-2005 05:05 AM
can not clear log file messages mitch_lin Red Hat 2 04-25-2004 09:19 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:52 AM.

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