GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: relax NIS security
Operating System - HP-UX
1854683
Members
23763
Online
104102
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Knowledge Base
Forums
Discussions
- Cloud Mentoring and Education
- Software - General
- HPE OneView
- HPE Ezmeral Software platform
- HPE OpsRamp
Knowledge Base
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2006 07:14 AM
12-21-2006 07:14 AM
relax NIS security
Dear all,
i am running NIS on hp-ux 11.11
before i implemented NIS on ths server. i was able to create user with short name and short password (user name with 4 characters and password with 2 letters)
i know that it is not a good practice but i have good reason for it.
is there a way to relax the security on creating and changing username and password for NIS server.
it seems like setting in this file /etc/default/security
does not have any affect on NIS
Thank in advance,
Tom
ex:
Changing password for tomt on NIS server
Old NIS password:
New password:
Password must contain at least two alphabetic characters and
at least one numeric or special character.
New password:
Invalid MIN_PASSWORD_LENGTH in /etc/default/security - valid range is 6-8
Password too short - must be at least 6 characters
New password:
Invalid MIN_PASSWORD_LENGTH in /etc/default/security - valid range is 6-8
Password too short - must be at least 6 characters
Too many failures - try later.
hpux10g1:[root]:/etc/default
i am running NIS on hp-ux 11.11
before i implemented NIS on ths server. i was able to create user with short name and short password (user name with 4 characters and password with 2 letters)
i know that it is not a good practice but i have good reason for it.
is there a way to relax the security on creating and changing username and password for NIS server.
it seems like setting in this file /etc/default/security
does not have any affect on NIS
Thank in advance,
Tom
ex:
Changing password for tomt on NIS server
Old NIS password:
New password:
Password must contain at least two alphabetic characters and
at least one numeric or special character.
New password:
Invalid MIN_PASSWORD_LENGTH in /etc/default/security - valid range is 6-8
Password too short - must be at least 6 characters
New password:
Invalid MIN_PASSWORD_LENGTH in /etc/default/security - valid range is 6-8
Password too short - must be at least 6 characters
Too many failures - try later.
hpux10g1:[root]:/etc/default
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2006 08:51 AM
12-21-2006 08:51 AM
Re: relax NIS security
Dear Tom:
Why don't you try defining the line for
MIN_PASSWORD_LENGTH=2
in /etc/default/security? Here's the man page:
http://www.docs.hp.com/en/B2355-60127/security.4.html
Why don't you try defining the line for
MIN_PASSWORD_LENGTH=2
in /etc/default/security? Here's the man page:
http://www.docs.hp.com/en/B2355-60127/security.4.html
Support Fatherhood - Stop Family Law
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2006 08:58 AM
12-21-2006 08:58 AM
Re: relax NIS security
Thanks Michael,
i did that in /etc/default/security
MIN_PASSWORD_LENGTH=2
and here is what i got
Invalid MIN_PASSWORD_LENGTH in /etc/default/security - valid range is 6-8
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2006 09:03 AM
12-21-2006 09:03 AM
Re: relax NIS security
While yours is the opposite of what is typically desired, it is possible provided you can spell C. You have all the pieces (specifically the ypasswd() function) to craft your own replaement for the yppasswd command. Man 3N yppasswd for details. Back in the days when NIS was widely used, it was very common to build your own yppasswd command. I have done it many times to customize to whatever level of security is desired.
If it ain't broke, I can fix that.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2026 Hewlett Packard Enterprise Development LP