|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Single line password reset.
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 ...). Thanks in advance, Margi. |
|
#2
|
|||
|
|||
|
The answer is no for a number of reasons. For example
"--stdin" is not POSIX-compliant command lien argument syntax. As an aside, using standard utilities such as usermod is a better way to handle this sort of thing. - Finnbarr |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > UNIX Help > Single line password reset. |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|