This is the mail archive of the
cygwin
mailing list for the Cygwin project.
cygwin virtual user
- From: Jaspreet Singh <jaspreet_online2000 at yahoo dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 13 May 2008 18:35:49 +0530 (IST)
- Subject: cygwin virtual user
- Reply-to: jaspreet_online2000 at yahoo dot com
just a qus?
can we create virtual user in /etc/passwd file
like for real user entry is
test:unused_by_nt/2000/xp:real_UID:real_GID:name,U-PC\test,real_SID:/home/test:/bin/bash
Now above is the real userstring for real user 'test'. can i create a virtual user in cygwin /etc/passwd with values of real user 'test'.
like for virtual user entry is
XXXX:unused_by_nt/2000/xp:real_UID:real_GID:name,U-PC\test,real_SID:/home/XXXX:/bin/false
you can see that only login name, home dir and shell is changed.
now i just want to know that how can XXXX login with /bin/bash, that doesn't matter. Real thing i want to know is that does this will work with ssh and telnet if i change shell to be /bin/bash and does it work with UW-IMAP, proftpd and UW-POP. like they recognize this user as a real user.
Anybody got any idea ?
Hey i got something else for cygwin users. I create perl script's for useradd, userdel, usermod, groupadd, groupmod and groupdel that works fine on windows XP sp2 (My System). It can also create user and group with same name. Code is really messy as i am newbi to perl. just started perl 4 days ago.
Anybody like to try it.
Best Jokes, Best Friends, Best Food and more. Go to http://in.promos.yahoo.com/groups/bestofyahoo/
--
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/