- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: password policy in a non-trusted system
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
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
Community
Resources
Forums
Blogs
- 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
04-15-2005 03:43 AM
04-15-2005 03:43 AM
password policy in a non-trusted system
We are runnng hp-ux 11.0 on L2000 machine. This is non-trusted system. I am trying to implment passowrd policy. I was told to create /etc/default/security file and add the following lines and this should take care. But it is not working. Can someone out there tell me what else I need to do. I want to set passord plocy: atleast min 7 Chars and one digit.
vi /etc/default/security
MIN_PASSWORD_LENGTH=7
PASSWORD_MIN_DIGIT_CHARS=1
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2005 03:52 AM
04-15-2005 03:52 AM
Re: password policy in a non-trusted system
How is it failing? Do you mean that you can set a new password using the passwd command that violates one or both of these requirements?
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2005 03:54 AM
04-15-2005 03:54 AM
Re: password policy in a non-trusted system
Hope it helps,
Oliver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2005 03:56 AM
04-15-2005 03:56 AM
Re: password policy in a non-trusted system
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=857287
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2005 04:02 AM
04-15-2005 04:02 AM
Re: password policy in a non-trusted system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2005 04:04 AM
04-15-2005 04:04 AM
Re: password policy in a non-trusted system
Can I just use the /etc/default/security file in a non trusted system to satisfy above password policy requirement?
Our's is non trusted system.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2005 05:14 AM
04-15-2005 05:14 AM
Re: password policy in a non-trusted system
Regards,
Oliver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2005 05:20 AM
04-15-2005 05:20 AM
Re: password policy in a non-trusted system
Pete,
It is stll failing. Yes even with this config it is violating the above rules. I can still cretae passord of 4 letters.
I am not sure what else to do.
Does this require reboot?
Thanks
Raji
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2005 07:25 AM
04-15-2005 07:25 AM
Re: password policy in a non-trusted system
It is working now. Now I have to force all the users to change the old passwords in their next login. Instead of doing individually in SAM is there a way I can write a script? Does anyone has any script which can satisfy this requirement?
Thanks.
Raji
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2005 07:33 AM
04-15-2005 07:33 AM
Re: password policy in a non-trusted system
man passwd for details.
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2005 07:35 AM
04-15-2005 07:35 AM
Re: password policy in a non-trusted system
#!/usr/bin/sh
INFILE=/etc/passwd
awk -F ':' '{if (($3 > 100) && ($2 != "*")) print $1}' ${INFILE} | while read U
do
echo "User: ${U}"
# passwd -f ${U}
done
When you are satisfied that the correct users are being selected, uncomment the passwd -f command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2005 04:37 AM
04-18-2005 04:37 AM
Re: password policy in a non-trusted system
Thanks
Raji