Hi,
I need to know if this command
echo NEWPASSWORD | passwd --stdin USERNAME
that works fine on Red Hat Linux, is also available on other Unix/Linux machines (AIX, FreeBSD, OpenBSD, SunOS, Mandrake, Debian, Gentoo, Lindows, Slackware, Xandros, HP-UX, IRIX, SCO, MacOS, BSDi ...).
... (2 Replies)
If we have it so users accounts need a new password after 90 days is there a way to also say that after 90 days they need to use a new password and not let them use the same one twice? (2 Replies)
I have installed Solaris 10 x86 in VMware 5.5.I logged in as root user and trying to create new user and also reset the password for existing user, i am getting "Permission Denied Error". I checked the /etc/shadow file, looks fine permission is 400. Earlier i was able to do it but suddenly it... (2 Replies)
Are single quotes allowed in a UNIX password? With my understanding that UNIX interprets single quotes in pairs and has a distinct meaning to the shell that it removes special meaning of all enclosed characters. I wanted to confirm that a single quote within a password would fail for this reason. (4 Replies)
Hi,
How to check whether the single user mode is password protected or not?By default, while entering in to single user mode, Os is not asking for login credentails. How can i enable it. Kindly help
Rgds,
kmvinay (2 Replies)
Hello All,
I'm new to unix and i need the below favour from you.
I have list of 50 unix server. I need to login to all the server one by one and with the same user and password. I will declare the user name and password globally in the script.
for example :
servername- hyperV
user name... (4 Replies)
Hi experts, i got a 4-port Adapter card on VIOS and would like to configure 4SEA for 4 difference segment IP client's LPAR use, first SEA succeed to be configured on ent0 but once second SEA configured, first SEA fail to be connected. Any issues i need to be concerned in order to configure 4 SEA on... (8 Replies)
Hi,
I am unable to set the password remotely. I am using the script as below:
ep=`echo "$p" | /usr/lbin/makekey`
ssh -t $i "/usr/local/bin/sudo useradd -c "$user_c" -m -d /home/$user_id -s /bin/ksh $user_id; /usr/local/bin/sudo /usr/sam/lbin/usermod.sam -F -p $ep $user_id"
The... (0 Replies)
I have a Solaris-10 non global zone, on which I am not able to reset password, while counts are matching in /etc/passwd and /etc/shadow. I tried searching its solution in various forums, but nothing is working
# id -a oemagent
uid=56605(oemagent) gid=56595(tess) groups=56595(tess)
# passwd -s... (2 Replies)
MKPASSWD(1) Debian GNU/Linux MKPASSWD(1)NAME
mkpasswd - Overfeatured front end to crypt(3)SYNOPSIS
mkpasswd PASSWORD SALT
DESCRIPTION
mkpasswd encrypts the given password with the crypt(3) libc function using the given salt.
OPTIONS -S, --salt=STRING
Use the STRING as salt. It must not contain prefixes such as $1$.
-R, --rounds=NUMBER
Use NUMBER rounds. This argument is ignored if the method chosen does not support variable rounds. For the OpenBSD Blowfish method
this is the logarithm of the number of rounds.
-m, --method=TYPE
Compute the password using the TYPE method. If TYPE is help then the available methods are printed.
-5 Like --method=md5.
-P, --password-fd=NUM
Read the password from file descriptor NUM instead of using getpass(3). If the file descriptor is not connected to a tty then no
other message than the hashed password is printed on stdout.
-s, --stdin
Like --password-fd=0.
ENVIRONMENT
MKPASSWD_OPTIONS
A list of options which will be evalued before the ones specified on the command line.
BUGS
If the --stdin option is used, passwords containing some control characters may not be read correctly.
This programs suffers of a bad case of featuritis.
SEE ALSO passwd(1), passwd(5), crypt(3), getpass(3)AUTHOR
mkpasswd and this man page were written by Marco d'Itri <md@linux.it> and are licensed under the terms of the GNU General Public License,
version 2 or higher.
Marco d'Itri 21 March 2008 MKPASSWD(1)