Does anyone know of any tool(s) to obfuscate shell scripts for intellectual property protection purposes?
My searches turned up one such tool for Perl but not for shell scripts. Thanks. (2 Replies)
Hello users,
I have a question ?
I was just wondering whether the hostname on unix systems are case sensitive.
For example in the system which I work.
ping TestHost and ping testhost gives me the same output i.e I get the reply from the remote host
Is this applicable for all... (3 Replies)
I am attempting to write a shell script that runs a program which generates data and then runs another program to plot the data. The problem is that I need the plotting to take place in a different terminal window that stays open after the plotting has finished. I have experimented 'xterm -e '... (1 Reply)
I would like to set the root password for mysql databases installed on various machines connected within a network. These machines receive their mysql installation via a script that pulls the installation files from the server and starts installing. During installation I would also like to set the... (0 Replies)
Is there a way for me to take a parameter then store it in a variable and use its value as non case sensitive?
Ex.
Lets say i have a parameter which contains "Hey".
Then im gonna store it to GR using GR=$1.
CL=/install/$GR.g
How can i make GR non case sensitive so that the... (1 Reply)
Hi
I'm trying to understand variable scopes in solaris10.
It is said that to display env variables we use 3 commands :
- env
- set
- export
What is the difference between them ?
thx for help.
---------- Post updated at 11:00 AM ---------- Previous update was at 10:50 AM ----------
... (2 Replies)
Hi all,
I am writing this post in order to share my experience with the SUN nxge ethernet interfaces and try to see if some of you managed to solve similar issues than the ones we experienced here with T5520 running Solaris 10.
First, we noticed that it was somehow difficult to have those... (5 Replies)
Hi All,
select app from the menu:
ABC
DEF
GHI
JKL
ALL # ALL will select all the apps in the menu
echo "Enter your option"
read option;
if
then
<execute the below command>
elif # option is the 1 selection from menu...not ALL
<execute the below command>
else (14 Replies)
Discussion started by: Devaraj A
14 Replies
9. Post Here to Contact Site Administrators and Moderators
Hi
Kindly remove the following from the post . These are confidential info posted by mistake
https://www.unix.com/shell-programming-and-scripting/201037-perl-while-loop-each.html
please remove the comments section which is first 16 lines in the perl script .
Also please remove the ... (1 Reply)
I need to know what are the commands in Solaris to retrieve the below information about the hardware platform.
1. Chipset information (information about various hardware controller cards on the mother boards, system BIOS versions, PCI firmware version etc..)
2. Serial number of the work... (2 Replies)
Discussion started by: rajujayanthy
2 Replies
LEARN ABOUT CENTOS
systemd-ask-password
SYSTEMD-ASK-PASSWORD(1) systemd-ask-password SYSTEMD-ASK-PASSWORD(1)NAME
systemd-ask-password - Query the user for a system password
SYNOPSIS
systemd-ask-password [OPTIONS...] [MESSAGE]
DESCRIPTION
systemd-ask-password may be used to query a system password or passphrase from the user, using a question message specified on the command
line. When run from a TTY it will query a password on the TTY and print it to STDOUT. When run with no TTY or with --no-tty it will query
the password system-wide and allow active users to respond via several agents. The latter is only available to privileged processes.
The purpose of this tool is to query system-wide passwords -- that is passwords not attached to a specific user account. Examples include:
unlocking encrypted hard disks when they are plugged in or at boot, entering an SSL certificate passphrase for web and VPN servers.
Existing agents are: a boot-time password agent asking the user for passwords using Plymouth; a boot-time password agent querying the user
directly on the console; an agent requesting password input via a wall(1) message; an agent suitable for running in a GNOME session; a
command line agent which can be started temporarily to process queued password requests; a TTY agent that is temporarily spawned during
systemctl(1) invocations.
Additional password agents may be implemented according to the systemd Password Agent Specification[1].
If a password is queried on a TTY, the user may press TAB to hide the asterisks normally shown for each character typed. Pressing Backspace
as first key achieves the same effect.
OPTIONS
The following options are understood:
-h, --help
Prints a short help text and exits.
--icon=
Specify an icon name alongside the password query, which may be used in all agents supporting graphical display. The icon name should
follow the XDG Icon Naming Specification[2].
--timeout=
Specify the query timeout in seconds. Defaults to 90s. A timeout of 0 waits indefinitely.
--no-tty
Never ask for password on current TTY even if one is available. Always use agent system.
--accept-cached
If passed, accept cached passwords, i.e. passwords previously typed in.
--multiple
When used in conjunction with --accept-cached accept multiple passwords. This will output one password per line.
EXIT STATUS
On success, 0 is returned, a non-zero failure code otherwise.
SEE ALSO systemd(1), systemctl(1), plymouth(8), wall(1)NOTES
1. systemd Password Agent Specification
http://www.freedesktop.org/wiki/Software/systemd/PasswordAgents
2. XDG Icon Naming Specification
http://standards.freedesktop.org/icon-naming-spec/icon-naming-spec-latest.html
systemd 208SYSTEMD-ASK-PASSWORD(1)