* login access?
@ 1998-04-01 5:00 Sasa Stiasni
1998-04-03 5:00 ` Emmanuel Choquet
0 siblings, 1 reply; 4+ messages in thread
From: Sasa Stiasni @ 1998-04-01 5:00 UTC (permalink / raw)
Is there something like login.access from logdaemon for Digital UNIX (4.0B)
In fact, what I would like is to prevent a specified user to log on to the
system from specified host.
The other possibility is to restrict that user to telnet to somehost.
Is there anything like that for DU?
Please help.
Sasha
--
mailto: sstiasni@irb.hr
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: login access?
1998-04-01 5:00 login access? Sasa Stiasni
@ 1998-04-03 5:00 ` Emmanuel Choquet
1998-04-03 5:00 ` N Madden
1998-04-03 5:00 ` Sasa Stiasni
0 siblings, 2 replies; 4+ messages in thread
From: Emmanuel Choquet @ 1998-04-03 5:00 UTC (permalink / raw)
To: sstiasni
write a function in /etc/profile which is a script that everybody executes,
and that you can't bypass (sh and ksh)
use 'w' command to know where does tha guy comes from
use $USER variable to know who's loging in.
Sasa Stiasni wrote:
> Is there something like login.access from logdaemon for Digital UNIX (4.0B)
> In fact, what I would like is to prevent a specified user to log on to the
> system from specified host.
> The other possibility is to restrict that user to telnet to somehost.
> Is there anything like that for DU?
> Please help.
>
> Sasha
> --
> mailto: sstiasni@irb.hr
--
Emmanuel Choquet
Informatique Client/Serveur
& Communication
_/
_/
_/ _/_/_/ _/ _/_/_/
_/ _/ _/ _/
_/ _/ _/ _/_/_/
_/ _/ _/ _/
_/ _/_/_/ _/ _/_/_/
ics@cica.fr
c/o Cica Tel: (33) 4 92.94.23.50
2229, route des cretes fax: (33) 4 92.94.23.54
06560 Sophia-Antipolis
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: login access?
1998-04-03 5:00 ` Emmanuel Choquet
1998-04-03 5:00 ` N Madden
@ 1998-04-03 5:00 ` Sasa Stiasni
1 sibling, 0 replies; 4+ messages in thread
From: Sasa Stiasni @ 1998-04-03 5:00 UTC (permalink / raw)
On Fri, 03 Apr 1998 07:37:58 +0100, Emmanuel Choquet <ics@cica.fr> wrote:
>write a function in /etc/profile which is a script that everybody executes,
>and that you can't bypass (sh and ksh)
>use 'w' command to know where does tha guy comes from
>use $USER variable to know who's loging in.
Well, this is the last thing I thought someone will answer :-)
But if it's the only way ...
Thanks anyway.
Sasha
--
mailto: sstiasni@irb.hr
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: login access?
1998-04-03 5:00 ` Emmanuel Choquet
@ 1998-04-03 5:00 ` N Madden
1998-04-03 5:00 ` Sasa Stiasni
1 sibling, 0 replies; 4+ messages in thread
From: N Madden @ 1998-04-03 5:00 UTC (permalink / raw)
To: ics, sstiasni
Emmanuel Choquet wrote:
>
> > Is there something like login.access from logdaemon for Digital UNIX (4.0B)
> > In fact, what I would like is to prevent a specified user to log on to the
> > system from specified host.
> > The other possibility is to restrict that user to telnet to somehost.
> > Is there anything like that for DU?
> write a function in /etc/profile which is a script that everybody executes,
> and that you can't bypass (sh and ksh)
> use 'w' command to know where does tha guy comes from
> use $USER variable to know who's loging in.
Sasha,
Is the "specificed" user on the remote or local machine - I.e., do you
want to
1) stop bob@remote from loging onto the local machine or
2) stop anyone @remote loging on as bob@local ?
If (1), the the above won't work. In that case, you'll have to use a TCP
wrapper
to check the ident daemon on the remote machine. However, it may not
have one running.
If (2), then Emmanuel's suggestion should work but perhaps you could
just change the login shell for the given user - i.e., in /etc/profile
change their default shell to a script which you write to check where
they are coming from before either kicking them out or running a real
shell.
Again, you might be able to configure TCP wrapper's "hosts.allow" and
"hosts.deny" to do this, but I'm not sure exactly how.
Regards,
Niall.
--
Mathematics Dept.,
University College, Cork.
http://ogham.ucc.ie/~niall
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1998-04-03 5:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-04-01 5:00 login access? Sasa Stiasni
1998-04-03 5:00 ` Emmanuel Choquet
1998-04-03 5:00 ` N Madden
1998-04-03 5:00 ` Sasa Stiasni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox