- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- migrating users to updated 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
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
07-27-2001 06:16 AM
07-27-2001 06:16 AM
migrating users to updated system
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2001 06:20 AM
07-27-2001 06:20 AM
Re: migrating users to updated system
Did you create their HOME directories to match their initial working directory (sixth field in /etc/passwd)?
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2001 06:24 AM
07-27-2001 06:24 AM
Re: migrating users to updated system
I want to use the same home directories that were on the old system. these were mounted on our RAID and were not touched during update. That saves me from having to redo .profiles, etc. Can I do this?
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2001 06:25 AM
07-27-2001 06:25 AM
Re: migrating users to updated system
It should be OK on a non-trusted system (check if /tcb existed). Besides the /etc/group and /etc/passwd files you should also copy their home-directories and other user-owned file (check with find / -user [username] on the 10.20 system). A reboot is not necessary.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2001 06:27 AM
07-27-2001 06:27 AM
Re: migrating users to updated system
Sure. That's the value of 'vgimport'.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2001 06:28 AM
07-27-2001 06:28 AM
Re: migrating users to updated system
One thing that has tripped me up before is the users that source scripts from other filesystems in their .profile scripts. Our Oracle DBAs are notorious for that.
Another thing, you're not hounding us. We're here because we love this kind of stuff! Keep asking all those questions, dude. Either we'll help you or we'll learn something (or both).
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2001 06:35 AM
07-27-2001 06:35 AM
Re: migrating users to updated system
Can you cd to your home directorys? You says it is on raid box before. did you do your vgimport? By default 11.00 does not put any security.
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2001 06:38 AM
07-27-2001 06:38 AM
Re: migrating users to updated system
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2001 06:44 AM
07-27-2001 06:44 AM
Re: migrating users to updated system
Run a 'pwck'and a 'grpck', what is the output ?
And from 'listusers' ?
Are you sure the system was not trusted ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2001 06:45 AM
07-27-2001 06:45 AM
Re: migrating users to updated system
Check your permissions on /etc/passwd and /etc/group. The Ignite make_recovery usually leaves them with 640 permissions instead of 644.
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2001 06:45 AM
07-27-2001 06:45 AM
Re: migrating users to updated system
Do this and see what you see:
umount /home
ll -d /home
If the permissions are not right, change them and then remount /home.
Be sure and do an 'll -d /home' after you remount /home to make sure your permissions there are appropriate for everyone as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2001 06:46 AM
07-27-2001 06:46 AM
Re: migrating users to updated system
Can you 'su' from root to another user ? ('su [username]' or 'su - [username]')
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2001 06:47 AM
07-27-2001 06:47 AM
Re: migrating users to updated system
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2001 06:59 AM
07-27-2001 06:59 AM
Re: migrating users to updated system
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2001 07:05 AM
07-27-2001 07:05 AM
Re: migrating users to updated system
Seriously though, it may depend on the number of users you have on your system. If I go into SAM -> ACCOUNT FOR USERS AND GROUPS -> USERS then I get asked what I want displayed. There is a 500 users limit in SAM now, I have 790 currently defined. The choices that it gives me are: Display range of login names, display range of uids, display single user, display no users.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2001 07:10 AM
07-27-2001 07:10 AM
Re: migrating users to updated system
You said that when you login as one user it was "kinda screwed up". Exactly what does that mean?
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2001 07:11 AM
07-27-2001 07:11 AM
Re: migrating users to updated system
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2001 07:15 AM
07-27-2001 07:15 AM
Re: migrating users to updated system
I could log in but the shell was wrong and it complained about something (I don't remember what). I figure that something was wrong when I copied the info the first time.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2001 07:44 AM
07-27-2001 07:44 AM
Re: migrating users to updated system
1.When you add users to /etc/passwd, be sure not to duplicate users ( apply it for /etd/group also ).
2. Create all home directories for users and it's respective environments ( .profile, .profile_bash, .login , ...)
3. Install any needed shell for users ( ie. bash id used ).
4. Modify /etc/shells to allow any ftp sessions.
Good luck.
Magdi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2001 07:51 AM
07-27-2001 07:51 AM
Re: migrating users to updated system
Magdi's suggestions are good ones to heed.
Also (and you may already know and do this): If you create the same user on different servers, follow a strict rule to use the same UID and GID. Remember that Unix "knows" you by number, not name. The /etc/passwd and /etc/group files do the mapping of name-to-number.
Lastly, Patrick's suggestion of unmounting /home, checking its permissions, and those of subordinate directories, was a good one. You *can* have funny permission/access problems on mountpoints that have too strict permissions, and until you unmount you won't be able to see them. Been-there-done-that!
Hope all is now well, regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2001 11:19 AM
07-27-2001 11:19 AM
Re: migrating users to updated system
For the updating, the easiest thing to do is make a tar archive of the old files, and extract them to the new system after updating. Many pieces of information may not change for years and years. I.E. root having a UID of 0.
Simply before update, do this
tar cvf /tmp/backup.tar /etc/passwd /etc/group /etc/hosts /etc/services /etc/netgroup /etc/mail/aliases
copy the file /tmp/backup.tar to a neutral system till after upgrade, then extract it back with
tar xvf /tmp/backup.tar
Some of the files mentioned you may not have ever touched, but apps may have... Also, this eliminates problems with permissions, etc...
As for UID's on multiple systems, you can use the same password and group file on any system (not /etc/hosts necessarily) as long as the home directories are mounted in the same exact fashion. If there are more than 3 or 4 hosts and your not on the internet, I'd recommend you use NIS. This will eliminate the need to manage multiple passwd and group files, as well as netgroup, aliases, etc...
Regards,
Shannon