This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
ssh-host-config: "mkpasswd -l -u sshd"; should it be "-d" on domain controller?
- From: Tom Rodman <nicebounce at trodman dot com>
- To: cygwin at cygwin dot com
- Date: Fri, 24 Oct 2003 13:38:50 -0500
- Subject: ssh-host-config: "mkpasswd -l -u sshd"; should it be "-d" on domain controller?
- Reply-to: Tom Rodman <nicebounce at trodman dot com>
consider:
bash-2.05b$ uname -r; grep mkpasswd /bin/ssh-host-config
1.5.5(0.94/3/2)
mkpasswd -l -u sshd | sed -e 's/bash$/false/' >> ${SYSCONFDIR}/passwd
Does "mkpasswd -l" make any sense on a domain controller?
On an NT domain controller I tested
mkpasswd -d -u sshd | sed -e 's/bash$/false/' >> /etc/passwd
and "ssh localhost" worked fine after stopping and starting sshd. The '-d"
option creates a user entry that apparently has the same SID, but
different uid offset.
Using only the "-d" switch on a domain controller would simplify
the cron script I use to automatically rebuild /etc/passwd.
--
thank/regards,
Tom Rodman
pls run for my address:
perl -e 'print unpack("u", "1\:6UP\,\$\!T\<F\]D\;6\%N\+F\-O\;0H\`");'
--
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/