delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/11/22/12:14:54

X-Spam-Check-By: sourceware.org
Message-ID: <BAY104-F12EAAC31F005ED12E74E5DAD520@phx.gbl>
X-Sender: rbody99 AT hotmail DOT com
In-Reply-To: <Pine.GSO.4.63.0511221135590.7738@slinky.cs.nyu.edu>
From: "Robert Body" <rbody99 AT hotmail DOT com>
To: cygwin AT cygwin DOT com
Subject: mkpasswd, mkgroup - initial setup of group, home dir
Date: Tue, 22 Nov 2005 10:14:46 -0700
Mime-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Hi, I installed on a networked computer, but i don't want my cygwin to be 
part of that network as far as username/groups go (I don't want to add all 
the users to my group or passwd files)
I was assigned  "robert.body" as username and my group name is "mkgroup-l-d"

I would like to change these to "Owner" and "mygroup", and I would like my 
default home directory to be /home/Owner  (which is really 
C:\cygwin\home\owner in windows). The system insists on making my home 
directory "/cygdrive/u" even if I modify /etc/passwd file

I read about "mkpasswd -d" - well I don't want people on network added to my 
cygwin setup,
I read about "mkgroup -d" - well I want to make my own group
(I did a search through the mailing list archives, and lots of hits on 
mkpasswd, but nothing that I need during the many emails i went through)

-Robert

--------------------------------------
currently my /etc/groups is
--------------------------------------
...
mkgroup-l-d:S-1-5-32-545:10545:

--------------------------------------
currently my /etc/passwd is the following, but system just ignores my 
"/home/Owner" and just ALWAYS puts me into /cygdrive/u on startup
--------------------------------------
...
tmersrvd:unused_by_nt/2000/xp:1018:513:tmersrvd,U-DPC6528\tmersrvd,S-1-5-21-2735870922-10702009508:/home/tmersrvd:/bin/bash
robert.body:unused_by_nt/2000/xp:13550:10545:robert.body,U-DEN\robert.body,S-1-5-21-1659004503-4815-3550:/home/Owner:/bin/bash



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019