vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Unruh wrote: > No, that is a standard arg for passwd almost certainly also on Redhat/FC. > But it is still not clear that this > is what passwd -s does on HP. He does not seem to want to tell us. Not at all. If I now had access to an HP box I could tell you... all I DO know is that passwd -s on an HPUX box returns something like <username> PS wheras passwd -S on a linux box returns something like password set, DES crypt. a google seems to suggest that hpux man passwd includes the foillowing -s name Display password attributes associated with the specified name. Superuser privilege is required if the files repository is specified. For nisplus, there are no restrictions. I do note that a solaris man passwd returns much the same info -s name Shows password attributes for the login name. For the nisplus repository, this works for everyone. However for the files repository, this only works for the superuser. It does not work at all for the nis reposi- tory which does not support password aging. I know no more unfortunately, other than the script to be ported uses passwd -s, and expects an out put similar to <username> PS. crossposted to comp.sys.hp.hpux cheers ian |
| |||
| didds <didds2@excite.com>: > Unruh wrote: > >> No, that is a standard arg for passwd almost certainly also on Redhat/FC. >> But it is still not clear that this >> is what passwd -s does on HP. He does not seem to want to tell us. > > Not at all. If I now had access to an HP box I could tell you... all > I DO know is that passwd -s on an HPUX box returns something like > > <username> PS [11:08:51 vz6tml@dewuib07:~] $ sudo passwd -r files -F /etc/NISFILES/passwd -s vz6tml vz6tml PS 07/06/06 0 63 [11:08:53 vz6tml@dewuib07:~] $ uname -a HP-UX dewuib07 B.11.11 U 9000/800 HP-UX > wheras passwd -S on a linux box returns something like > > password set, DES crypt. [11:09:42 vz6tml@dewup-ww02:/neu/opt/tmp] $ passwd -S vz6tml vz6tml P [11:09:45 vz6tml@dewup-ww02:/neu/opt/tmp] $ uname -a Linux dewup-ww02 2.6.17-gentoo-r3.05 #1 SMP Mon Jul 17 15:36:34 CEST 2006 i686 Intel(R) Xeon(TM) CPU 2.40GHz GenuineIntel GNU/Linux [11:10:10 vz6tml@dewup-ww02:/neu/opt/tmp] $ sudo passwd -S root root P 10/05/2005 0 -1 -1 -1 Hm - my "vz6tml" is NIS served from a HP-UX 11.11 master (the dewuib07). root is of course a local account. Alexander Skwar -- BOFH Excuse #45: virus attack, luser responsible |
| |||
| Alexander Skwar wrote: > Hm - my "vz6tml" is NIS served from a HP-UX 11.11 master (the > dewuib07). root is of course a local account. Cool. I've actually lamented the lack of such a feature a few times in Linux: it's potentially useful for exporting user passwords to other tools, such as LDAP or Apache passwords. |
| |||
| Alexander Skwar wrote: .... > > [11:09:42 vz6tml@dewup-ww02:/neu/opt/tmp] $ passwd -S vz6tml > vz6tml P > [11:09:45 vz6tml@dewup-ww02:/neu/opt/tmp] $ uname -a > Linux dewup-ww02 2.6.17-gentoo-r3.05 #1 SMP Mon Jul 17 15:36:34 CEST 2006 i686 Intel(R) Xeon(TM) CPU 2.40GHz GenuineIntel GNU/Linux > > [11:10:10 vz6tml@dewup-ww02:/neu/opt/tmp] $ sudo passwd -S root > root P 10/05/2005 0 -1 -1 -1 gentoo is not Red Hat. It's not using Red Hat's passwd program. |
| ||||
| ยท Chris Cox <notccox@notairmail.net>: > Alexander Skwar wrote: > ... >> >> [11:09:42 vz6tml@dewup-ww02:/neu/opt/tmp] $ passwd -S vz6tml >> vz6tml P >> [11:09:45 vz6tml@dewup-ww02:/neu/opt/tmp] $ uname -a >> Linux dewup-ww02 2.6.17-gentoo-r3.05 #1 SMP Mon Jul 17 15:36:34 CEST 2006 i686 Intel(R) Xeon(TM) CPU 2.40GHz GenuineIntel GNU/Linux >> >> [11:10:10 vz6tml@dewup-ww02:/neu/opt/tmp] $ sudo passwd -S root >> root P 10/05/2005 0 -1 -1 -1 > > gentoo is not Red Hat. It's not using Red Hat's passwd > program. True. Debian and Ubuntu is also using the "gentoo" passwd, which comes from the "shadow" package. Is RH really using a different passwd? At least in FC5, shadow-utils also is used. What provides /usr/bin/passwd in RH? Ah, I see, it's in the passwd package. Alexander Skwar -- Tod und Geburt lernt man nur in einem Dorfe kennen, in keiner Stadt. -- Jean Paul |
| Thread Tools | |
| Display Modes | |
|
|