This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Where is /bin/nologin


On Thu, Oct 13, 2011 at 11:37:19AM -0700, gwodus wrote:
> 
> I am missing /bin/nologin. 
> 
> I need to disable shell access for a user. But it still needs to be able to
> accept ssh connects for tunnel only  for that user (ssh -N ...). 
> 
> On Linux I would set the login shell in /etc/passed to /sbin/nologin. But I
> can't find it on cygwin.
> 
> Is there a certain cygwin package I need to install?
> 
> Thanks in advance, 
> gwodus.

Does /bin/false serve that purpose?

-- 
Huella de clave primaria: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56

Attachment: signature.asc
Description: Digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]