Anything goes

random and perhaps useful information

Saturday, May 05, 2012

Adding current user in Cygwin under a domain account

If you are in a domain, it is sometimes the case that running mkpasswd -d takes an extremely great amount of time. If you want to add only the current user, try the following.

mkpasswd -c >>/etc/passwd
mkgroup -c >>/etc/passwd


Create a home directory

mkdir /home/<username>

Reference (http://cygwin.com/ml/cygwin/2009-01/msg00709.html)
Posted by tsengf at 10:56 AM
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Search This Blog

Pages

  • Main blog
  • About this blog
  • Contact me

Popular Posts

  • DD-WRT on Belkin Share Max N300 (F7D7301)
  • DD-WRT client bridge mode
  • Installing SSH server in Cygwin on Windows 7
  • Install linux using PXE boot with tftp hosted on Windows
  • Configure bridge mode on the 2Wire 2701HG-B Gateway
  • How do I remove .nfs files?
  • Installing sendmail in Cygwin
  • Send Email from the command line in Ubuntu 11.10
  • Convert a space-separated string into array in Bash
  • Play youtube audio from the command line on Raspberry Pi

Labels

android bmw c car cygwin ddwrt emacs freshtomato gmail htpc libreelec linux network openwrt otg pihole pizero politics raspberrypi raspbian repair shopping technology usb utility windows wrt x1
Powered by Blogger.