12-02-2010
/usr/sbin/chpasswd -c < t
/usr/sbin/chpasswd: invalid option -- c
Usage: chpasswd [options]
I think "-c" option is not there.
in the above command, t is the file having user:password
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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)
Discussion started by: margi973
2 Replies
2. UNIX for Dummies Questions & Answers
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)
Discussion started by: LordJezo
2 Replies
3. Solaris
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)
Discussion started by: khagendra
2 Replies
4. HP-UX
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)
Discussion started by: roni13
4 Replies
5. AIX
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)
Discussion started by: kmvinay
2 Replies
6. Shell Programming and Scripting
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)
Discussion started by: Hari A
4 Replies
7. AIX
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)
Discussion started by: polar
8 Replies
8. Shell Programming and Scripting
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)
Discussion started by: Kits
0 Replies
9. Solaris
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)
Discussion started by: solaris_1977
2 Replies
10. Shell Programming and Scripting
Using useradd abc --password password (5 Replies)
Discussion started by: Jagruti Rml
5 Replies
LEARN ABOUT DEBIAN
ql-hba-snapshot
ql-hba-snapshot(8) System Administration ql-hba-snapshot(8)
NAME
ql-hba-snapshot - display specific information of the QLogic HBA.
SYNOPSIS
ql-hba-snapshot <Host number> [OPTIONS]
DESCRIPTION
FC HBA Snapshot Utility
This utility displays the details of the QLogic HBA attached to the system. It uses one of the two file systems for scanning: proc or
sysfs.
<Host number> | <-a/--all> [optional]
Provide the <HOST NUMBER> to display the detailed information of the HBA. With no option specified, general information of all
hosts will be displayed. Ex. # /usr/sbin/ql-hba-snapshot <Host Number> # /usr/sbin/ql-hba-snapshot --procfs <Host Number> (For
procfs)
-h, --help
Prints the help message. Ex. # /usr/sbin/ql-hba-snapshot --help
-hl, --hostlist
This option displays the list of QLogic hosts (HBAs) connected to this system. The <HOST NUMBER> can be obtained by using following
command Ex. # /usr/sbin/ql-hba-snapshot --hostlist
-p, --parameters
This option displays the command line parameters that can be passed to the QLogic HBA driver. Ex. # /usr/sbin/ql-hba-snapshot
--parameters <Host Number>
-s, --statistics
This option displays the statistical information for specified host. Stastics option is only supported in "sysfs" based scan. Ex.
# /usr/sbin/ql-hba-snapshot --statistics <Host number/--all>
-proc, --procfs
This options forces the the utility to scans information based on "procfs", instead of default sysfs. Ex. # /usr/sbin/ql-hba-snap-
shot --procfs [Other valid option]
-v, --verbose
This enables verbose display. The detailed information of LUNs will be displayed in addition to standard one. This option is only
supported in sysfs. Ex. # /usr/sbin/ql-hba-snapshot --verbose <Host number/-a>
SEE ALSO
ql-dynamic-tgt-lun-disc(8), ql-lun-state-online(8), ql-set-cmd-timeout(8)
Matthias Schmitz <matthias@sigxcpu.org> July 2009 ql-hba-snapshot(8)