Sponsored Content
Full Discussion: MSYS2 on Windows 7 VM
Special Forums Windows & DOS: Issues & Discussions MSYS2 on Windows 7 VM Post 302946832 by mrm5102 on Friday 12th of June 2015 06:22:51 PM
Old 06-12-2015
MSYS2 on Windows 7 VM

Hello All,

Hopefully I'm posting this in the correct place...

I just recently installed MSYS2 (*32-bit) on a Windows 7 VM I have running on my Linux Host. I have a basic question about User management on MSYS.

MSYS2 i686: Version 20150512

I'm guessing when MSYS gets installed it uses your Window's info, like username/etc to create your user in MSYS and to build your User's HOME dir (*i.e. /home/<win_username>)and stuff like that. Since My Window's User contains my first and last name, when MSYS installed it created my home dir as "/home/First Last", with the whitespace inbetween... This is starting to become a real nuisance. I could not find the file I would normally use to be able fix this, which is "/etc/passwd". So I'm kind of stumped on how I can resolve this.

I didn't want to just rename the HOME dir to something else because I figured that would break the env var HOME and also "~" (*i.e. tilde).

So basically what I want to do is change my Username and Group Name in MSYS, as well as change the Home directory after the username is changed.

Is this possible? Any thoughts or suggestions would be very much appreciated!

Thanks in Advance,
Matt
 

3 More Discussions You Might Find Interesting

1. Programming

[MSYS2/GCC-TDM] Compiler not finding headers in /usr/local/include

I hope it's okay to post this here. I'm working on Windows computer but using the Unix-like environment MSYS2 (https://sourceforge.net/projects/msys2). My problem is that I can't get the compiler to find headers located in /usr/local/include. I am trying to compile libpng which wants the header... (1 Reply)
Discussion started by: AntumDeluge
1 Replies

2. Windows & DOS: Issues & Discussions

UNIX for Advanced & Expert Users > I tried to build libtiff on MSYS2+minGW but found an interruption

When I tried to build libtiff on MSYS2+minGW and opened the MSYS2 shell, got error: $ ./configure configure: loading site script /etc/config.site checking build system type... Invalid configuration `x86_64-pc-msys': system `msys' not recognized configure: error: /bin/sh config/config.sub... (1 Reply)
Discussion started by: abdulbadii
1 Replies

3. Windows & DOS: Issues & Discussions

Can I replace the gcc, and along with all other binaries, in MSYS2 minGW64 with the MinGW64 Project

Can I replace the gcc, and along with all other binaries too, in MSYS2 minGW64 with ones by MinGW64 Project Can i safely replace the gcc, if asked, telling its version: gcc.exe (Rev2, Built by MSYS2 project) 6.2.0 Copyright (C) 2016 Free Software Foundation, Inc. This is free software; see... (1 Reply)
Discussion started by: abdulbadii
1 Replies
DateTime::TimeZone::Local::Win32(3)			User Contributed Perl Documentation		       DateTime::TimeZone::Local::Win32(3)

NAME
DateTime::TimeZone::Local::Win32 - Determine the local system's time zone on Windows VERSION
version 1.63 SYNOPSIS
my $tz = DateTime::TimeZone->new( name => 'local' ); my $tz = DateTime::TimeZone::Local->TimeZone(); DESCRIPTION
This module provides methods for determining the local time zone on a Windows platform. HOW THE TIME ZONE IS DETERMINED
This class tries the following methods of determining the local time zone: o $ENV{TZ} It checks $ENV{TZ} for a valid time zone name. o Windows Registry When using the registry, we look for the Windows time zone and use a mapping to translate this to an Olson time zone name. o Windows Vista and 2008 We look in "SYSTEM/CurrentControlSet/Control/TimeZoneInformation/" for a node named "/TimeZoneKeyName". If this exists, we use this key to look up the Olson time zone name in our mapping. o Windows NT, Windows 2000, Windows XP, Windows 2003 Server We look in "SOFTWARE/Microsoft/Windows NT/CurrentVersion/Time Zones/" and loop through all of its sub keys. For each sub key, we compare the value of the key with "/Std" appended to the end to the value of "SYSTEM/CurrentControlSet/Control/TimeZoneInformation/StandardName". This gives us the English name of the Windows time zone, which we use to look up the Olson time zone name. o Windows 95, Windows 98, Windows Millenium Edition The algorithm is the same as for NT, but we loop through the sub keys of "SOFTWARE/Microsoft/Windows/CurrentVersion/Time Zones/" AUTHOR
Dave Rolsky <autarch@urth.org> COPYRIGHT AND LICENSE
This software is copyright (c) 2013 by Dave Rolsky. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. perl v5.18.2 2013-10-28 DateTime::TimeZone::Local::Win32(3)
All times are GMT -4. The time now is 10:46 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy