- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HPUX 11.0: MCSG Password Syncing & Aging
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
08-12-2003 12:21 PM
08-12-2003 12:21 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2003 10:33 PM
08-12-2003 10:33 PM
SolutionBoth boxes are configured trusted and any UID that has to bee sync'ed must be greater than 1000.
This way I can configure users like root etc not to be synced on both machines.
The following script is run through cron do do the sync
# script syncs user passwords from venus to mars on trusted system
# only UID's .gt. 1000 are synced
while read line
do
user=`echo $line | awk -F: '{print $1}'`
uid=`echo $line | awk -F: '{print $3}'`
if [ $uid -gt 1000 ]
then
path=`find /tcb/files/auth -name $user`
dirname=`/usr/bin/dirname $path`
file=`/usr/bin/basename $path`
/usr/bin/rcp $path mars:$dirname > /dev/null 2>&1
else
echo "No sync for $user" > /dev/null
fi
done < /etc/passwd
/usr/bin/rcp -r /tcb/files/auth/system/* mars:/tcb/files/auth/system
Regards
Rainer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2003 10:51 PM
08-12-2003 10:51 PM
Re: HPUX 11.0: MCSG Password Syncing & Aging
regards
mB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2003 12:27 AM
08-13-2003 12:27 AM
Re: HPUX 11.0: MCSG Password Syncing & Aging
If you're trusting the system then you cannot use NIS, you will require NIS+. Another possibility is LDAP.
regards,
Darren.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2003 04:04 AM
08-13-2003 04:04 AM
Re: HPUX 11.0: MCSG Password Syncing & Aging
TITLE:Keeping Passwords Synced Between ServiceGuard Hosts
As stated before, "trusted" systems require NIS+. Best method I can think of for syncing passwords.
-Stephen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2003 12:35 PM
09-12-2003 12:35 PM
Re: HPUX 11.0: MCSG Password Syncing & Aging
I do not have access to that document...Can you cut and paste in a Wordpad or Notepad document as attachment? I appreciate your reply, thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2003 12:53 AM
09-15-2003 12:53 AM
Re: HPUX 11.0: MCSG Password Syncing & Aging
I'm afraid it's not possible for people to cut and paste documents from the Knowledge Database into the forums. You should be able to access the document if your contract details are linked to your ITRC profile.
regards,
Darren.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2003 01:10 AM
09-15-2003 01:10 AM
Re: HPUX 11.0: MCSG Password Syncing & Aging
For the goal of synchronization of accounts
on cluster-mashines we use self-developed
client-server application. When user
is making logon to first mashine,the clent program is sending information about it
to another mashine. On this another mashine is waiting a server /like daemon/,which
receive information about this user and
update account of this mashine with
the lateset changes,connected with
this user. this way we are providing
a current replication of users-data.
I'm sending you a full package, with
README and man included.
Regards,Stan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2003 01:15 AM
09-15-2003 01:15 AM