public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Problem with login - login incorrect
@ 2001-03-29 19:34 Mark Calder
  2001-03-30  0:12 ` Corinna Vinschen
  0 siblings, 1 reply; 2+ messages in thread
From: Mark Calder @ 2001-03-29 19:34 UTC (permalink / raw)
  To: cygwin

Hello I am setting up cygwin in a Win2k domain called
students.

When I use the login command I get "login incorrect". 
When I type passwd I get "unknown user mcalder".

In /etc/passwd my entry is

$ grep mcalder passwd
mcalder::4427:513:Mark
Calder,U-STUDENTS\mcalder,S-1-5-21-1085031214-1177238915-
682003330-4427://scrub/mcalder:/bin/bash

 The student account in /etc/group

Student
Accounts:S-1-5-21-1085031214-1177238915-682003330-3542:3542:
Student_Web:S-1-5-21-1085031214-1177238915-682003330-1117:1117:


Btw the command su cannot be found is that unusual?
$ su
bash: su: command not found

When I ran cygcheck I got the following:
Cygnus Win95/NT Configuration Diagnostics
Current System Time: Thu Mar 29 17:33:16 2001

WinNT Ver 5.0 build 2195 Service Pack 1

Path:	/usr/local/bin
	/usr/bin
	/bin
	/cygdrive/c/WINNT/system32
	/cygdrive/c/WINNT
	/cygdrive/c/WINNT/System32/Wbem
	/cygdrive/c/progra~1/matlabr12/bin/win32
	/cygdrive/c/Program Files/Microsoft Visual
Studio/Common/Tools/WinNT
	/cygdrive/c/Program Files/Microsoft Visual
Studio/Common/MSDev98/Bin
	/cygdrive/c/Program Files/Microsoft Visual
Studio/Common/Tools
	/cygdrive/c/Program Files/Microsoft Visual
Studio/VC98/bin
	/cygdrive/c/Program Files/SSH Communications
Security/SSH Secure Shell

SysDir: C:\WINNT\System32
WinDir: C:\WINNT

Here's some environment variables that may affect
cygwin:
PWD = `/home/mcalder'
CYGWIN = `ntsec'
USER = `mcalder'
MAKE_MODE = `unix'
HOME = `/home/mcalder'

Here's the rest of your environment variables:
NUMBER_OF_PROCESSORS = `1'
PROMPT = `$P$G'
LOGONSERVER = `\\DURBAN'
OS2LIBPATH = `C:\WINNT\system32\os2\dll;'
COMSPEC = `C:\WINNT\system32\cmd.exe'
!C: = `C:\cygwin\bin'
SYSTEMDRIVE = `C:'
HOSTNAME = `G207-8401'
INCLUDE = `C:\Program Files\Microsoft Visual
Studio\VC98\atl\include;C:\Program Files\Microsoft
Visual Studio\VC98\mfc\include;C:\Program
Files\Microsoft Visual Studio\VC98\include'
PROCESSOR_REVISION = `0806'
MSDEVDIR = `C:\Program Files\Microsoft Visual
Studio\Common\MSDev98'
PATHEXT =
`.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
COMPUTERNAME = `G207-8401'
CLASSPATH = `C:\Genesis\Packages'
WINDIR = `C:\WINNT'
USERPROFILE = `C:\Documents and Settings\TEMP'
PS1 = `\[\033]0;\w\007
\033[32m\]\u@\h \[\033[33m\w\033[0m\]
$ '
HOMESHARE = `\\scrub\mcalder'
PROGRAMFILES = `C:\Program Files'
USERDNSDOMAIN = `students.csee.uq.edu.au'
MACHTYPE = `i686-pc-cygwin'
PROCESSOR_IDENTIFIER = `x86 Family 6 Model 8 Stepping
6, GenuineIntel'
OS = `Windows_NT'
OLDPWD = `/usr/bin'
PROCESSOR_ARCHITECTURE = `x86'
TEMP = `/cygdrive/c/Temp'
TERMCAP = `/etc/termcap'
ALDEC_LICENSE_FILE = `C:\Program Files\Active-HDL
4.2\DAT\license.dat'
PROCESSOR_LEVEL = `6'
SYSTEMROOT = `C:\WINNT'
TMP = `/tmp'
HOMEDRIVE = `h:'
LIB = `C:\Program Files\Microsoft Visual
Studio\VC98\mfc\lib;C:\Program Files\Microsoft Visual
Studio\VC98\lib'
ALLUSERSPROFILE = `C:\Documents and Settings\All
Users'
SHLVL = `1'
APPDATA = `C:\Documents and Settings\TEMP\Application
Data'
COMMONPROGRAMFILES = `C:\Program Files\Common Files'
HOMEPATH = `\'
USERDOMAIN = `STUDENTS'
USERNAME = `mcalder'
SHELL = `/bin/bash'
HOSTTYPE = `i686'
OSTYPE = `cygwin'
TERM = `linux'
_ = `/usr/bin/cygcheck'
TZ = `EAST-10'

Scanning registry for keys with `Cygnus' in them...
HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus
Solutions\Cygwin\mounts v2
  (default) = `/cygdrive'
  cygdrive flags = 0x00000020
HKEY_CURRENT_USER\Software\Cygnus
Solutions\Cygwin\Program Options
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\Start
Menu\Programs\Cygnus Solutions
  (default) = (unsupported type)
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
Solutions\Cygwin\mounts v2
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
Solutions\Cygwin\mounts v2\/
  (default) = `C:/cygwin'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
Solutions\Cygwin\mounts v2\/usr/bin
  (default) = `C:/cygwin/bin'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
Solutions\Cygwin\mounts v2\/usr/lib
  (default) = `C:/cygwin/lib'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
Solutions\Cygwin\Program Options

Listing available drives...
Drv Type        Size   Free Flags              Name
a:  fd           N/A    N/A                    
c:  hd  NTFS    4094Mb  75% CP CS UN PA FC     REMBO
d:  cd           N/A    N/A                    
g:  net NTFS   68894Mb  55% CP CS    PA       
subjects
h:  net NTFS   68894Mb  12% CP CS    PA        mcalder
o:  net NTFS   68894Mb  55% CP CS    PA        docs
fd=floppy, hd=hard drive, cd=CD-ROM, net=Network Share
CP=Case Preserving, CS=Case Sensitive, UN=Unicode
PA=Persistent ACLS, FC=File Compression, VC=Volume
Compression

Mount entries: these map POSIX directories to your NT
drives.
-NT-  -POSIX-  -Type-  -Flags-
C:\cygwin\bin  /usr/bin  system  binmode
C:\cygwin\lib  /usr/lib  system  binmode
C:\cygwin  /        system  binmode

Looking to see where common programs can be found, if
at all...
Found: C:\cygwin\bin\bash.exe
Found: C:\cygwin\bin\cat.exe
Found: C:\cygwin\bin\cpp.exe
Found: C:\cygwin\bin\find.exe
Found: C:\cygwin\bin\gcc.exe
Found: C:\cygwin\bin\gdb.exe
Found: C:\cygwin\bin\ld.exe
Found: C:\cygwin\bin\ls.exe
Found: C:\cygwin\bin\make.exe
Found: C:\cygwin\bin\sh.exe

Looking for various Cygnus DLLs...  (-v gives version
info)
   56k 2000/12/03 C:\cygwin\bin\cygbz21.0.dll - os=4.0
img=1.0 sys=4.0
                  "cygbz21.0.dll" v0.0 ts=2000/11/21
9:53
   82k 2001/01/21 C:\cygwin\bin\cygform5.dll - os=4.0
img=1.0 sys=4.0
                  "cygform5.dll" v0.0 ts=2001/1/22
6:39
   18k 2000/10/23 C:\cygwin\bin\cyggdbm.dll - os=4.0
img=1.0 sys=4.0
                  "cyggdbm.dll" v0.0 ts=2000/10/23
12:26
   17k 2001/01/07 C:\cygwin\bin\cyghistory4.dll -
os=4.0 img=1.0 sys=4.0
                  "cyghistory4.dll" v0.0 ts=2001/1/7
14:34
   14k 2000/10/23 C:\cygwin\bin\cygintl.dll - os=4.0
img=1.0 sys=4.0
                  "cygintl.dll" v0.0 ts=2000/10/24
5:02
   81k 2000/12/05 C:\cygwin\bin\cygitcl30.dll - os=4.0
img=1.0 sys=4.0
                  "cygitcl30.dll" v0.0 ts=2000/11/26
11:43
   35k 2000/12/05 C:\cygwin\bin\cygitk30.dll - os=4.0
img=1.0 sys=4.0
                  "cygitk30.dll" v0.0 ts=2000/11/26
11:43
   45k 2000/10/22 C:\cygwin\bin\cygjbig1.dll - os=4.0
img=1.0 sys=4.0
                  "cygjbig1.dll" v0.0 ts=2000/10/23
9:06
  119k 2000/10/23 C:\cygwin\bin\cygjpeg6b.dll - os=4.0
img=1.0 sys=4.0
                  "cygjpeg6b.dll" v0.0 ts=2000/10/23
10:58
   53k 2001/01/21 C:\cygwin\bin\cygmenu5.dll - os=4.0
img=1.0 sys=4.0
                  "cygmenu5.dll" v0.0 ts=2001/1/22
6:39
  414k 2001/01/21 C:\cygwin\bin\cygncurses++5.dll -
os=4.0 img=1.0 sys=4.0
                  "cygncurses++5.dll" v0.0
ts=2001/1/22 6:40
  299k 2001/01/21 C:\cygwin\bin\cygncurses5.dll -
os=4.0 img=1.0 sys=4.0
                  "cygncurses5.dll" v0.0 ts=2001/1/22
6:38
   34k 2001/01/21 C:\cygwin\bin\cygpanel5.dll - os=4.0
img=1.0 sys=4.0
                  "cygpanel5.dll" v0.0 ts=2001/1/22
6:38
  163k 2001/02/03 C:\cygwin\bin\cygpng2.dll - os=4.0
img=1.0 sys=4.0
                  "cygpng2.dll" v0.0 ts=2001/2/4 7:21
  108k 2001/01/07 C:\cygwin\bin\cygreadline4.dll -
os=4.0 img=1.0 sys=4.0
                  "cygreadline4.dll" v0.0 ts=2001/1/7
14:34
  390k 2000/12/05 C:\cygwin\bin\cygtcl80.dll - os=4.0
img=1.0 sys=4.0
                  "cygtcl80.dll" v0.0 ts=2000/11/26
11:39
    5k 2000/12/05 C:\cygwin\bin\cygtclpip80.dll -
os=4.0 img=1.0 sys=4.0
   10k 2000/12/05 C:\cygwin\bin\cygtclreg80.dll -
os=4.0 img=1.0 sys=4.0
                  "cygtclreg80.dll" v0.0 ts=2000/11/26
11:39
  243k 2000/10/23 C:\cygwin\bin\cygtiff3.dll - os=4.0
img=1.0 sys=4.0
                  "cygtiff3.dll" v0.0 ts=2000/10/23
11:14
  623k 2000/12/05 C:\cygwin\bin\cygtk80.dll - os=4.0
img=1.0 sys=4.0
                  "cygtk80.dll" v0.0 ts=2000/11/26
11:43
   41k 2000/11/20 C:\cygwin\bin\cygXpm-noX4.dll -
os=4.0 img=1.0 sys=4.0
                  "cygXpm-noX4.dll" v0.0 ts=2000/11/20
12:41
   45k 2000/11/20 C:\cygwin\bin\cygXpm-X4.dll - os=4.0
img=1.0 sys=4.0
                  "cygXpm-X4.dll" v0.0 ts=2000/11/20
12:45
   49k 2001/02/03 C:\cygwin\bin\cygz.dll - os=4.0
img=1.0 sys=4.0
                  "cygz.dll" v0.0 ts=2001/2/4 6:35
  615k 2001/01/31 C:\cygwin\bin\cygwin1.dll - os=4.0
img=1.0 sys=4.0
                  "cygwin1.dll" v0.0 ts=2001/2/1 1:08
    Cygwin DLL version info:
        dll major: 1001
        dll minor: 8
        dll epoch: 19
        dll bad signal mask: 19005
        dll old termios: 5
        dll malloc env: 28
        api major: 0
        api minor: 34
        shared data: 3
        dll identifier: cygwin1
        mount registry: 2
        cygnus registry name: Cygnus Solutions
        cygwin registry name: Cygwin
        program options name: Program Options
        cygwin mount registry name: mounts v2
        cygdrive flags: cygdrive flags
        cygdrive prefix: cygdrive prefix
        cygdrive default prefix: 
        build date: Wed Jan 31 10:08:38 EST 2001
        shared id: cygwin1S3

.bashrc is :
export CYGWIN=ntsec
export TMP=/tmp
alias more=less
alias which=type
export TERMCAP=/etc/termcap
export TERM=linux

/etc/profile is :
PATH="/usr/local/bin:/usr/bin:/bin:$PATH"
unset DOSDRIVE
unset DOSDIR
unset TMPDIR
unset TMP

USER="`id -un`"

# Set up USER's home directory
if [ -z "$HOME" ]; then
  HOME="/home/$USER"
fi

if [ ! -d "$HOME" ]; then
  mkdir -p "$HOME"
fi

export HOME USER
export CYGWIN=ntsec

for i in /etc/profile.d/*.sh ; do
  if [ -f $i ]; then
    . $i
  fi
done

export MAKE_MODE=unix
export PS1='\[\033]0;\w\007
\033[32m\]\u@\h \[\033[33m\w\033[0m\]
$ '

cd "$HOME"

test -f ./.bashrc && . ./.bashrc

Sorry about the really long posting.  I've read the
FAQ,users guide and have read some of the old postings
but today they're so slow coming down they timeout
before the page is loaded.  Is there a mirror for
archives of the cygwin group?

Thanks for your help, Mark Calder








__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/?.refer=text

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Problem with login - login incorrect
  2001-03-29 19:34 Problem with login - login incorrect Mark Calder
@ 2001-03-30  0:12 ` Corinna Vinschen
  0 siblings, 0 replies; 2+ messages in thread
From: Corinna Vinschen @ 2001-03-30  0:12 UTC (permalink / raw)
  To: cygwin

On Thu, Mar 29, 2001 at 12:03:06AM -0800, Mark Calder wrote:
> Hello I am setting up cygwin in a Win2k domain called
> students.
> 
> When I use the login command I get "login incorrect". 

You cannot change user context on NT/W2K if your account
has not explicitely set several user rights. Even administrator
doesn't have all these user rights. These rights are

        "Act as part of the operating system"
	"Replace process level token"
	"Increase quotas"

In W2K you have to set these rights in the local or domain security
policy mmc snap-in whichever is appropriate for you. In NT you would
have to use the user manager resp. the user manager for domains.

Corinna

> When I type passwd I get "unknown user mcalder".

passwd doesn't act well for domain accounts, only for local accounts.
Patches welcome.

> Btw the command su cannot be found is that unusual?
> $ su
> bash: su: command not found

You didn't install all packages. However, `su' doesn't work in
Cygwin so it's no problem at all.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-03-30  0:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-03-29 19:34 Problem with login - login incorrect Mark Calder
2001-03-30  0:12 ` Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).