- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- webmin (password) with 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
Discussions
Discussions
Discussions
Forums
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
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
тАО08-27-2003 08:06 AM
тАО08-27-2003 08:06 AM
webmin (password) with trusted system
I want to change all the users password with a file list in webmin, but it doesn't work with trusted system.
Can you help me because i don't want to change one by one all the password (> 250).
Best regards,
Mansour.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-27-2003 08:11 AM
тАО08-27-2003 08:11 AM
Re: webmin (password) with trusted system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-27-2003 08:11 AM
тАО08-27-2003 08:11 AM
Re: webmin (password) with trusted system
This script uses a copy of the /etc/passwd file /root/passwd
It reads the user name out of the passwd file and lets you do all kind of mass operations on them.
You can use this to generate your list.
You need to edit that datafile and take out any system users, users with id less than 100.
I am somewhat confused on your question though. Are you trying to have all your users log onto a web page and change their passwords that way?
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-27-2003 08:23 AM
тАО08-27-2003 08:23 AM
Re: webmin (password) with trusted system
As far as I'm aware - the useradmin module of webmin isn't supported by HP; it's therefore likely that it isn't aware of trusted systems. Webmin is best used for administering your web server.
There's some ideas earlier in this thread of ways of changing passwords using scripts.
regards,
Darren.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-27-2003 08:24 AM
тАО08-27-2003 08:24 AM
Re: webmin (password) with trusted system
We have a HP9000 HPUX 11i, on this machine we have a application.
I want to change all the users password on the HP9000, in webmin we can use a file with a define description to change somes fields of /etc/passwd.
But as we are in trusted system, the /etc/passwd file is change but not the /tcb/files/auth/.... file.
If you have a idea?
Best regards,
Mansour.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-27-2003 07:11 PM
тАО08-27-2003 07:11 PM
Re: webmin (password) with trusted system
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-28-2003 06:13 AM
тАО08-28-2003 06:13 AM
Re: webmin (password) with trusted system
It's not clear why you'd want to change everyone's password: if you explain what you're trying to accomplish, there may be other ways to do it. If you just want everyone's password to expire, you could use the back end command modprpw (see http://forums.itrc.hp.com/cm/components/FileAttachment/0,,0xb067ded2442ed5118fef0090279cd0f9,00.txt
If you truly want to do what you say via webmin, and Trusted System is your problem, you can unconvert/reconvert:
/usr/lbin/tsconvert -r
/usr/lbin/tsconvert
YMMV
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-28-2003 06:27 AM
тАО08-28-2003 06:27 AM
Re: webmin (password) with trusted system
It's only me who change the password whith id root.
If i can do it whitout using webmin it's OK for me.
Are you oblige to unconvert/reconvert to change password in trusted system, because i have read that if you convert in trusted system all the password are reset.
Have another solution ?
Thanks,
Mansour.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-28-2003 07:01 AM
тАО08-28-2003 07:01 AM
Re: webmin (password) with trusted system
You still don't say why you want to do this. If we knew your business requirement, there might be alternative solutions.
What's the reason for changing the passwords? Do the users have to be able to login again after you change the passwords? How would they get their new passwords?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-28-2003 07:18 AM
тАО08-28-2003 07:18 AM
Re: webmin (password) with trusted system
So, we have a production application ERP BAAN, it's like People soft or Oracle application.
We want to change the password because there are so easy to find them.
After we change the UNIX password, they can connect to the application like the others days with the new password.
We send their new password by mail.
Thanks for your answers.
Mansour.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-28-2003 09:24 AM
тАО08-28-2003 09:24 AM
Re: webmin (password) with trusted system
/usr/lbin/modprpw -E will force every user to change their password at next login. You have some control over the format of passwords via SAM in Auditing and Security-->System Security Policies-->Auditing and Security.
Otherwise, you're going to be down to writing a script that reads your file, runs the clear text password through crypt(), then calls modprpw per user with the -e password setup.
Good luck!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-28-2003 03:16 PM
тАО08-28-2003 03:16 PM
Re: webmin (password) with trusted system
The modprpw command (undocumented for all of 10.xx through 11.0) finally got a manpage in 11.11, but alas (as is true for all backend commands found in /usr/lbin) the -w option for providing a password was removed.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-29-2003 04:10 AM
тАО08-29-2003 04:10 AM
Re: webmin (password) with trusted system
they have no access to UNIX but only to the application with a run time.
And it's me who generate the password.
Can help me to write the script, because i am not a specialist of shell script.
Ex file : 'username:password'
Thanks,
Mansour.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-04-2003 01:07 AM
тАО09-04-2003 01:07 AM
Re: webmin (password) with trusted system
I thanks all of you for your solutions.
Here is my solution and it's work.
It's my first shell script.
#! /bin/ksh
cat /rpt1/userfile | while read line
do
first=$(echo $line|awk -F: '{print substr($1,1,1)}')
S1=/tcb/files/auth/
S2=$(echo $line|awk -F: '{print $1}')
S3=$(echo $line|awk -F: '{print $2}')
S4=$(grep u_pwd $S1$first/$S2 | awk -F: '{print substr($2,7,2)}')
/usr/sam/lbin/usermod.sam -p `echo "$S3$S4" | /usr/lbin/makekey` $S2
done