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
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
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 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
LEARN ABOUT DEBIAN
install-mh
INSTALL-MH(8) [nmh-1.5] INSTALL-MH(8)
NAME
install-mh - initialize the nmh environment
SYNOPSIS
/usr/lib/mh/install-mh [-auto] [-check] [-version] [-help]
DESCRIPTION
Install-mh is the nmh program to create the initial setup for a first-time nmh user. Install-mh lives in two places for historical rea-
sons.
The -auto option does things as automatically as possible and makes install-mh less chatty.
The user is asked for the name of the directory that will be designated as the user's nmh directory. If this directory does not exist, the
user is asked if it should be created. Normally, this directory should be under the user's home directory, and has the default name of
``Mail''. Install-mh writes an initial .mh_profile for the user.
As with all nmh commands, install-mh first checks for the existence of the $MH environment variable since that gives the profile path if
set. If it isn't set, the $HOME environment variable is consulted to determine the user's home directory. If $HOME is not set, then the
/etc/passwd file is consulted.
When creating the users initial .mh_profile, install-mh will check for the existence of a global profile /etc/nmh/mh.profile. If found,
this will be used to initialize the new .mh_profile.
The -check option can be used to check whether or not nmh has been installed. This can be used by other programs to determine whether or
not nmh has been installed without their having to know the internals of nmh.
FILES
$HOME/.mh_profile The user profile
/etc/nmh/mh.profile Used to initialize user profile
PROFILE COMPONENTS
Path: To set the user's nmh directory
CONTEXT
With -auto, the current folder is changed to "inbox".
MH.6.8 11 June 2012 INSTALL-MH(8)