- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- disabeling null or <enter> passwords
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
07-07-2003 12:38 AM
07-07-2003 12:38 AM
disabeling null or <enter> passwords
Is there a way to disable null,blank or
Or is there a way to detect such passwords so that login account can be disabled ?
Thanks in advance,
Klaas Eenkhoorn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2003 12:55 AM
07-07-2003 12:55 AM
Re: disabeling null or <enter> passwords
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2003 01:28 AM
07-07-2003 01:28 AM
Re: disabeling null or <enter> passwords
I believe (on an untrusted 11 system) that you can't stop root from assigning null passwords to any user, but any non-root user has to abide by the restrictions listed in the passwd(1) man page - which includes a minimum length of 6 chars for a password. passwd returns a "password too short - must be at least 6 characters" error if a non-root user attempts to set a null password.
regards,
Darren.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2003 03:55 AM
07-07-2003 03:55 AM
Re: disabeling null or <enter> passwords
detecting (and disabling) user accounts with a null/blank password is easy.
Try this:
for uacct in `awk -F: '$2 == "" {print $1}' /etc/passwd`; do
passwd -l $uacct
done
HTH,
Michael.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2003 06:58 PM
07-11-2003 06:58 PM
Re: disabeling null or <enter> passwords
The unorthodox method would be to use a wrapper script for the passwd command. The wrapper script does the bounds check before calling the passwd command.
Hope this helps. Regards.
Steven Sim Kok Leong