the tough way:
iei mata' sursele de la login, bagi o conditie pentru "admin", compilezi iar
telnetd il pui cu optiunea -L loginprg
the easy way:
editezi /creezi /etc/usertty (care se aplica si pentru utilizatorii "de rind"
:-) )
conform specificatiilor din manualul de login :-).
.. etc
jack
spor la treaba
An example USERS section:
USERS
zacho tty1 @130.225.16.0/255.255.255.0
blue tty3 myclass2
This lets the user zacho login only on tty1 and from hosts with IP
addreses in the
range 130.225.16.0 - 130.225.16.255, and user blue is allowed to log
in from tty3
and whatever is specified in the class myclass2.
There may be a line in a USERS section starting with a username of *.
This is a
default rule and it will be applied to any user not matching any other
line.
RoLinux wrote:
> Problema mea nu este cu utilizatorul "root" ci cu "admin" si admin nu
> este controlat de /etc/securetty.
> Nu pot sa opresc serverul de telnet pentru ca utilizatori nu sunt
> angajati ai firmei ci clienti care nu pot sa ii convingi asa usor sa
> isi schimbe modul de a gandi (clientul nostru stapanul nostru).
>
> Multumesc oricum pentru timpul acordat!
> Radu
>
> > On 2001.05.21 16:04:56 +0300 Radu Filip wrote:
> >>
> >> On Mon, 21 May 2001, RoLinux wrote:
> >>
> >> > As dori sa opresc accesul utilizatorului "admin" prin telnet si sa ii
> >> > permit accesul doar prin ssh. Sistemele sunt de tip Redhat.
> >> > Nu pot sa opresc accesul prin telnet a tuturor utilizatorilor ci as
> >> > dori sa fac acest lucru numai pentru root si admin.
> >>
> >> Eu zic ca ar fi bine sa opresti serverul de telnet de tot. Depinde de ce
> >> ai tu acolo, dar in principiu daca userii lucreaza de pe statii Unix sau
> >> Windoze, pot folosi cu totii un client de SSH.
> > Sau ar putea sa se uite in /etc/securetty
>
> ---
> Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to
> unsubscribe from this list.
---
Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to
unsubscribe from this list.