ubase

suckless linux base utils
git clone git://git.suckless.org/ubase
Log | Files | Refs | README | LICENSE

nologin.8 (399B)


      1 .Dd March 26, 2016
      2 .Dt NOLOGIN 8
      3 .Os ubase
      4 .Sh NAME
      5 .Nm nologin
      6 .Nd refuse login
      7 .Sh SYNOPSIS
      8 .Nm
      9 .Sh DESCRIPTION
     10 .Nm
     11 prints a message informing the user that she
     12 is not allowed to log in. If /etc/nologin.txt
     13 exists, its content is printed instead of
     14 the default message.
     15 .Pp
     16 .Nm
     17 is intended to be specified as the user's
     18 default shell.
     19 .Sh EXIT STATUS
     20 .Nm
     21 returns a status code indicating failure.