1748267 Members
3875 Online
108760 Solutions
New Discussion юеВ

Re: Group passwd

 
Shahul
Esteemed Contributor

Group passwd


Hi Friends

Is there something called Group passwd in HPUX. If yes how to set?

Shahul
4 REPLIES 4
Klaus Crusius
Trusted Contributor

Re: Group passwd

In principle yes, but:

man 4 group states:

"there is no tool for setting passwords in /etc/group"
There is a live before death!
federico_3
Honored Contributor

Re: Group passwd

there is no tool for setting group password in /etc/group even though it should be possible.
Ravi_8
Honored Contributor

Re: Group passwd

Hi,
there is no password for group(s)
never give up
David Totsch
Valued Contributor

Re: Group passwd

Older versions of HP-UX allowed you to run passwd(1) against other files. This allowed you to set a dial-up password on /etc/d_passwd and /etc/group. However, the modern passwd(1) allows you to change much more than the password, so /etc/d_passwd and /etc/group have too few fields. Sigh.

You should not need to apply a password to a group. If a password is on a group and a user that does not have access to the group by virtue of having their user name listed as a group member invokes newgrp(1), they are prompted for this password. Since newgrp(1) spawns a new shell, this functionality is useless. Simply add the user to the group.

If you insist on applying a password to a group, you can generate the encrypted password by using /usr/lbin/makekey.

-dlt-