- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: user with no password
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
12-22-2005 04:59 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2005 05:04 PM
12-22-2005 05:04 PM
SolutionBut, Its a big security hole :(
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2005 05:04 PM
12-22-2005 05:04 PM
Re: user with no password
For any existing user or new user after creating account do
#passwd -d username
For this to work the system shall not be a trusted one.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2005 05:07 PM
12-22-2005 05:07 PM
Re: user with no password
# passwd -d
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2005 05:08 PM
12-22-2005 05:08 PM
Re: user with no password
use passwd -d
HTH,
prabu.s
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2005 05:36 PM
12-22-2005 05:36 PM
Re: user with no password
# useradd
then it will not have any username.
You can check it as,
# passwd -s
NP will be the status that it is not having any password.
You can use logins -uax to get the status also.
-Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2005 05:59 PM
12-22-2005 05:59 PM
Re: user with no password
is the way !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2005 06:16 PM
12-22-2005 06:16 PM
Re: user with no password
As the others's mentioned ;
passwd -d
but it is really unsecure
Good Luck,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2005 06:40 PM
12-22-2005 06:40 PM
Re: user with no password
passwd -d (Allow user to login without a password by deleting it)
Thus:
passwd -d
We often use just a carriage return for
a password, this still requires
either an action by the keyboard or
a standard input < CR when scripted.
It is a little bit more secure, as the
CR is a non printable character.
So it looks like there is nothing.
see what is best for you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2005 07:57 PM
12-22-2005 07:57 PM
Re: user with no password
why would you want to create user with no password?
Note that you may also wish to use SAM to specify the user cannot change his/her password..
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2005 08:32 AM
12-23-2005 08:32 AM
Re: user with no password
You can use # passwd -d username
-d Allow a user to login without a password by deleting it.
In untrusted mode this unlocks/activates the user
account if found locked/deactivated.
To check if your system is trusted or not , you can use this command:
# cd /usr/lbin
# ./getprdef -r
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2005 05:54 AM
12-27-2005 05:54 AM
Re: user with no password
#useradd -d /export/home -s /usr/bin/ksh
#passwd -d
or..
vi /etc/passwd
user_name:xxx:
(erase the characters "xxx" b/w two colon"
save and come out..
This will help to resolve ur issue..
cheers
indrajit