Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
From: N Madden <n.madden@ucc.ie>
To: ics@cica.fr, sstiasni@irb.hr
Subject: Re: login access?
Date: 1998/04/03	[thread overview]
Message-ID: <3524B7E9.167E@ucc.ie> (raw)
In-Reply-To: 352483C6.6AB2B312@cica.fr


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



  reply	other threads:[~1998-04-03  5:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-04-01  5:00 login access? Sasa Stiasni
1998-04-03  5:00 ` Emmanuel Choquet
1998-04-03  5:00   ` N Madden [this message]
1998-04-03  5:00   ` Sasa Stiasni
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox