The prefixed PW= is a temporary environment assignment in the invoking shell, and not part of the command arguments.
Comparable to
Access via ps ewww or pargs -e or /proc/pid/environ is denied for other (non-root-)users.
Hi,
Could any one help me to write a C program for password mask
with ******. I mean whatever word i will type that will show on the screen as ***** and should store the correct value in a variable.
Thanks in advance
Krishna (5 Replies)
Hi there
Probably a really simple question but I am writing an install script and at certain stages of the install (ie creating a table in mysql) the system prompts for you to enter a password, I was wondering, how do I script this input so that the install doesnt keep stopping for manual... (3 Replies)
I like to copy a file from one server server1 from path path1 to another server server2 to path path2.
User logging in both the servers are same say user1
I tried to use ssh to generate public/private key pairs and then copy without prompting for password.
These are the steps i followed
... (5 Replies)
Hello,
I am looking for a way to login to multiple machines and do things such as create users, reset root passwords etc non interactively.
The problem with the passwords is that all machines use ssh, dont allow root login, require to login as a normal user, su to root then change the root... (1 Reply)
Hi,
I currently have a UNIX script with a function that uses a username and password to connect to the database, retrieve some information and then exit.
At the moment, am getting the username and password from a hidden plain text file and permission set to -r--------, i.e. read only to who... (1 Reply)
Hi All,
i am executing peoplesoft sqr command from unix prompt which has the unix id/password as parameter along with other parameters. i want to show whole command in log file but want to mask the id/password field. this command i am executing in shell script. Please suggest..
>sqr sqrname... (2 Replies)
Hi
When I do on console a stop, the script prompts for password
> stop_idm_suite.sh
Suite system password:Here experct of the shell script stop_idm_suite.sh
DoIt()
{
# prompt System password
echo ""
${BMC_JAVA_HOME}/java -Didm.suite.home=${BMC_IDM_SUITE_HOME} -classpath... (1 Reply)
Hi Experts,
I'm using samba -3.6.1 on Red Hat Enterprise Linux ES release 4 (Nahant Update 8) ,all seems ok. The issue im facing is as follows.
When ever a user creates a file via windows explorer the permissions assgined to the file are as follows
-rw-rwxr--+ 1 tom group2 0 Mar 9... (1 Reply)
I want to give my long scripts to customer. The customer must not be able to read the scripts even if he has the password. The following command locks and unlocks the script but the set +x is simply ignored.
The code:
read -p 'Script: ' S && C=$S.crypt H='eval "$((dd if=$0 bs=1 skip=//|gpg... (7 Replies)
Discussion started by: frad
7 Replies
LEARN ABOUT HPUX
yppasswd
yppasswd(1) General Commands Manual yppasswd(1)NAME
yppasswd - change login password in Network Information System (NIS)
SYNOPSIS
[name]
Remarks
The Network Information Service (NIS) was formerly known as Yellow Pages (YP). The functionality remains the same; only the name has
changed.
DESCRIPTION
changes or installs a password associated with the login name in the Network Information System (NIS). The NIS password can be different
from the one on your own machine. If name is omitted, it defaults to the name returned by (see getlogin(3C)).
prompts for the old NIS password (even if it does not exist), then twice for the new one. The old password must be entered correctly for
the change to take effect. Checks occur to ensure that the new password meets the following construction requirements.
o Only the first eight characters are significant.
o A password can be as few as four characters long if it contains
o at least one special character or
o a mixture of numeric, uppercase and lowercase letters.
o A password can be as few as five characters long if it contains a mixture of
o uppercase and lowercase letters or
o numeric and either uppercase or lowercase letters.
o A password must contain at least six characters if it contains only monocase letters.
All these rules except the first are relaxed if you try three times to enter an unacceptable new password. You cannot, however, enter a
null password.
Only the owner of the name or the superuser can change a password.
The Network Information System password daemon, must be running on the master NIS password server to change NIS passwords. See yppass-
wdd(1M).
WARNINGS
The password update protocol passes the old and new passwords to the master NIS server at once. Thus, if the old NIS password is incor-
rect, no notification is given until the new NIS password is successfully entered.
The password construction rules are different from those of the HP-UX command (see passwd(1)).
The root user's password cannot be changed using or Therefore, root users must change their password in the files database and then recon-
struct the NIS maps using the command. For more information on how to use the command, see ypmake(1M).
User applications that call this routine must be linked with For example,
AUTHOR
was developed by Sun Microsystems, Inc.
SEE ALSO id(1), passwd(1), su(1), yppasswdd(1M), getlogin(3C), yppasswd(3N), ypfiles(4).
yppasswd(1)