Re: User ID
Why not just DDR copy all the existing Linux disks to the new disks? Are you installing a new version? Ray Mrohs -Original Message- From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of Mark Pace Sent: Friday, July 02, 2010 4:34 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: User ID I was afraid to think it was that easy. On Fri, Jul 2, 2010 at 4:29 PM, McKown, John john.mck...@healthmarkets.comwrote: -Original Message- From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of Mark Pace Sent: Friday, July 02, 2010 3:25 PM To: LINUX-390@VM.MARIST.EDU Subject: User ID Is there an easy way to copy user account information from Linux system to another? I'm building a new guest and don't want to have to redefine every user id. -- Mark Pace Would that just be copying /etc/passwd /etc/groups and /etc/shadow ? -- John McKown Systems Engineer IV IT Administrative Services Group HealthMarkets(r) 9151 Boulevard 26 * N. Richland Hills * TX 76010 (817) 255-3225 phone * (817)-961-6183 cell john.mck...@healthmarkets.com * www.HealthMarkets.com Confidentiality Notice: This e-mail message may contain confidential or proprietary information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. HealthMarkets(r) is the brand name for products underwritten and issued by the insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance Company(r), Mid-West National Life Insurance Company of TennesseeSM and The MEGA Life and Health Insurance Company.SM -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/ -- Mark Pace Mainline Information Systems 1700 Summit Lake Drive Tallahassee, FL. 32317 -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/ -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/
Re: User ID
I was installing a new version. I find it safer to create a new version and migrate to it, than to update the old machine. On Thu, Jul 8, 2010 at 9:57 AM, Mrohs, Ray ray.mr...@usdoj.gov wrote: Why not just DDR copy all the existing Linux disks to the new disks? Are you installing a new version? Ray Mrohs -Original Message- From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of Mark Pace Sent: Friday, July 02, 2010 4:34 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: User ID I was afraid to think it was that easy. On Fri, Jul 2, 2010 at 4:29 PM, McKown, John john.mck...@healthmarkets.comwrote: -Original Message- From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of Mark Pace Sent: Friday, July 02, 2010 3:25 PM To: LINUX-390@VM.MARIST.EDU Subject: User ID Is there an easy way to copy user account information from Linux system to another? I'm building a new guest and don't want to have to redefine every user id. -- Mark Pace Would that just be copying /etc/passwd /etc/groups and /etc/shadow ? -- John McKown Systems Engineer IV IT Administrative Services Group HealthMarkets(r) 9151 Boulevard 26 * N. Richland Hills * TX 76010 (817) 255-3225 phone * (817)-961-6183 cell john.mck...@healthmarkets.com * www.HealthMarkets.com Confidentiality Notice: This e-mail message may contain confidential or proprietary information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. HealthMarkets(r) is the brand name for products underwritten and issued by the insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance Company(r), Mid-West National Life Insurance Company of TennesseeSM and The MEGA Life and Health Insurance Company.SM -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/ -- Mark Pace Mainline Information Systems 1700 Summit Lake Drive Tallahassee, FL. 32317 -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/ -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/ -- Mark Pace Mainline Information Systems 1700 Summit Lake Drive Tallahassee, FL. 32317 -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/
User ID
Is there an easy way to copy user account information from Linux system to another? I'm building a new guest and don't want to have to redefine every user id. -- Mark Pace Mainline Information Systems 1700 Summit Lake Drive Tallahassee, FL. 32317 -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/
Re: User ID
First, think about getting a centralized user repository (ldap, active directory, etc) :) You could vipw and vipw -s and edit the password and shadow files and copy that stuff. Then rsync the users home directories. Marcy marcy.d.cor...@wellsfargo.com This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose, or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation. -Original Message- From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of Mark Pace Sent: Friday, July 02, 2010 1:25 PM To: LINUX-390@vm.marist.edu Subject: [LINUX-390] User ID Is there an easy way to copy user account information from Linux system to another? I'm building a new guest and don't want to have to redefine every user id. -- Mark Pace Mainline Information Systems 1700 Summit Lake Drive Tallahassee, FL. 32317 -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/ -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/
Re: User ID
-Original Message- From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of Mark Pace Sent: Friday, July 02, 2010 3:25 PM To: LINUX-390@VM.MARIST.EDU Subject: User ID Is there an easy way to copy user account information from Linux system to another? I'm building a new guest and don't want to have to redefine every user id. -- Mark Pace Would that just be copying /etc/passwd /etc/groups and /etc/shadow ? -- John McKown Systems Engineer IV IT Administrative Services Group HealthMarkets(r) 9151 Boulevard 26 * N. Richland Hills * TX 76010 (817) 255-3225 phone * (817)-961-6183 cell john.mck...@healthmarkets.com * www.HealthMarkets.com Confidentiality Notice: This e-mail message may contain confidential or proprietary information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. HealthMarkets(r) is the brand name for products underwritten and issued by the insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance Company(r), Mid-West National Life Insurance Company of TennesseeSM and The MEGA Life and Health Insurance Company.SM -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/
Re: User ID
I was afraid to think it was that easy. On Fri, Jul 2, 2010 at 4:29 PM, McKown, John john.mck...@healthmarkets.comwrote: -Original Message- From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of Mark Pace Sent: Friday, July 02, 2010 3:25 PM To: LINUX-390@VM.MARIST.EDU Subject: User ID Is there an easy way to copy user account information from Linux system to another? I'm building a new guest and don't want to have to redefine every user id. -- Mark Pace Would that just be copying /etc/passwd /etc/groups and /etc/shadow ? -- John McKown Systems Engineer IV IT Administrative Services Group HealthMarkets(r) 9151 Boulevard 26 * N. Richland Hills * TX 76010 (817) 255-3225 phone * (817)-961-6183 cell john.mck...@healthmarkets.com * www.HealthMarkets.com Confidentiality Notice: This e-mail message may contain confidential or proprietary information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. HealthMarkets(r) is the brand name for products underwritten and issued by the insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance Company(r), Mid-West National Life Insurance Company of TennesseeSM and The MEGA Life and Health Insurance Company.SM -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/ -- Mark Pace Mainline Information Systems 1700 Summit Lake Drive Tallahassee, FL. 32317 -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/
Re: User ID
Mark, The other extra step you have to take, is to create the /home/$USER directories or copy those directories from one server to another (remember to keep the permissions) Regards! Miguel Angel Barajas Hernandez Data Center Architect Novell de México mabara...@novell.com t +52 55 52842700 f +52 55 52842799 m +52 55 39884315 Certified Linux Administrator Certified Linux Professional Certified Linux Engineer Linux Technical Specialist Data Center Technical Specialist Data Center Advanced Technical Specialist Data Center Sales Specialist 2010 End-User Sales Specialist 2010 Certified Novell Salesperson Certified Computer Technical Support Certified Network Support Professional Mark Pace 07/02/10 3:35 PM I was afraid to think it was that easy. On Fri, Jul 2, 2010 at 4:29 PM, McKown, John wrote: -Original Message- From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of Mark Pace Sent: Friday, July 02, 2010 3:25 PM To: LINUX-390@VM.MARIST.EDU Subject: User ID Is there an easy way to copy user account information from Linux system to another? I'm building a new guest and don't want to have to redefine every user id. -- Mark Pace Would that just be copying /etc/passwd /etc/groups and /etc/shadow ? -- John McKown Systems Engineer IV IT Administrative Services Group HealthMarkets(r) 9151 Boulevard 26 * N. Richland Hills * TX 76010 (817) 255-3225 phone * (817)-961-6183 cell john.mck...@healthmarkets.com * www.HealthMarkets.com Confidentiality Notice: This e-mail message may contain confidential or proprietary information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. HealthMarkets(r) is the brand name for products underwritten and issued by the insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance Company(r), Mid-West National Life Insurance Company of TennesseeSM and The MEGA Life and Health Insurance Company.SM -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/ -- Mark Pace Mainline Information Systems 1700 Summit Lake Drive Tallahassee, FL. 32317 -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/ -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/
Re: User ID
I used webmin to export and import them. May the force be with you. Mark Pace mpac...@gmail.com wrote: Is there an easy way to copy user account information from Linux system to another? I'm building a new guest and don't want to have to redefine every user id. -- Mark Pace Mainline Information Systems 1700 Summit Lake Drive Tallahassee, FL. 32317 -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/ -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/
Re: VM User ID or z series LPAR name under RHEL4 U3
Thanks to all who responded - /proc/sysinfo has everything that I needed. Dennis Roach United Space Alliance 600 Gemini Avenue Mail Code USH-4A3L Houston, Texas 77058 Voice: (281) 282-2975 Page:(713) 736-8275 Fax: (281) 282-3583 E-Mail: [EMAIL PROTECTED] All opinions expressed by me are mine and may not agree with my employer or any person, company, or thing, living or dead, on or near this or any other planet, moon, asteroid, or other spatial object, natural or manufactured, since the beginning of time. -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
VM User ID or z series LPAR name under RHEL4 U3
Is there a way to get the VM 5.2 user ID or the z series LPAR name under Linux? What I would like to do is use this to determine the hostname and the IP address of the Linux system, instead of having to change it in each one. Dennis Roach United Space Alliance 600 Gemini Avenue Mail Code USH-4A3L Houston, Texas 77058 Voice: (281) 282-2975 Page:(713) 736-8275 Fax: (281) 282-3583 E-Mail: [EMAIL PROTECTED] All opinions expressed by me are mine and may not agree with my employer or any person, company, or thing, living or dead, on or near this or any other planet, moon, asteroid, or other spatial object, natural or manufactured, since the beginning of time. -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: VM User ID or z series LPAR name under RHEL4 U3
cat /proc/sysinfo On Fri, 2007-02-23 at 08:34 -0600, Roach, Dennis wrote: Is there a way to get the VM 5.2 user ID or the z series LPAR name under Linux? What I would like to do is use this to determine the hostname and the IP address of the Linux system, instead of having to change it in each one. -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: VM User ID or z series LPAR name under RHEL4 U3
The CP QUERY USERID command can be issued a variety of ways from a linux virtual machine. from a 3270 use #CP Q USERID within linux you can install and use: Neale Ferguson's CPINT package IBM vmcp driver If you are on a vswitch (as I recall when we chatted in Tampa) do from TCPMAINT or MAINT CP QUERY VSWITCH DETAILS I love the command, it includes the names of all vm's using a vswitch and the ip info. David -Original Message- From: Linux on 390 Port on behalf of Roach, Dennis Sent: Fri 2/23/2007 9:34 AM To: LINUX-390@VM.MARIST.EDU Subject: VM User ID or z series LPAR name under RHEL4 U3 Is there a way to get the VM 5.2 user ID or the z series LPAR name under Linux? What I would like to do is use this to determine the hostname and the IP address of the Linux system, instead of having to change it in each one. Dennis Roach United Space Alliance 600 Gemini Avenue Mail Code USH-4A3L Houston, Texas 77058 Voice: (281) 282-2975 Page:(713) 736-8275 Fax: (281) 282-3583 E-Mail: [EMAIL PROTECTED] All opinions expressed by me are mine and may not agree with my employer or any person, company, or thing, living or dead, on or near this or any other planet, moon, asteroid, or other spatial object, natural or manufactured, since the beginning of time. -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: VM User ID or z series LPAR name under RHEL4 U3
On Friday, 02/23/2007 at 08:34 CST, Roach, Dennis [EMAIL PROTECTED] wrote: Is there a way to get the VM 5.2 user ID or the z series LPAR name under Linux? What I would like to do is use this to determine the hostname and the IP address of the Linux system, instead of having to change it in each one. 1. Use a layer 2 VSWITCH and put a DHCP server on it (see prior posts about needed Linux qeth config changes) 2. Assign a unique MACPREFIX to your system in SYSTEM CONFIG. The MACPREFIX is the high-order 3 bytes of the MAC address. 3. Predefine the MACID on the NICDEF in the directory. This is is the low-order 3 bytes of the MAC address. 4. Concatenate the MACPREFIX and MACID to get the MAC address of that particular virtual NIC. Put that information in the DHCP configuration for static assignment. Given MACPREFIX 020001 and MACID 50: host alan { hardware ethernet 02:00:01:00:00:50; fixed-address 192.168.1.50; } -- or -- host alan { hardware ethernet 40:00:80:00:00:C0; fixed-address 192.168.1.50; } (I can't remember whether the VM-specified MAC address is reversed by the time it reaches the canonical format or not.) If you already have a DHCP server on the LAN segment (even if not on VM), add the MAC address/IP info to that server instead. (I haven't seen any dhcpd config options to limit the MAC addresses it will serve.) Alan Altmark z/VM Development IBM Endicott -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: VM User ID or z series LPAR name under RHEL4 U3
On Fri, Feb 23, 2007 at 11:33 AM, in message [EMAIL PROTECTED], Alan Altmark [EMAIL PROTECTED] wrote: -snip- Given MACPREFIX 020001 and MACID 50: host alan { hardware ethernet 02:00:01:00:00:50; fixed- address 192.168.1.50; } -- or -- host alan { hardware ethernet 40:00:80:00:00:C0; fixed- address 192.168.1.50; } (I can't remember whether the VM- specified MAC address is reversed by the time it reaches the canonical format or not.) Ok, you're going to have to explain this one. Exactly in what way is 02:00:01:00:00:50 a reversal of 40:00:80:00:00:C0? That doesn't look right, even if you reverse the bits in each hex character. Mark Post -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: VM User ID or z series LPAR name under RHEL4 U3
On Friday, 02/23/2007 at 10:35 MST, Mark Post [EMAIL PROTECTED] wrote: On Fri, Feb 23, 2007 at 11:33 AM, in message [EMAIL PROTECTED], Alan Altmark [EMAIL PROTECTED] wrote: -snip- Given MACPREFIX 020001 and MACID 50: host alan { hardware ethernet 02:00:01:00:00:50; fixed- address 192.168.1.50; } -- or -- host alan { hardware ethernet 40:00:80:00:00:C0; fixed- address 192.168.1.50; } (I can't remember whether the VM- specified MAC address is reversed by the time it reaches the canonical format or not.) Ok, you're going to have to explain this one. Exactly in what way is 02:00:01:00:00:50 a reversal of 40:00:80:00:00:C0? That doesn't look right, even if you reverse the bits in each hex character. Well, uh, ummm CHUCKIE! HE DID IT! Ok, ok, so my mirror is broken. (Hush, peanut gallery!) I can't bit-reverse 0x50 correctly. :-) 0101 = 1010 = 0A so make that hardware ethernet 40:00:80:00:00:0A; Alan Altmark z/VM Development IBM Endicott -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: VM User ID or z series LPAR name under RHEL4 U3
If you already have a DHCP server on the LAN segment (even if not on VM), add the MAC address/IP info to that server instead. (I haven't seen any dhcpd config options to limit the MAC addresses it will serve.) One easy way (at least with dhcp3) is to define a group, and put the MAC addresses of the hosts into the group entry. You can then specify the group in a 'scope' entry, and the DHCP server will serve only members of the group with that scope. If the MAC address does not qualify for membership in the scope, no answer is returned to that MAC address. -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: VM User ID or z series LPAR name under RHEL4 U3
Modern DHCP servers don't require the bit reversal evil any longer. It was much more of a big deal for token-ring adapters than Ethernet, anyway. Use the canonical form everywhere -- it's Just Right. It would be interesting if VM set the default MAC prefix to one of the user-managed spaces as the systemwide default, though. Oh, well, another requirement...8-). -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390