Sponsored Content
Top Forums Shell Programming and Scripting How to hide password from getting displayed on screen Post 302239285 by scorp_rahul23 on Tuesday 23rd of September 2008 08:35:39 AM
Old 09-23-2008
No error message nthng, just it is displaying password on the screen
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

need to hide output to screen

I have a script that askes users to enter in an oracle account and password, The information is displayed on the screen as they type it. Does anyone know how I can hide this output? :confused: (1 Reply)
Discussion started by: boat73
1 Replies

2. Programming

hide password typing

I am doing a project in C program which requires to type in password in Unix terminal. Does anybody know how to shade or not output any words typed by user in the terminal? I use the function scan() to read typing from user. Thanks in advance. (2 Replies)
Discussion started by: ivancheung
2 Replies

3. Shell Programming and Scripting

How to hide password on Linux?

Hi falks, I have the following ksh code: echo "Enter VS Admin password:" oldstty=`stty -g` stty -echo intr '$-' read password stty $oldstty echo This code ask from a user to enter his password. The OS suppose to hide the entering of the... (2 Replies)
Discussion started by: nir_s
2 Replies

4. Shell Programming and Scripting

Want to hide password

All, In my script I am calling another script.. in that script I need to enter a password. Problem is that everyone is able to see the password when I enter that. Is there any way that when i enter that password it should not display or may look like *******. Or if there any other way that I... (1 Reply)
Discussion started by: arpitk
1 Replies

5. Shell Programming and Scripting

How Do I Hide the Password in a Script

Hi, I am writing a UNIX .ksh script and need to send the login password of the login id that is executing the script to a command that I am executing in the script. I don't want that password to be seen by anyone except whoever is executing the script. Does anyone know how I can accomplish... (6 Replies)
Discussion started by: samd
6 Replies

6. Shell Programming and Scripting

Password is getting displayed

My shell script which runs on solaris has an execution in it. Contents of shell script BEGIN : Executable_filename username/password@DBinstance parameter2 parameter3 Contents of shell script END : When i launch the shell script, it connects to database to gets few details.. In the... (3 Replies)
Discussion started by: shafi2all
3 Replies

7. Shell Programming and Scripting

password getting displayed using sudo

Hi While doing the following command password is gettin dispalyed : ssh <host> "sudo command ; exit" .... while i type my password for 2nd its gettin displayed ... i tried stty -echo and stty echo ... still i am havin problem..:confused: (1 Reply)
Discussion started by: ningy
1 Replies

8. UNIX for Dummies Questions & Answers

How can i hide username/password

hi all, i run sqlplus command on unix(HP-UX) like "sqlplus username/password@serverA @deneme.sql" but when someone run "ps -ef | grep sqlplus", it can see my username and password :( How can i hide username and password. thanx. (1 Reply)
Discussion started by: temhem
1 Replies

9. Shell Programming and Scripting

ftp:Password field is displayed

I am trying to get a file by doing ftp to the server. The below script works fine but as I type password it is displayed as simple text. HOST='192.108.245.101' echo 'username: ' read USER echo 'password:' read PASSWD ftp -n $HOST <<END_SCRIPT quote USER $USER quote PASS $PASSWD lcd... (1 Reply)
Discussion started by: hiten.r.chauhan
1 Replies

10. Red Hat

grub splash screen not displayed

I re-installed grub on /dev/sdb on a 3ware raid machine and now the grub splash screen is not displayed when booting. Server when boots up comes and halt in the grub menu and I need to manually load kernel and initrd to get the machine up. I have not changed any grub setting. I used the command... (0 Replies)
Discussion started by: anil510
0 Replies
XNLOCK(1)						      General Commands Manual							 XNLOCK(1)

NAME
xnlock - amusing lock screen program with message for passers-by SYNOPSIS
xnlock [ options ] [ message ] DESCRIPTION
xnlock is a program that acts as a screen saver for workstations running X11. It also "locks" the screen such that the workstation can be left unattended without worry that someone else will walk up to it and mess everything up. When xnlock is running, a little man with a big nose and a hat runs around spewing out messages to the screen. By default, the messages are "humorous", but that depends on your sense of humor. If a key or mouse button is pressed, a prompt is printed requesting the user's password. If a RETURN is not typed within 30 seconds, the little man resumes running around. Text on the command line is used as the message. For example: % xnlock I'm out to lunch for a couple of hours. Note the need to quote shell metacharacters. In the absence of flags or text, xnlock displays random fortunes. OPTIONS
Command line options override all resource specifications. All arguments that are not associated with a command line option is taken to be message text that the little man will "say" every once in a while. The resource xnlock.text may be set to a string. -fn fontname The default font is the first 18 point font in the new century schoolbook family. While larger fonts are recokmmended over smaller ones, any font in the server's font list will work. The resource to use for this option is xnlock.font. -filename filename Take the message to be displayed from the file filename. If filename is not specified, $HOME/.msgfile is used. If the contents of the file are changed during runtime, the most recent text of the file is used (allowing the displayed message to be altered remotely). Carriage returns within the text are allowed, but tabs or other control characters are not translated and should not be used. The resource available for this option is xnlock.file. -ar Accept root's password to unlock screen. This option is true by default. The reason for this is so that someone's screen may be unlocked by autorized users in case of emergency and the person running the program is still out to lunch. The resource available for specifying this option is xnlock.acceptRootPasswd. -noar Don't accept root's password. This option is for paranoids who fear their peers might breakin using root's password and remove their files anyway. Specifying this option on the command line overrides the xnlock.acceptRootPasswd if set to True. -ip Ignore password prompt. The resource available for this option is xnlock.ignorePasswd. -noip Don't ignore password prompt. This is available in order to override the resource ignorePasswd if set to True. -fg color Specifies the foreground color. The resource available for this is xnlock.foreground. -bg color Specifies the background color. The resource available for this is xnlock.background. -rv Reverse the foreground and background colors. The resource for this is xvnlock.reverseVideo. -norv Don't use reverse video. This is available to override the reverseVideo resource if set to True. -prog program Receive message text from the running program program. If there are arguments to program, encase them with the name of the program in quotes (e.g. xnlock -t "fortune -o"). The resource for this is xnlock.program. RESOURCES
xnlock.font: fontname xnlock.foreground: color xnlock.background: color xnlock.reverseVideo: True/False xnlock.text: Some random text string xnlock.program: program [args] xnlock.ignorePasswd: True/False xnlock.acceptRootPasswd: True/False FILES
xnlock executable file ~/.msgfile default message file AUTHOR
Dan Heller <argv@sun.com> Copyright (c) 1985, 1990. The original version of this program was written using pixrects on a Sun 2 running SunOS 1.1. 19 April 1990 XNLOCK(1)
All times are GMT -4. The time now is 12:41 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy