On Mon, Jan 2, 2017 at 12:20 PM, Laslo Hunhold wrote:
> yes, let's keep it as simple as possible. Do the others feel okay with
> adding nologin(1)?
I think it falls under the umbrella of "unix tools that are inherently
portable."
On Tue, 27 Dec 2016 16:57:11 +0100
Mattias Andrée wrote:
Hey Mattias,
> util-linux support /etc/nologin.txt, but it doesn't
> look like other implementations do. I can't think of
> any use case that cannot be solved better with
> existing tools, so it can be removed.
yes, let's keep it as simpl
On Tue, 27 Dec 2016 12:14:58 +0100
Laslo Hunhold wrote:
> On Mon, 4 Apr 2016 13:22:05 +0200
> Mattias Andrée wrote:
>
> Hey Mattias,
>
> >
>
> do we really need the option to specify an "input file"?
> Even the shadow-utils do not support an input file.
util-linux support /etc/nologin.txt
On Mon, 4 Apr 2016 13:22:05 +0200
Mattias Andrée wrote:
Hey Mattias,
>
do we really need the option to specify an "input file"? Even the
shadow-utils do not support an input file.
Cheers
Laslo
--
Laslo Hunhold
On Mon, 4 Apr 2016 14:30:38 +0200
Mattias Andrée wrote:
> On Mon, 4 Apr 2016 09:24:52 -0300
> Lucas Gabriel Vuotto wrote:
>
> > On 04/04/16 08:22, Mattias Andrée wrote:
> > > +int
> > > +main(void)
> > > +{
> > > + FILE *fp;
> > > + if ((fp = fopen(NOLOGIN_PATH, "r"))) {
> > > + conca
On Mon, 4 Apr 2016 09:24:52 -0300
Lucas Gabriel Vuotto wrote:
> On 04/04/16 08:22, Mattias Andrée wrote:
> > +int
> > +main(void)
> > +{
> > + FILE *fp;
> > + if ((fp = fopen(NOLOGIN_PATH, "r"))) {
> > + concat(fp, NOLOGIN_PATH, stdout,
> > "");
> > + fshut(fp, NOLOGIN_PAT
On 04/04/16 08:22, Mattias Andrée wrote:
Signed-off-by: Mattias Andrée
---
Makefile | 124 +++
config.def.h | 1 +
nologin.8| 21 ++
nologin.c| 19 +
4 files changed, 158 insertions(+), 7 deletions(-)
cre
Signed-off-by: Mattias Andrée
---
Makefile | 124 +++
config.def.h | 1 +
nologin.8| 21 ++
nologin.c| 19 +
4 files changed, 158 insertions(+), 7 deletions(-)
create mode 100644 config.def.h
create mode 100