HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Passwd & group file
Operating System - HP-UX
1833776
Members
2191
Online
110063
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
03-04-2003 05:02 AM
03-04-2003 05:02 AM
Passwd & group file
Hi,
I took the backup copy of passwd file,group file and home directory tar file from old system HP-UX 11.00.
Now i need to use the same users/password and home directories which they already used. Can i replace the current one to old which i took backup. Does it face any problem. But when i use untar the home directories it shows the UID & GID somes numbers.
How to proceed on this?
Help me.
Thx
K.Rajesh
I took the backup copy of passwd file,group file and home directory tar file from old system HP-UX 11.00.
Now i need to use the same users/password and home directories which they already used. Can i replace the current one to old which i took backup. Does it face any problem. But when i use untar the home directories it shows the UID & GID somes numbers.
How to proceed on this?
Help me.
Thx
K.Rajesh
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 05:08 AM
03-04-2003 05:08 AM
Re: Passwd & group file
If the users can get in and the only problem is that they do not own their own home directory, might I suggest that you just chown -R on the ones that need it? (And be done with it...)
It should not have done that if everythings really happy. Do most of the gid's and uid's match up?
John
It should not have done that if everythings really happy. Do most of the gid's and uid's match up?
John
Spoon!!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 05:11 AM
03-04-2003 05:11 AM
Re: Passwd & group file
Rajesh,
when you untar the home dir files it will show the UID and GID as numbers as these files on the source system has a owner of UID (that value) and group with GID (that number value).
If you want to copy the passwd and group files from the source machine.
Copy /etc/passwd into /tmp on the source system.
vi /tmp/passwd and remove all the system users root,sys,adm,etc.
Then just ftp it to the target machine.
Take a backup of the existing passwd file and then just append this file to the existing passwd file.
Do the same to /etc/group
Make sure that you open a session for root and keep that alive until everything works successfully.
Thanks
when you untar the home dir files it will show the UID and GID as numbers as these files on the source system has a owner of UID (that value) and group with GID (that number value).
If you want to copy the passwd and group files from the source machine.
Copy /etc/passwd into /tmp on the source system.
vi /tmp/passwd and remove all the system users root,sys,adm,etc.
Then just ftp it to the target machine.
Take a backup of the existing passwd file and then just append this file to the existing passwd file.
Do the same to /etc/group
Make sure that you open a session for root and keep that alive until everything works successfully.
Thanks
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP