1834169 Members
2378 Online
110064 Solutions
New Discussion

modprdef.

 
SOLVED
Go to solution
Silver_1
Regular Advisor

modprdef.

Gurus,

We have around 20 HP UX server, all of them trusted.

The /etc/default/security

UMASK=027
ABORT_LOGIN_ON_MISSING_HOMEDIR=1
NOLOGIN=1
MIN_PASSWORD_LENGTH=15
PASSWORD_MAXDAYS=180
PASSWORD_MINDAYS=7
PASSWORD_WARNDAYS=150
PASSWORD_HISTORY_DEPTH=10
NUMBER_OF_LOGINS_ALLOWED=
PASSWORD_MIN_UPPER_CASE_CHARS=1
PASSWORD_MIN_DIGIT_CHARS=1
PASSWORD_MIN_SPECIAL_CHARS=1
ABORT_LOGIN_ON_MISSING_HOMEDIR=1
BOOT_AUTH=0
BOOT_USERS=root


I need to enforce this policy with the command modprdef.

Any idea to enforce it and once done how can i check.

Thanks,
7 REPLIES 7
RAC_1
Honored Contributor

Re: modprdef.

man modprdef lists all available options.
Once you set it with modprdef, you can check it getprdef
There is no substitute to HARDWORK
Silver_1
Regular Advisor

Re: modprdef.

These are the outputs when i run the commands.

root@hp10:/root# modprdef
usage: modprdef -m opt=value[,opt=value]
root@hp10:/root# man modprdef
No manual entry for modprdef.
root@hp10:/root#
RAC_1
Honored Contributor

Re: modprdef.

What is the OS version?? If you do not get the man pages, I can post them here.
you can also get them online.

http://docs.hp.com/en/hpuxman_pages.html
http://www.freebsd.org/cgi/man.cgi?manpath=HP-UX+11.11
There is no substitute to HARDWORK
Silver_1
Regular Advisor

Re: modprdef.

I have 11.11 and 11.23.
Muthukumar_5
Honored Contributor
Solution

Re: modprdef.

Refer this thread:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=638058

There is an attachment in Bharat Katkar reply. It is having all informations and man page related with trusted systems.

--
Muthu
Easy to suggest when don't know about the problem!
Arunvijai_4
Honored Contributor

Re: modprdef.

Hello, You can find more information at,

http://docs.hp.com/en/B2355-90950/B2355-90950.pdf

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Silver_1
Regular Advisor

Re: modprdef.