Sponsored Content
Top Forums Shell Programming and Scripting How to store the passwords securely and use in scripts? Post 303034030 by Neo on Tuesday 16th of April 2019 11:44:28 PM
Old 04-17-2019
Ravinder,

Please do not delete "wrong answers or mistakes" which people have replied to.

Everyone makes mistakes.

However, deleting posts which two people have replied is not really correct and is a "bigger mistake", in my view.

Just accept that you learned something and moved on; but I do recommend caution when you have strong opinions based on theory that do not match practical 'the way things are'... we all make mistakes. That's what makes life fun and interesting,

Plus, others can learn for your mistake, so please see it as a way to help others learn, thanks!
This User Gave Thanks to Neo For This Post:
 

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to pass passwords to bash scripts?

I'm finding the following command very tedious to type in all the time, so I created a one line bash script called mount.bash with the following contents: mount -t cifs //mark/C\$ -o unc=//mark\\C$,ip=10.1.1.33,user=Administrator,password=$1 /mnt/mark I don't like the fact that I have to put... (5 Replies)
Discussion started by: siegfried
5 Replies

2. Shell Programming and Scripting

Checking passwords - scripts

Hi Unix experts.... I am in the process checking user and root password of more than 1000 servers manulay. I am very pissed of checking these many servers manualy. Could some one of you help me how can i check the passwords just by runing some scripts..! Need Help Guys..! :confused: (5 Replies)
Discussion started by: bullz26
5 Replies

3. Solaris

installing solaris securely

Ok, I am trying to install solaris, but I would like as a lean installation as possible (while still having a shread of functionality). If I chose the minimal install I have little if no utilities to do work on the box. My question is what installation method do most admins take? ... (7 Replies)
Discussion started by: liven
7 Replies

4. Shell Programming and Scripting

Oracle Passwords in Unix scripts

Hi Most of the shell scripts I am dealing with have to connect to oracle database . The username password is stored in a environment file which sets the variables for username and password . Set user id do not work on AIX so users who will execute these scripts need to have read or execute... (5 Replies)
Discussion started by: clifford
5 Replies

5. Shell Programming and Scripting

SSH - Passing Unix login passwords through shell scripts

Hi All , I need to call a script runscript_B.sh on server A, the runscript_B.sh script locating in server B. The runscript_B.sh in calls another script runscript_A on server A itself. it seend, i need to be connect from Server A to Server B using ssh. I have tryed like this in... (3 Replies)
Discussion started by: koti_rama
3 Replies

6. UNIX for Advanced & Expert Users

When did UNIX start using encrypted passwords, and not displaying passwords when you type them in?

I've been using various versions of UNIX and Linux since 1993, and I've never run across one that showed your password as you type it in when you log in, or one that stored passwords in plain text rather than encrypted. I'm writing a script for work for a security audit, and two of the... (5 Replies)
Discussion started by: Anne Neville
5 Replies

7. AIX

When did AIX start using /etc/security/passwd instead of /etc/passwd to store encrypted passwords?

Does anyone know when AIX started using /etc/security/passwd instead of /etc/passwd to store encrypted passwords? (1 Reply)
Discussion started by: Anne Neville
1 Replies

8. UNIX for Advanced & Expert Users

Store passwords , accounts, IPs, hostnames

Hi, this question is not specially unix related, but I expect advanced and expert unix users to have a solution for this, and I've found no other subforum that fits ;) what do you use to store accounts, customer ids, ip addresses, users and specially passwords, to access them from... (6 Replies)
Discussion started by: funksen
6 Replies
gtranslator(1)							  GNOME programs						    gtranslator(1)

NAME
gtranslator -- a comfortable gettext po file editor with many bells and whistles. SYNOPSIS
gtranslator [ --help ] [ --version ] [ -a filename ] [ -e po-file ] [ -g geometry-string ] [ -l po-file-to-learn ] [ -b ] [ -s ] DESCRIPTION
gtranslator is a comfortable gettext po file editor with many features like special char featured editing, plural forms view, div. charset support, comfortable prefs, list view of messages, regular expression based search function, compile/update possiblities and much much more. Of course all standard features of a good application like DnD, session support, supplement files for mime types and menu items are present. Instant comment view, a comfortable quick navigation messages table with customizable colors, colorschemes, UTF-8 support, a high level of preferizabilation and a personal learn buffer/translation memory with autotranslation capabilities are the main features of gtranslator besides the comfortable editing of the translation entries. OPTIONS
-a --auto-translate=po-file Autotranslates the given po file with the entries from the learn buffer and exits afterwards. -e --export-learn-buffer=po-file-to-export Exports the learn buffer contents into the given plain gettext po file and exits. -g --geometry=geometry Let's you specify the geometry of gtranslator's main window. -l --learn=po-file-to-learn Learns the given po file within the command line without starting the GUI. The personal learn buffer is used as a translation memory to autoaccomplish missing translations/entries. -s --learn-statistics Print out some statistics and information about the learn buffer of gtranslator on the commandline. --display With this option you can select on which screen gtranslator should appear. --help Shows you a little help autogenerated by GNOME and with the options mentioned above. --version Prints out the version number of gtranslator. --usage Shows you the pill of options without an explanation. FILES
~/.gconf/apps/gtranslator Your personal gtranslator settings will be stored there. ~/.gtranslator This directory is used by gtranslator for all it's "private" files (e.g. temporary files). ~/.gtranslator/colorschemes/ Your personal colorschemes can be placed in this directory -- gtranslator does also list the colorschemes in this directory in the colorscheme selection box. ~/.gtranslator/etstates/ The state file for the messages table/tree is stored in this directory. ~/.gtranslator/umtf/ Your personal learn buffers (in UMTF format) are stored in this directory -- the learn buffer is used for auto translation issues. ~/.gtranslator/files/ Temporary files used by gtranslator are stored in this directory (mostly this directory should be empty). LEARN BUFFER
The learn buffer is the implementation of a personal translation memory (TM) in gtranslator. gtranslator uses the UMTF (a compressed XML file which is normally quite good human readable if uncompressed) format for storing it's learned strings. Your learned strings are then available for the autotranslation feature of gtranslator where gtranslator automatically fills in the corre- sponding and valuable translations for any message which has already been learned previously. This results in a fairly high percentage of prefilled/pretranslated messages. The common and good style of working with the learn buffer and with the autotranslation should be to learn the main po/translation files for your language via gtranslator via calling gtranslator -n -l po-file-to-learn on the command line; this will put the translated strings from this po file into your personal learn buffer. You should learn the main po files (for GNOME for example gnumeric, nautilus, evolution or any other bigger, already translated package's po file) for your language); you can use a new script from the gtranslator package to automatise this task a little bit: it's "build- gtranslator-learn-buffer.sh" which is installed into gtranslator's scripts directory which you can see by calling gtranslator -b and you simply execute the script with it's full path and simply follow the information on the command line for it. Afterwards you can simply use the "Autotranslation" menu entry from the GUI or use the "F10" hotkey to let gtranslator autotranslate all missing translations from your personal learn buffer. This will ease your translation work and make a big portion of the po files be pre-translated. With a fairly big personal learn buffer of about 2 MB you can achive many pre-translated messages for a new project/translation. If you want to use the stored learn buffer contents to produce a po file with all the "learned" translations, you can also use the "export learn buffer" capability of gtranslator to get a plain po file version of the learn buffer. USAGE EXAMPLES
Some examples for the options. gtranslator -b Shows you the real build specs/dates of gtranslator. gtranslator -s Give me statistics about the learn buffer of gtranslator. gtranslator -n -l po-file-to-learn Learns the given po file "po-file-to-learn" on the command line without starting up the GUI. gtranslator -a po-file Autotranslates all missing entries from the learn buffer if possible and exits. gtranslator -e po-file-to-export Exports your current learn buffer to the given plain gettext po file ("po-file-to-export"). gtranslator po-file Starts gtranslator with the given po-file loaded on startup. gtranslator -g "460x320+0+0" Lets gtranslator appear on the left upper edge of the screen "+0+0" and gtranslator is sized to "460x320" if possible -- if gtrans- lator needs more size for it's window contents, it'll expand itself to the necessary dimensions -- even if you defined a smaller geometry string. LICENSE
gtranslator is distributed under the GNU GPL V 2.0 or greater. AUTHORS
Ross Golder <ross@kabalak.net>, Fatih Demir <kabalak@kabalak.net> (previously also: Gediminas Paulauskas <menesis@kabalak.net>, Thomas Ziehmer <thomas@kabalak.net>, Kevin Vandersloot <kfv101@psu.edu> and Peeter Vois <peeter@kabalak.net>). WEBSITE
http://www.gtranslator.org BUGREPORTS
You can deliver bug reports to the gtranslator development team to our bug base via http://bugzilla.gnome.org/enter_bug.cgi?product=gtrans- lator VERSION
gtranslator 2.91.4 man-page gtranslator gtranslator 2.91.4 -- 2012-05-11 gtranslator(1)
All times are GMT -4. The time now is 01:33 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy