Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Installation - Getting started with Red Hat Linux
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
Login restrictions in NIS environment

Login restrictions in NIS environment

2005-06-08       - By Richard Hobbs

 Back
Reply:     1     2     3     4     5     6     7     8     9     10     >>  

Hello,

OK, I have now tried the following ideas, and none of them have worked:

1. Add the following to /etc/hosts.deny:
    sshd: rhobbs@(protected), PARANOID

2. Add the following to /etc/security/access.conf:
    -:rhobbs nbaker:ALL

I didn't do the exact method that you suggested for "/etc/hosts.allow" and
"/etc/hosts.deny", because that seems to ban everything, and then let
certain things through. I want to let everything through, and just ban
certain users from sshd, so that's why I did step 1 in that way.

As for step 2, I don't know why this didn't work... The "access.conf" file
already existing, so I assume it is installed and running, but perhaps it is
not? I'll read the documentation on this one to see if it gives any
pointers.

If you have any other advice, please let me know.

Thanks again,
Richard.

--
Richard Hobbs (Systems Administrator)
Toshiba Research Europe Ltd. - Speech Technology Group
Web: http://www.toshiba-europe.com/research/
Email: richard.hobbs@(protected)
Tel: +44 1223 376964        Mobile: +44 7811 803377

> -- --Original Message-- --
> From: redhat-list-bounces@(protected)
> [mailto:redhat-list-bounces@(protected)] On Behalf Of Cecilio Mar??n
> Sent: 08 June 2005 12:36
> To: General Red Hat Linux discussion list
> Subject: Re: Login restrictions in NIS environment
>
> Well, the second method is a possible solution.
>
> Services: DNS, HTTPD, NIS...
>
> #/etc/hosts.allow
> ypserv: ALL
> httpd: ALL EXCEPT fred@(protected)
> bind: ALL EXCEPT fred@(protected)
> ....
> <daemon>: ALL EXCEPT fred@(protected)
>
> #/etc/hosts.deny
> #Very restrictive
> ALL: ALL@(protected), PARANOID
>
> But the problem is if the daemons are not ready to use
> wrappers (this is
> defined on compilation time of daemons).
>
> Slts.
>
> Richard Hobbs escribi??:
>
> >Hello,
> >
> >Banning particular IP addresses is useless to us... We need to ban
> >particular users.
> >
> >For example, if we ban fred's machine, fred can still log in from a
> >different machine. We need to ban fred from every machine,
> but he still
> >needs to be able to log into other machines on the network.
> >
> >Thanks again,
> >Richard.
> >
> >  
> >
>
>
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@(protected)?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>
> __ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ______
> This e-mail has been scanned for viruses by MCI's Internet
> Managed Scanning Services - powered by MessageLabs. For
> further information visit http://www.mci.com
>
>



__ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ______
This e-mail has been scanned for viruses by MCI's Internet Managed Scanning
Services - powered by MessageLabs. For further information visit http://www.mci
.com

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@(protected)?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

Earn $52 per hosting referral at Lunarpages.