Re: passwd group file problems ?
Roy Wiseman wrote: I agree that Symantec are a bit of satanic corporation, So you think this is not an insult to the corporation?:) PS. If ever you reply, please direct all the mails to the cygwin-talk mailing list where discussions of this type are on-topic. -- Carlo Florendo Astra Philippines Inc. www.astra.ph -- 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/
RE: passwd group file problems ?
Hi Igor, Also, as your cygcheck output shows, you are in a domain. It's quite possible that the domain controller really is taking more than 30 minutes to return the set of users and groups (for large domains). Yes, as you say, I can see the output from tee and it shows that this will take forever (there are 10's of thousands of users in this domain, and after 15 minutes, it resolved 50 or 60 user, ... so this way madness lies). But this raises a question : on a normal install of cygwin, it does not take 14 days to install cygwin, but if the setup program is also generating a mkpasswd -d then it would also take this time. How is setup doing things differently so that it creates /etc/passwd and /etc/group in a few seconds instead of a few weeks ? mkpasswd -d -l | tee /etc/passwd net user nlwiso as far as I know doesn't tell anything about AD group membership etc. but I'm in a lot of groups, it's a massive corporate network, so the mkpasswd is slow ... Perhaps the local domain (i.e., the current computer) isn't handled in the same way. yep, that is the case in domains. See http://cygwin.com/cygwin-ug-net/ntsec.html. ok, this is very useful. The commands you quoted will have destroyed your /etc/passwd completely. Try re-running the commands I gave you. Did you run mkpasswd -c -l, like I told you? yep, do you mean -c or -d here ? I've done both, -d is taking forever to resolve, -c does resolve, but I still get the same incorrect logon when i do -c with mkpasswd and mkgroup. the commands are running, and I see how things should go I think, but i'm still left wondering, how can setup.exe do in 1 minute what mkpasswd -d -l /etc/passwd is looking to take days or weeks to complete (there seriously are 10's of thousands of users on that emea domain so it would take forever at the speed I was seeing) ? Regards, Roy. ___ How much free photo storage do you get? Store your holiday snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com -- 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/
RE: passwd group file problems ?
Original Message From: Roy Wiseman Sent: 09 June 2005 22:05 (can't say I liked the insult much Dave, but my mistake was accidental you know. Maybe it's a Scottish thing that we treat people with respect until they disrespect us, I guess we don't think we should have to put up with insults from anyone, ... we're stubborn that way !). I'm stubborn too, but thank you for not quoting my raw email address any more! cheers, DaveK -- Can't think of a witty .sigline today -- 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/
RE: passwd group file problems ?
At 04:56 AM 6/10/2005, you wrote: Did you run mkpasswd -c -l, like I told you? yep, do you mean -c or -d here ? I've done both, -d is taking forever to resolve, -c does resolve, but I still get the same incorrect logon when i do -c with mkpasswd and mkgroup. the commands are running, and I see how things should go I think, but i'm still left wondering, how can setup.exe do in 1 minute what mkpasswd -d -l /etc/passwd is looking to take days or weeks to complete (there seriously are 10's of thousands of users on that emea domain so it would take forever at the speed I was seeing) ? Look at '/etc/postinstall/passwd-grp.sh.done'. This is the postinstall script that's run to generate '/etc/passwd' and '/etc/group' initially during install. Then take a look at 'man mkpasswd' and 'man mkgroup' to get a better understanding of the switches you see used there. If there is more than 1 domain but you only care about one, you can specify that domain name with '-d' and speed things up a bit. But if you need all users from all domains, you're stuck with your slow domain. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 -- 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/
RE: passwd group file problems ?
Original Message From: Larry Hall Sent: 10 June 2005 14:55 At 04:56 AM 6/10/2005, you wrote: Did you run mkpasswd -c -l, like I told you? yep, do you mean -c or -d here ? I've done both, -d is taking forever to resolve, -c does resolve, but I still get the same incorrect logon when i do -c with mkpasswd and mkgroup. the commands are running, and I see how things should go I think, but i'm still left wondering, how can setup.exe do in 1 minute what mkpasswd -d -l /etc/passwd is looking to take days or weeks to complete (there seriously are 10's of thousands of users on that emea domain so it would take forever at the speed I was seeing) ? If there is more than 1 domain but you only care about one, you can specify that domain name with '-d' and speed things up a bit. But if you need all users from all domains, you're stuck with your slow domain. Since Roy is installing cygwin to a whole load of machines, and assuming that they're all in the same domain, it ought to be possible to run mkpasswd -d domain-passwd and mkgroup -d domain-group just once each, bundle the two output files up along with the rest of the distribution he's been installing, then on each new machine, after installing, you'd run a little script like mkpasswd -l /etc/passwd mkgroup -l /etc/group cat domain-passwd /etc/passwd cat domain-group /etc/group That ought to speed up the per-machine install time quite nicely, shouldn't it? Or is there some reason it wouldn't work? cheers, DaveK -- Can't think of a witty .sigline today -- 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/
RE: passwd group file problems ?
At 10:12 AM 6/10/2005, you wrote: Original Message From: Larry Hall Sent: 10 June 2005 14:55 At 04:56 AM 6/10/2005, you wrote: Did you run mkpasswd -c -l, like I told you? yep, do you mean -c or -d here ? I've done both, -d is taking forever to resolve, -c does resolve, but I still get the same incorrect logon when i do -c with mkpasswd and mkgroup. the commands are running, and I see how things should go I think, but i'm still left wondering, how can setup.exe do in 1 minute what mkpasswd -d -l /etc/passwd is looking to take days or weeks to complete (there seriously are 10's of thousands of users on that emea domain so it would take forever at the speed I was seeing) ? If there is more than 1 domain but you only care about one, you can specify that domain name with '-d' and speed things up a bit. But if you need all users from all domains, you're stuck with your slow domain. Since Roy is installing cygwin to a whole load of machines, and assuming that they're all in the same domain, it ought to be possible to run mkpasswd -d domain-passwd and mkgroup -d domain-group just once each, bundle the two output files up along with the rest of the distribution he's been installing, then on each new machine, after installing, you'd run a little script like mkpasswd -l /etc/passwd mkgroup -l /etc/group cat domain-passwd /etc/passwd cat domain-group /etc/group That ought to speed up the per-machine install time quite nicely, shouldn't it? Or is there some reason it wouldn't work? Not that I can see. I'm not sure whether or not Roy's complaint was aimed at the time it takes to do this once or a lamenting of how this will slow down a multi-machine rollout in the same domain. I responded as if it were the former. But if it's the latter, your response is more suitable. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 -- 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/
passwd group file problems ?
Hello, I work in a corporate environment, with very limited internet access, and I want to distribute cygwin to some sysadmins who can make good use of these tools. I cannot run the cygwin setup across the internet, and I do not want to download all the binaries to put on the server. We want to package a specific subset of cygwin that we require into a package that we can distribute to sysadmins. I've done this and it works very well, except for the passwd and group security information generation which is tied to the machine the install was done on, and I have no idea how to change this. The message I get on running cygwin.bat on any other system but the one where it is installed is : C:\cygwincygwin Your group is currently mkpasswd. This indicates that the /etc/passwd (and possibly /etc/group) files should be rebuilt. See the man pages for mkpasswd and mkgroup then, for example, run mkpasswd -l [-d] /etc/passwd mkgroup -l [-d] /etc/group Note that the -d switch is necessary for domain users. I expect this is to do with the passwd and group files from what I know of unix, and these instructions have something to do with the solution, but I have tried these commands in every possible way that I can think of, but cannot get this error to disappear and properly register cygwin for the user. I've tried googling and all the commands I can think of, but I'm stumped. Please, can someone tell me how to correct this in the cygwin system so that I can distribute it to the sysadmins that would like to use these excellent tools ? Thanks Best Regards, Roy Wiseman. ___ How much free photo storage do you get? Store your holiday snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com -- 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/
Re: passwd group file problems ?
* Roy Wiseman (2005-06-09 13:34 +0100) Hello, I work in a corporate environment, with very limited internet access, and I want to distribute cygwin to some sysadmins who can make good use of these tools. I cannot run the cygwin setup across the internet, and I do not want to download all the binaries to put on the server. We want to package a specific subset of cygwin that we require into a package that we can distribute to sysadmins. I've done this and it works very well, except for the passwd and group security information generation which is tied to the machine the install was done on, and I have no idea how to change this. The message I get on running cygwin.bat on any other system but the one where it is installed is : C:\cygwincygwin Your group is currently mkpasswd. This indicates that the /etc/passwd (and possibly /etc/group) files should be rebuilt. See the man pages for mkpasswd and mkgroup then, for example, run mkpasswd -l [-d] /etc/passwd mkgroup -l [-d] /etc/group Note that the -d switch is necessary for domain users. I expect this is to do with the passwd and group files from what I know of unix, and these instructions have something to do with the solution, but I have tried these commands in every possible way that I can think of, but cannot get this error to disappear and properly register cygwin for the user. I've tried googling and all the commands I can think of, but I'm stumped. Please, can someone tell me how to correct this in the cygwin system so that I can distribute it to the sysadmins that would like to use these excellent tools ? If in a domain, use -d. Read /etc/postinstall/passwd-grp.sh.done and /etc/profile. It all depends how you log on: domain or local account. -- 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/
Re: passwd group file problems ?
On Thu, 9 Jun 2005, Roy Wiseman wrote: Hello, I work in a corporate environment, with very limited internet access, and I want to distribute cygwin to some sysadmins who can make good use of these tools. I cannot run the cygwin setup across the internet, and I do not want to download all the binaries to put on the server. We want to package a specific subset of cygwin that we require into a package that we can distribute to sysadmins. I've done this and it works very well, I would be a bit cautious in this situation. It's true that most Cygwin programs will work just fine when copied from machine to machine. However, some other things, specifically hard and symbolic links, are created during the postinstall phase, and may be specific to the installation machine. Unless the other machines have exactly the same configuration, there may be inconsistencies in the copied installation. You'll also need to replicate the mounts, which I suspect is your current problem anyway. Run 'mount -m /mounts.bat' on the machine you use as the template installation, and run /mounts.bat after copying. And you will need to regenerate /etc/passwd and /etc/group (since that information is also machine-specific). You can add the two commands reported (mkpasswd and mkgroup) to the end of /mounts.bat. except for the passwd and group security information generation which is tied to the machine the install was done on, and I have no idea how to change this. The message I get on running cygwin.bat on any other system but the one where it is installed is : C:\cygwincygwin Your group is currently mkpasswd. This indicates that the /etc/passwd (and possibly /etc/group) files should be rebuilt. See the man pages for mkpasswd and mkgroup then, for example, run mkpasswd -l [-d] /etc/passwd mkgroup -l [-d] /etc/group Note that the -d switch is necessary for domain users. I expect this is to do with the passwd and group files from what I know of unix, and these instructions have something to do with the solution, but I have tried these commands in every possible way that I can think of, but cannot get this error to disappear and properly register cygwin for the user. I've tried googling and all the commands I can think of, but I'm stumped. Please, can someone tell me how to correct this in the cygwin system so that I can distribute it to the sysadmins that would like to use these excellent tools? It would have been better had you followed the instructions in the Cygwin problem reporting guidelines at http://cygwin.com/problems.html and attached the output of cygcheck -svr on the failing system. Without that information, the above guess (missing mounts) is all I can offer. HTH, Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! The Sun will pass between the Earth and the Moon tonight for a total Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT -- 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/
Re: passwd group file problems ?
Hi Igor, those mount commands don't seem to do much for this situation. same problems. you mention the hard and symbolic links, are created during the postinstall phase. this is very interesting, are there no commands to make that process rerun outside of the postinstall phase ? I've attached my cygcheck.out file here. my current situation is : - mkpasswd (with -l and/or -d) does nothing, this command hangs for over 30 minutes, and does nothing - mkgroup (with -l and/or -d) does nothing, this command hangs for over 30 minutes, and does nothing - mount -m /mounts.bat is no help, same errors apply. - is there some way to make the postinstall process kick off again, outside of the setup process ? Best Regards, Roy. --- Igor Pechtchanski [EMAIL PROTECTED] wrote: On Thu, 9 Jun 2005, Roy Wiseman wrote: Hello, I work in a corporate environment, with very limited internet access, and I want to distribute cygwin to some sysadmins who can make good use of these tools. I cannot run the cygwin setup across the internet, and I do not want to download all the binaries to put on the server. We want to package a specific subset of cygwin that we require into a package that we can distribute to sysadmins. I've done this and it works very well, I would be a bit cautious in this situation. It's true that most Cygwin programs will work just fine when copied from machine to machine. However, some other things, specifically hard and symbolic links, are created during the postinstall phase, and may be specific to the installation machine. Unless the other machines have exactly the same configuration, there may be inconsistencies in the copied installation. You'll also need to replicate the mounts, which I suspect is your current problem anyway. Run 'mount -m /mounts.bat' on the machine you use as the template installation, and run /mounts.bat after copying. And you will need to regenerate /etc/passwd and /etc/group (since that information is also machine-specific). You can add the two commands reported (mkpasswd and mkgroup) to the end of /mounts.bat. except for the passwd and group security information generation which is tied to the machine the install was done on, and I have no idea how to change this. The message I get on running cygwin.bat on any other system but the one where it is installed is : C:\cygwincygwin Your group is currently mkpasswd. This indicates that the /etc/passwd (and possibly /etc/group) files should be rebuilt. See the man pages for mkpasswd and mkgroup then, for example, run mkpasswd -l [-d] /etc/passwd mkgroup -l [-d] /etc/group Note that the -d switch is necessary for domain users. I expect this is to do with the passwd and group files from what I know of unix, and these instructions have something to do with the solution, but I have tried these commands in every possible way that I can think of, but cannot get this error to disappear and properly register cygwin for the user. I've tried googling and all the commands I can think of, but I'm stumped. Please, can someone tell me how to correct this in the cygwin system so that I can distribute it to the sysadmins that would like to use these excellent tools? It would have been better had you followed the instructions in the Cygwin problem reporting guidelines at http://cygwin.com/problems.html and attached the output of cygcheck -svr on the failing system. Without that information, the above guess (missing mounts) is all I can offer. HTH, Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_ [EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! The Sun will pass between the Earth and the Moon tonight for a total Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT -- 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/ ___ How much free photo storage do you get? Store your holiday snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com Cygwin Configuration Diagnostics Current System Time: Thu Jun 09 17:08:20 2005 Windows XP Professional Ver 5.1 Build 2600 Service Pack 1 Path: C:\cygwin\usr\local\bin C:\cygwin\bin C:\cygwin\bin C:\cygwin\usr\X11R6\bin c:\WINNT\system32 c:\WINNT c:\WINNT\System32\Wbem c:\Program Files\Citrix\ICA Client_01 c:\CmdTools c:\DOSTOOLS c:\WINNT\Microsoft.NET\Framework\v1.1.4322
Re: passwd group file problems ?
Hi, I guess the main question that I'm asking from the below is : on a clean system without cygwin where setup.exe is run, after the files have been installed to c:\cygwin (or wherever), how do I run the process that binds/registers these files into a working cygwin system ? (i.e. the process that deals with mount points, security files and hard / symbolic links). this process is obviously run every time that setup.exe is run, so is this procedure a secret locked in setup.exe which, instead of a well known process that anyone can run ? I think if I can find out this process, then all the problems that I have will be very simply solved completely :) Best Regards, Roy. --- Roy Wiseman [EMAIL PROTECTED] wrote: Hi Igor, those mount commands don't seem to do much for this situation. same problems. you mention the hard and symbolic links, are created during the postinstall phase. this is very interesting, are there no commands to make that process rerun outside of the postinstall phase ? I've attached my cygcheck.out file here. my current situation is : - mkpasswd (with -l and/or -d) does nothing, this command hangs for over 30 minutes, and does nothing - mkgroup (with -l and/or -d) does nothing, this command hangs for over 30 minutes, and does nothing - mount -m /mounts.bat is no help, same errors apply. - is there some way to make the postinstall process kick off again, outside of the setup process ? Best Regards, Roy. --- Igor Pechtchanski [EMAIL PROTECTED] wrote: On Thu, 9 Jun 2005, Roy Wiseman wrote: Hello, I work in a corporate environment, with very limited internet access, and I want to distribute cygwin to some sysadmins who can make good use of these tools. I cannot run the cygwin setup across the internet, and I do not want to download all the binaries to put on the server. We want to package a specific subset of cygwin that we require into a package that we can distribute to sysadmins. I've done this and it works very well, I would be a bit cautious in this situation. It's true that most Cygwin programs will work just fine when copied from machine to machine. However, some other things, specifically hard and symbolic links, are created during the postinstall phase, and may be specific to the installation machine. Unless the other machines have exactly the same configuration, there may be inconsistencies in the copied installation. You'll also need to replicate the mounts, which I suspect is your current problem anyway. Run 'mount -m /mounts.bat' on the machine you use as the template installation, and run /mounts.bat after copying. And you will need to regenerate /etc/passwd and /etc/group (since that information is also machine-specific). You can add the two commands reported (mkpasswd and mkgroup) to the end of /mounts.bat. except for the passwd and group security information generation which is tied to the machine the install was done on, and I have no idea how to change this. The message I get on running cygwin.bat on any other system but the one where it is installed is : C:\cygwincygwin Your group is currently mkpasswd. This indicates that the /etc/passwd (and possibly /etc/group) files should be rebuilt. See the man pages for mkpasswd and mkgroup then, for example, run mkpasswd -l [-d] /etc/passwd mkgroup -l [-d] /etc/group Note that the -d switch is necessary for domain users. I expect this is to do with the passwd and group files from what I know of unix, and these instructions have something to do with the solution, but I have tried these commands in every possible way that I can think of, but cannot get this error to disappear and properly register cygwin for the user. I've tried googling and all the commands I can think of, but I'm stumped. Please, can someone tell me how to correct this in the cygwin system so that I can distribute it to the sysadmins that would like to use these excellent tools? It would have been better had you followed the instructions in the Cygwin problem reporting guidelines at http://cygwin.com/problems.html and attached the output of cygcheck -svr on the failing system. Without that information, the above guess (missing mounts) is all I can offer. HTH, Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! The Sun will pass between the Earth and the Moon tonight for a total Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT -- Unsubscribe
RE: passwd group file problems ?
Original Message From: Roy Wiseman Sent: 09 June 2005 16:16 I've attached my cygcheck.out file here. You have multiple incompatible copies of cygwin1.dll in the $PATH; that's an absolute no-no. 1158k 2005/04/01 C:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0 cygwin1.dll v0.0 ts=2005/4/1 20:40 Cygwin DLL version info: DLL version: 1.5.14 DLL epoch: 19 DLL bad signal mask: 19005 DLL old termios: 5 DLL malloc env: 28 API major: 0 API minor: 126 Shared data: 4 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: Fri Apr 1 13:40:00 EST 2005 Shared id: cygwin1S4 224k 2003/08/09 c:\CmdTools\cygncurses7.dll - os=4.0 img=1.0 sys=4.0 cygncurses7.dll v0.0 ts=2003/8/9 11:24 1085k 2004/01/19 c:\CmdTools\cygwin1.dll - os=4.0 img=1.0 sys=4.0 cygwin1.dll v0.0 ts=2004/1/19 6:43 Cygwin DLL version info: DLL version: 1.5.6 DLL epoch: 19 DLL bad signal mask: 19005 DLL old termios: 5 DLL malloc env: 28 API major: 0 API minor: 108 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: Mon Jan 19 00:43:36 EST 2004 CVS tag: cr-0x9d Shared id: cygwin1S3 Warning: There are multiple cygwin1.dlls on your path cheers, DaveK -- Can't think of a witty .sigline today -- 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/
RE: passwd group file problems ?
ok, thanks Dave, do you know which I should remove to fix that and any settings that I should change ? (I don't know how this could have happened as well, as I did a fresh installation in a single step and captured it in Wise Package Studio to see every file and registry change made to the system, so it seems very strange that this could have happened). --- Dave Korn [EMAIL PROTECTED] wrote: Original Message From: Roy Wiseman Sent: 09 June 2005 16:16 I've attached my cygcheck.out file here. You have multiple incompatible copies of cygwin1.dll in the $PATH; that's an absolute no-no. 1158k 2005/04/01 C:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0 cygwin1.dll v0.0 ts=2005/4/1 20:40 Cygwin DLL version info: DLL version: 1.5.14 DLL epoch: 19 DLL bad signal mask: 19005 DLL old termios: 5 DLL malloc env: 28 API major: 0 API minor: 126 Shared data: 4 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: Fri Apr 1 13:40:00 EST 2005 Shared id: cygwin1S4 224k 2003/08/09 c:\CmdTools\cygncurses7.dll - os=4.0 img=1.0 sys=4.0 cygncurses7.dll v0.0 ts=2003/8/9 11:24 1085k 2004/01/19 c:\CmdTools\cygwin1.dll - os=4.0 img=1.0 sys=4.0 cygwin1.dll v0.0 ts=2004/1/19 6:43 Cygwin DLL version info: DLL version: 1.5.6 DLL epoch: 19 DLL bad signal mask: 19005 DLL old termios: 5 DLL malloc env: 28 API major: 0 API minor: 108 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: Mon Jan 19 00:43:36 EST 2004 CVS tag: cr-0x9d Shared id: cygwin1S3 Warning: There are multiple cygwin1.dlls on your path cheers, DaveK -- Can't think of a witty .sigline today -- 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/ ___ Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com -- 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/
RE: passwd group file problems ?
Original Message From: Roy Wiseman Sent: 09 June 2005 16:58 ok, thanks Dave, do you know which I should remove to fix that and any settings that I should change ? (I don't know how this could have happened as well, as I did a fresh installation in a single step and captured it in Wise Package Studio to see every file and registry change made to the system, so it seems very strange that this could have happened). --- Dave Korn dave.korn RGHHH artimi NOo com wrote: ^^ Heh. The first settings you should change are in your mailer: http://cygwin.com/acronyms#PCYMTNQREAIYR please! As to how they got there, you appear to have some pre-existing http://cygwin.com/acronyms#3PP package called 'CmdTools' installed on that PC, which is cygwin-based and has stale and conflicting versions of various libraries and dlls in it. Get rid of it and then have another go with mkpasswd/mkgroup. cheers, DaveK -- Can't think of a witty .sigline today -- 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/
Re: passwd group file problems ?
Ugh, top-posting. Reformatted. On Thu, 9 Jun 2005, Roy Wiseman wrote: --- Igor Pechtchanski [EMAIL PROTECTED] wrote: http://cygwin.com/acronyms/#PCYMTNQREAIYR. Thanks. On Thu, 9 Jun 2005, Roy Wiseman wrote: Hello, I work in a corporate environment, with very limited internet access, and I want to distribute cygwin to some sysadmins who can make good use of these tools. I cannot run the cygwin setup across the internet, and I do not want to download all the binaries to put on the server. We want to package a specific subset of cygwin that we require into a package that we can distribute to sysadmins. I've done this and it works very well, I would be a bit cautious in this situation. It's true that most Cygwin programs will work just fine when copied from machine to machine. However, some other things, specifically hard and symbolic links, are created during the postinstall phase, and may be specific to the installation machine. Unless the other machines have exactly the same configuration, there may be inconsistencies in the copied installation. You'll also need to replicate the mounts, which I suspect is your current problem anyway. Run 'mount -m /mounts.bat' on the machine you use as the template installation, and run /mounts.bat after copying. And you will need to regenerate /etc/passwd and /etc/group (since that information is also machine-specific). You can add the two commands reported (mkpasswd and mkgroup) to the end of /mounts.bat. except for the passwd and group security information generation which is tied to the machine the install was done on, and I have no idea how to change this. The message I get on running cygwin.bat on any other system but the one where it is installed is : C:\cygwincygwin Your group is currently mkpasswd. This indicates that the /etc/passwd (and possibly /etc/group) files should be rebuilt. See the man pages for mkpasswd and mkgroup then, for example, run mkpasswd -l [-d] /etc/passwd mkgroup -l [-d] /etc/group Note that the -d switch is necessary for domain users. I expect this is to do with the passwd and group files from what I know of unix, and these instructions have something to do with the solution, but I have tried these commands in every possible way that I can think of, but cannot get this error to disappear and properly register cygwin for the user. I've tried googling and all the commands I can think of, but I'm stumped. Please, can someone tell me how to correct this in the cygwin system so that I can distribute it to the sysadmins that would like to use these excellent tools? It would have been better had you followed the instructions in the Cygwin problem reporting guidelines at http://cygwin.com/problems.html and attached the output of cygcheck -svr on the failing system. Without that information, the above guess (missing mounts) is all I can offer. Hi Igor, those mount commands don't seem to do much for this situation. same problems. Have you *run* /mounts.bat on the target machine? It's unclear whether your cygcheck output is from the original installation machine or the new machine. Regardless, it shows a few unrelated problems with the machine. First off, you *do* have multiple Cygwin1.dll's in your path -- very nasty, and likely to bite you at some point soon. Secondly, some application (presumably Norton Ghost) has inserted a quoted string into your PATH, which confuses Cygwin. Remove the quotes from the PATH. Also, as your cygcheck output shows, you are in a domain. It's quite possible that the domain controller really is taking more than 30 minutes to return the set of users and groups (for large domains). The -u/-g options of mkpasswd/mkgroup respectively may be helpful. you mention the hard and symbolic links, are created during the postinstall phase. this is very interesting, are there no commands to make that process rerun outside of the postinstall phase ? Sure, they're just scripts. One potential problem is that some postinstall scripts create files, and don't modify them once those files are created. They rely on a pristine installation to get the files right. So, if you have such files on the source machine, they may not be correct on the target machine... I've attached my cygcheck.out file here. my current situation is : - mkpasswd (with -l and/or -d) does nothing, this command hangs for over 30 minutes, and does nothing I'm a bit skeptical about mkpasswd -l alone taking 30 minutes. Does net user hang also? If mkpasswd hangs only with -d, try (mkpasswd -l -c; mkpasswd -d -u nlwiso) /etc/passwd. - mkgroup (with -l and/or -d) does nothing, this command hangs for over 30 minutes, and does nothing This one's harder, as you'll need to know which groups you're a member of. You could try running net user nlwiso to find out the
RE: passwd group file problems ?
Original Message From: Igor Pechtchanski Sent: 09 June 2005 18:09 likely to bite you at some point soon. Secondly, some application (presumably Norton Ghost) has inserted a quoted string into your PATH, which confuses Cygwin. Remove the quotes from the PATH. At this point, I'd just like to say ${DAVEK_ANTI_NORTON_RANT}, and furthermore, ${DAVEK_ANTI_SYMANTEC_RANT:-${DAVEK_ANTI_NORTON_RANT//NORTON/SYMANTEC}}, while of course it is also true that ${DAVEK_ANTI_MCAFEE_RANT:-${DAVEK_ANTI_SYMANTEC_RANT//SYMANTEC/MCAFEE}}. Also, as your cygcheck output shows, you are in a domain. It's quite possible that the domain controller really is taking more than 30 minutes to return the set of users and groups (for large domains). The -u/-g options of mkpasswd/mkgroup respectively may be helpful. Or indeed running it in such a way that the redirection doesn't prevent you from seeing what's going on, such as: mkpasswd -d -l | tee /etc/passwd which will let you see it spitting out entries one-by-one as the server sends responses. You could try running net user nlwiso to find out the group membership (though I'm not certain how to ensure that the user being queried is EMEA\nlwiso); net user EMEA\nlwiso. It's pretty universal in 'doze that wherever you can put a username, you can put a DOMAIN\user string instead. cheers, DaveK -- Can't think of a witty .sigline today -- 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/
RE: passwd group file problems ?
I agree that Symantec are a bit of satanic corporation, but ... well, Ghost2003 is actually very impressive most of the time (apart from breaking cygwin which is a big problem of course). ok, I've fixed symantec by taking out the 2 in the path and I fixed the cygwin1.dll (it was a copy of testdisk that was in there. testdisk carries it's own old version of cygwin1.dll around with it) then I did the mkpasswd and mkgroup stuff as you suggested ... and this is what I got, but I've no idea what tee it telling me (now I'm on my home system which is non domain, my office ABN Amro system is all the EMEA\nlwiso stuff). This is a lot confusing to me, do you understand this output ? oh, after this, I still get the same error unfortunately. C:\cygwincygwin Your group is currently mkpasswd. This indicates that the /etc/passwd (and possibly /etc/group) files should be rebuilt. See the man pages for mkpasswd and mkgroup then, for example, run mkpasswd -l [-d] /etc/passwd mkgroup -l [-d] /etc/group Note that the -d switch is necessary for domain users. [EMAIL PROTECTED] ~ $ mkpasswd -d -l | tee /etc/passwd mkpasswd (731): [2453] Could not find domain controller for this domain. SYSTEM:*:18:544:,S-1-5-18:: Administrators:*:544:544:,S-1-5-32-544:: Administrator:unused_by_nt/2000/xp:500:513:U-RAID\Administrator,S-1-5-21-1275210 071-1604221776-725345543-500:/home/Administrator:/bin/bash ASPNET:unused_by_nt/2000/xp:1004:513:ASP.NET Machine Account,U-RAID\ASPNET,S-1-5 -21-1275210071-1604221776-725345543-1004:/home/ASPNET:/bin/bash Boss:unused_by_nt/2000/xp:1003:513:U-RAID\Boss,S-1-5-21-1275210071-1604221776-72 5345543-1003:/home/Boss:/bin/bash eric:unused_by_nt/2000/xp:1005:513:U-RAID\eric,S-1-5-21-1275210071-1604221776-72 5345543-1005:/home/eric:/bin/bash Guest:unused_by_nt/2000/xp:501:513:U-RAID\Guest,S-1-5-21-1275210071-1604221776-7 25345543-501:/home/Guest:/bin/bash HelpAssistant:unused_by_nt/2000/xp:1000:513:Remote Desktop Help Assistant Accoun t,U-RAID\HelpAssistant,S-1-5-21-1275210071-1604221776-725345543-1000:/home/HelpA ssistant:/bin/bash SUPPORT_388945a0:unused_by_nt/2000/xp:1002:513:CN=Microsoft Corporation,L=Redmon d,S=Washington,C=US,U-RAID\SUPPORT_388945a0,S-1-5-21-1275210071-1604221776-72534 5543-1002:/home/SUPPORT_388945a0:/bin/bash __ra_ssh_privsep__:unused_by_nt/2000/xp:1008:513:RemotelyAnywhere SSH Privilege Separation User,U-RAID\__ra_ssh_privsep__,S-1-5-21-1275210071-1604221776-7253455 43-1008:/home/__ra_ssh_privsep__:/bin/bash __vmware_user__:unused_by_nt/2000/xp:1007:513:__vmware_user__,U-RAID\__vmware_us er__,S-1-5-21-1275210071-1604221776-725345543-1007:/home/__vmware_user__:/bin/ba sh [EMAIL PROTECTED] ~ $ mkpasswd -l | tee /etc/passwd SYSTEM:*:18:544:,S-1-5-18:: Administrators:*:544:544:,S-1-5-32-544:: Administrator:unused_by_nt/2000/xp:500:513:U-RAID\Administrator,S-1-5-21-1275210 071-1604221776-725345543-500:/home/Administrator:/bin/bash ASPNET:unused_by_nt/2000/xp:1004:513:ASP.NET Machine Account,U-RAID\ASPNET,S-1-5 -21-1275210071-1604221776-725345543-1004:/home/ASPNET:/bin/bash Boss:unused_by_nt/2000/xp:1003:513:U-RAID\Boss,S-1-5-21-1275210071-1604221776-72 5345543-1003:/home/Boss:/bin/bash eric:unused_by_nt/2000/xp:1005:513:U-RAID\eric,S-1-5-21-1275210071-1604221776-72 5345543-1005:/home/eric:/bin/bash Guest:unused_by_nt/2000/xp:501:513:U-RAID\Guest,S-1-5-21-1275210071-1604221776-7 25345543-501:/home/Guest:/bin/bash HelpAssistant:unused_by_nt/2000/xp:1000:513:Remote Desktop Help Assistant Accoun t,U-RAID\HelpAssistant,S-1-5-21-1275210071-1604221776-725345543-1000:/home/HelpA ssistant:/bin/bash SUPPORT_388945a0:unused_by_nt/2000/xp:1002:513:CN=Microsoft Corporation,L=Redmon d,S=Washington,C=US,U-RAID\SUPPORT_388945a0,S-1-5-21-1275210071-1604221776-72534 5543-1002:/home/SUPPORT_388945a0:/bin/bash __ra_ssh_privsep__:unused_by_nt/2000/xp:1008:513:RemotelyAnywhere SSH Privilege Separation User,U-RAID\__ra_ssh_privsep__,S-1-5-21-1275210071-1604221776-7253455 43-1008:/home/__ra_ssh_privsep__:/bin/bash __vmware_user__:unused_by_nt/2000/xp:1007:513:__vmware_user__,U-RAID\__vmware_us er__,S-1-5-21-1275210071-1604221776-725345543-1007:/home/__vmware_user__:/bin/ba sh [EMAIL PROTECTED] ~ $ mkgroup -l | tee /etc/passwd SYSTEM:S-1-5-18:18: None:S-1-5-21-1275210071-1604221776-725345543-513:513: Administrators:S-1-5-32-544:544: Backup Operators:S-1-5-32-551:551: Guests:S-1-5-32-546:546: Network Configuration Operators:S-1-5-32-556:556: Power Users:S-1-5-32-547:547: Remote Desktop Users:S-1-5-32-555:555: Replicator:S-1-5-32-552:552: Users:S-1-5-32-545:545: HelpServicesGroup:S-1-5-21-1275210071-1604221776-725345543-1001:1001: __vmware__:S-1-5-21-1275210071-1604221776-725345543-1006:1006: [EMAIL PROTECTED] ~ $ mkgroup -l -d | tee /etc/passwd Cannot get PDC, code = 2453 SYSTEM:S-1-5-18:18: None:S-1-5-21-1275210071-1604221776-725345543-513:513: Administrators:S-1-5-32-544:544: Backup Operators:S-1-5-32-551:551: Guests:S-1-5-32-546:546: Network Configuration Operators:S-1-5-32-556:556: Power
RE: passwd group file problems ?
Original Message From: Roy Wiseman Sent: 09 June 2005 19:16 [SNIP everything.] Why did you ignore the perfectly polite request I made to you to stop spamming my email address across the web archive? cheers, DaveK -- Can't think of a witty .sigline today -- 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/
RE: passwd group file problems ?
i'm sorry, it was completely unintentional. really did not mean to do that, I pressed reply-all by mistake i think, i did go to the acronym page and read it and noted it, so I did not mean to do that. --- Dave Korn [EMAIL PROTECTED] wrote: Original Message From: Roy Wiseman Sent: 09 June 2005 19:16 [SNIP everything.] Why did you ignore the perfectly polite request I made to you to stop spamming my email address across the web archive? cheers, DaveK -- Can't think of a witty .sigline today -- 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/ ___ How much free photo storage do you get? Store your holiday snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com -- 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/
RE: passwd group file problems ?
Original Message From: Roy Wiseman Sent: 09 June 2005 19:40 i'm sorry, it was completely unintentional. really did not mean to do that, I pressed reply-all by mistake i think, i did go to the acronym page and read it and noted it, so I did not mean to do that. And then you go and IMMEDIATELY do it YET AGAIN. This has now become OFFENSIVE of you; you come across as if you aren't paying the slightest bit of attention to what you're doing or what anyone is saying. --- Dave Korn dave.korn GET A CLUE artimi HOW MANY TIMES com wrote: DO NOT REPLY TO THIS POST, because you're clearly not in control of your own actions and you'll only go and get me spammed again. You can solve your own problems as far as I'm concerned, there's really not a lot of point offering advice to people who aren't going to bother actually reading what I write. cheers, DaveK -- Can't think of a witty .sigline today -- 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/
RE: passwd group file problems ?
Thanks for the insults D A V E . K O R N You say you are offended, and that I am not in control of my own actions (obviously highly offensive, patronising and insulting statements). I am in control of my own actions. You of course have answers that I would like, and yet you dangle them at me in effect with the maturity of a child it seems. I will not get my answers, you will jealously guard them to prove the point about the Linux community being closed and secret and you have insulted me repeatedly here, because you can. You tell me to DO NOT REPLY TO THIS EMAIL, and yet I am not your dog to tell what to do. You treat people with an unbelievable level of disrespect. This is the kind of touch-paper anger that I would expect from a child, not an adult. And yet, of course, as I said, you have answers to something that I would like to know, so you choose to take offence at anything and demean anyone around you that happens to be nearby. by anything, let me explain that : if I made the mistake once of doing a reply all, then the damage was done, that's simplistic logic that a 6 year old child could understand right ? and so repeating the mistake has not affected you in anyway whatsoever (anymore than my original mistake), and that's clear, obvious, logical and undeniable right ? and yet you SCREAM IN CAPITALS, TELLING ME THAT I MUST NOT REPLY and patronise and offend wildly without any concern as you feel that because you have answers to cygwin questions you somehow DEMAND respect from everyone around you. the logic I point out above is undeniable, and yet you act as if I have fncked your mother ... get a grip, I neither fncked your mother or offended you in any way whatsoever ... you *choose* to be offended at anything, and in this case, I did not a single thing to offend you (please read the logical points that I make above for my reasoning). and to continue your incredibly offensive email, you said something like you come across as if you don't pay the slightest attention bla bla something, rant, moan, whine ... that does not follow in the slightest right ??? it takes a real leap of incoherent ranting and unbelievable disrespect for other people to come to that conclusion. i sent an email, that's all, polite, friendly, normal. I do pay attention to others, and I respect everyone I work with, family, freinds, etc. and I even respected you, until you chose to start insulting me for no reason (by no reason, try reading the points of logic that I make above, all completely undeniable). do you know the word tantrum in the english language ? i suspect that you have heard people refering to you with this word often in your life ... thanks for the insults and the rant mate, i would be offended if I could actually see a logical basis behind your rant (by logic, see above). so I made a mistake, you are RIGHT, I made a mistake, I admit it ... i didn't offend you, I didn't insult you, I didn't disrespect you, and I did not do ANY of the things that you accuse me of. so you hold your secret geek-knowledge from me, push someone away from Cygwin, that was really enjoying exploring it, keep that knowledge for yourself and alienate everyone and anyone that doesn't do EXACTLY WHAT YOU TELL THEM TO DO, cos Linux/cygwin is not for polite adults, you want me to fnck off and DO NOT REPLY and all that. ok, so you win, another person who wants nothing to do with rude little fat boys with no girlfriends, all cos I made a mistake, well what a great advert for decent maturity you are ! come and use linux/cygwin, and meet ANGRY ANGRY RANTY ILLOGICAL (see points above) PEOPLE (maybe your girlfriend/boyfriend cheated on you and ran off with a friend leaving you with all this anger, I don't know, all I know if that you insult me without any logic (see points above). I don't know why you have so much hatred for people who have only ever been polite and decent to you. ___ Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com -- 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/
RE: passwd group file problems ?
Yuk, top posting. Reformatted. Please consider pressing Ctrl-End in the Message text area... On Thu, 9 Jun 2005, Roy Wiseman wrote: --- Dave Korn [EMAIL PROTECTED] wrote: ...after changing the first line of the reply quote. As I mentioned, http://cygwin.com/acronyms/#PCYMTNQREAIYR. I know it's Yahoo webmail, so doesn't have much in the way of convenience features, but at worst you'd have to remove the addresses by hand. Anything to avoid helping spammers. If this is sufficiently annoying, perhaps enough Yahoo users will request this feature that Yahoo will give in and implement it. Original Message From: Igor Pechtchanski Sent: 09 June 2005 18:09 likely to bite you at some point soon. Secondly, some application (presumably Norton Ghost) has inserted a quoted string into your PATH, which confuses Cygwin. Remove the quotes from the PATH. At this point, I'd just like to say ${DAVEK_ANTI_NORTON_RANT}, and furthermore, ${DAVEK_ANTI_SYMANTEC_RANT:-${DAVEK_ANTI_NORTON_RANT//NORTON/SYMANTEC}}, while of course it is also true that ${DAVEK_ANTI_MCAFEE_RANT:-${DAVEK_ANTI_SYMANTEC_RANT//SYMANTEC/MCAFEE}}. At this point, Dave, it might pay for you to actually create a web page with the rants and post links... :-p Also, as your cygcheck output shows, you are in a domain. It's quite possible that the domain controller really is taking more than 30 minutes to return the set of users and groups (for large domains). The -u/-g options of mkpasswd/mkgroup respectively may be helpful. Or indeed running it in such a way that the redirection doesn't prevent you from seeing what's going on, such as: mkpasswd -d -l | tee /etc/passwd which will let you see it spitting out entries one-by-one as the server sends responses. Roy, the name after the tee command is, of course, the name of the file you'll be overwriting. In any case, you might want to first get a command running (without any redirection or pipes), and then redirect it in the way I showed you. You could try running net user nlwiso to find out the group membership (though I'm not certain how to ensure that the user being queried is EMEA\nlwiso); net user EMEA\nlwiso. It's pretty universal in 'doze that wherever you can put a username, you can put a DOMAIN\user string instead. Dave, you can be sure I've tried the obvious before posting. It didn't work for me. Perhaps the local domain (i.e., the current computer) isn't handled in the same way. I agree that Symantec are a bit of satanic corporation, but ... well, Ghost2003 is actually very impressive most of the time (apart from breaking cygwin which is a big problem of course). It would have broken other apps as well, just not in such an obviously detectable way. ok, I've fixed symantec by taking out the 2 in the path and I fixed the cygwin1.dll (it was a copy of testdisk that was in there. testdisk carries it's own old version of cygwin1.dll around with it) then I did the mkpasswd and mkgroup stuff as you suggested ... and this is what I got, but I've no idea what tee it telling me (now I'm on my home system which is non domain, my office ABN Amro system is all the EMEA\nlwiso stuff). tee isn't telling you anything, you're seeing the output of mkpasswd (or mkgroup, as the case may be). This is a lot confusing to me, do you understand this output ? See http://cygwin.com/cygwin-ug-net/ntsec.html. oh, after this, I still get the same error unfortunately. C:\cygwincygwin Your group is currently mkpasswd. This indicates that the /etc/passwd (and possibly /etc/group) files should be rebuilt. See the man pages for mkpasswd and mkgroup then, for example, run mkpasswd -l [-d] /etc/passwd mkgroup -l [-d] /etc/group Note that the -d switch is necessary for domain users. The commands you quoted will have destroyed your /etc/passwd completely. Try re-running the commands I gave you. [EMAIL PROTECTED] ~ $ mkpasswd -d -l | tee /etc/passwd mkpasswd (731): [2453] Could not find domain controller for this domain. This is a problem. Are you on the network when you run this command? If not, the delay may be mkpasswd waiting for domain controller connections to time out. Did you run mkpasswd -c -l, like I told you? [EMAIL PROTECTED] ~ $ mkpasswd -l | tee /etc/passwd This just overwrote /etc/passwd generated in the previous run. [EMAIL PROTECTED] ~ $ mkgroup -l | tee /etc/passwd Ditto, and this time it's with the output of mkgroup. [EMAIL PROTECTED] ~ $ mkgroup -l -d | tee /etc/passwd Cannot get PDC, code = 2453 As you see, the primary domain controller is inaccessible. Do you need to be on a VPN or something to log in to the domain? Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor
RE: passwd group file problems ?
thanks Igor, and also Dave, I totally appreciate both of your time on this (can't say I liked the insult much Dave, but my mistake was accidental you know. Maybe it's a Scottish thing that we treat people with respect until they disrespect us, I guess we don't think we should have to put up with insults from anyone, ... we're stubborn that way !). I'll work through your explanations tomorrow Igor. I had no idea there was so much going on under cygwin, I kind of assumed that the bunch-of-files and configuration information sat in the cygwin folder, until at runtime when the bash shell was invoked, the cygwin dll somehow bound all the files together into a workable system at that point. clearly a lot more going on there, but very interesting to see how it all works together. cheers, roy. ___ How much free photo storage do you get? Store your holiday snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com -- 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/
RE: passwd group file problems ?
Roy Wiseman wrote: I agree that Symantec are a bit of satanic corporation, Wow, I've never heard it put so correctly and succinctly. Perhaps the new Pope can help us all out and exorcise Symantec, McAffe, and Google Desktop Search. -- Gary R. Van Sickle -- 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/