- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: password encryption
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
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
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
06-21-2013 03:20 AM
06-21-2013 03:20 AM
Re: password encryption
Hi Matti,
Thanks for the suggestion.
I do understand your point,but i want to set the username and password to be same.
if i am going to create 10 users and for all 10 users username will be password.
from the above script,I cant't export the value for password filed that is $PASSWD.
to make user active i have to use salt value to password that is $PASSWD66,but i am not able to export the password filed.
in v3,I dont have any problem,
/usr/sbin/usermod -p $(perl -e"print crypt('$PASSWD','xxxxxxxx')") -F $USERNAME
but in v2,
/usr/sam/lbin/usermod.sam -p `echo $PASSWDlb | /usr/lbin/makekey` $USERNAME
in password filed,I have included $PASSWDlb,but in script i have exported as PASSWD,so it is not matching.
is there any solition to fix it ??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2013 03:52 AM
06-21-2013 03:52 AM
Re: password encryption
adding one more to the previous post :
/usr/sam/lbin/usermod.sam -p `echo ABcd1234lb | /usr/lbin/makekey` $USERNAME
currently i am setting ABcd1234 as password to all user,but i want to set username as password for all users .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2013 07:12 AM
06-21-2013 07:12 AM
Re: password encryption
Can any one has idea to crypt the password ?
so that I can match to my script that i posted above in previous post
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2013 07:14 AM
06-21-2013 07:14 AM
Re: password encryption
i found the previous post posted by JRF under the subject name :Using Makekey and Usermod.sam
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1252591
but i am not able to open it.
Can any one help me in opening the page.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2013 08:41 AM
06-21-2013 08:41 AM
Solution> /usr/sam/lbin/usermod.sam -p `echo $PASSWDlb | /usr/lbin/makekey` $USERNAME
The shell "thinks" you want to use the variable named PASSWDlb, not the variable named PASSWD.
Try this:
/usr/sam/lbin/usermod.sam -p `echo ${PASSWD}lb | /usr/lbin/makekey` $USERNAME
- Tags:
- variable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2013 04:16 PM - edited 06-21-2013 04:16 PM
06-21-2013 04:16 PM - edited 06-21-2013 04:16 PM
Re: password encryption
>I found the previous post posted by JRF under the subject name: Using Makekey and Usermod.sam
It helps if you provide the URL:
http://h30499.www3.hp.com/t5/System-Administration/Using-Makekey-and-Usermod-sam/td-p/4431217
>Can any one help me in opening the page.
You could do a google search for JRF's posts and likely words:
- « Previous
-
- 1
- 2
- Next »