Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Jan 1999 14:30:44 +0200
From:      "Sergey V. Saley" <saley@megastyle.com>
To:        <questions@FreeBSD.ORG>
Subject:   Problem with login.conf
Message-ID:  <199801161224.OAA01035@service.megastyle.com>

next in thread | raw e-mail | index | archive | help
Hi!

I've got a problem with defining sessionlimit permission in login.conf
 I don't want to log in dialin users more then 1 tty in the same time.
 (You can see class ISPUSER in attached file)
 But it not work ...
 (I've tried sessionlimit=1, sessionlimit#1 - result is the same)
 May be I've got some mistakes ...

WBR, Sergey Saley
MegaStyle
saley@megastyle.com
380 472 451262, 452413, 453276, 452856


begin 666 login.conf
M(R!386UP;&4@;&]G:6XN8V]N9B M(&QO9VEN(&-L87-S(&-A<&%B:6QI=&EE
M<R!D871A8F%S92X*(R!4;R!S<&5E9"!U<"!A8V-E<W,@=&\@=&AI<R!D871A
M+"!Y;W4@8V%N('5S92 O=7-R+V)I;B]C87!?;6MD8@HC('1O(&-R96%T92!A
M(&1A=&%B87-E(&9O<FT@;V8@=&AI<R!F:6QE.@HC"B,)8V%P7VUK9&(@+V5T
M8R]L;V=I;BYC;VYF"B,*(R!$;VXG="!F;W)G970@=&\@9&\@=&AI<R!A9G1E
M<B!E86-H(&5D:70@87,@=V5L;"$*(PHC(%1H:7,@9FEL92!C;VYT<F]L<R!R
M97-O=7)C92!L:6UI=',L(&%C8V]U;G1I;F<@;&EM:71S(&%N9 HC(&1E9F%U
M;'0@=7-E<B!E;G9I<F]N;65N="!S971T:6YG<RX*(PHC"21)9#H@;&]G:6XN
M8V]N9BQV(#$N.2XR+C,@,3DY-R\P-2\R,R Q,CHU.3HQ-B!A8VAE($5X<" D
M"B,*"@HC($%U=&AE;G1I8V%T:6]N(&UE=&AO9',*"F%U=&@M9&5F875L=',Z
M7 H).F%U=&@]:W)B7W-K97E?;W)?<&%S<W=D+'!A<W-W9"QK97)B97)O<RQS
M:V5Y.@H*875T:"UR;V]T+61E9F%U;'1S.EP*"3IA=71H+6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)E<B!!8V-O=6YT<SI<"@DZ=&,]
M9&EA;&5R.EP*"3IT8SUS=6)S8W)I8F5R.@H*"G-U8G-L:7!\4TQ)4"!3=6)S
M8W)I8F5R($%C8V]U;G1S.EP*"3IT8SUD:6%L97(Z7 H).G1C/7-U8G-C<FEB
M97(Z"@H*<W5B<VAE;&PZ4VAE;&P@4W5B<V-R:6)E<B!!8V-O=6YT<SI<"@DZ
M=&,]<W5B<V-R:6)E<CH*"@HC"B,@4G5S<VEA;B!5<V5R<R!!8V-O=6YT<RX@
M4V5T=7 @<')O<&5R(&5N=FER;VYM96YT('9A<FEA8FQE<RX*(PIR=7-S:6%N
M.E)U<W-I86X@57-E<G,@06-C;W5N=',Z7 H).F-H87)S970]2T])."U2.EP*
M"3IL86YG/7)U7U)5+DM/23@M4CI<"@DZ=&,]9&5F875L=#H*"DE34%5315(Z
M56YL:6UI=&5D(&]N;&EN92!S97)V:6-E('5S97)S.EP*(" @(" @(" Z86-C
M;W5N=&5D.EP*(" @(" @(" Z='1Y+F%C8V]U;G1E9#UD:6%L=7 Z7 H@(" @
M(" @(#IT='DN86QL;W<]9&EA;'5P.EP*(" @(" @(" Z<V5S<VEO;FQI;6ET
M(S$Z7 H@(" @(" @(#II9&QE=&EM93TR,&TZ7 H@(" @(" @(#IR97%U:7)E
M:&]M93I<"B @(" @(" @.G1C/61E9F%U;'0Z"@I.24=(5%5315(Z3FEG:'0@
M;VYL:6YE("@R,CHP,"TX.C P*2!S97)V:6-E('5S97)S.EP*(" @(" @(" Z
M=&EM97,N86QL;W<]4W5-;U1U5V54:$9R4V$R,C P+3 X,# Z7 H@(" @(" @
M(#IT8SU)4U!54T52.@H*5$535%5315(Z,2!W965K(&%L:79E('1E<W0@86-C
M;W5N="!U<V5R<SI<"B @(" @(" @.F%U=&]D96QE=&4],60Z7 H@(" @(" @
J(#IP87-S=V]R9'1I;64]-V0Z7 H@(" @(" @(#IT8SU)4U!54T52.@H*
`
end




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199801161224.OAA01035>