From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,ec88fb98ba85fec3 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-04-26 13:32:42 PST Path: newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!east1.newsfeed.sprint-canada.net!news.storm.ca!not-for-mail From: Mario Stargard Newsgroups: comp.unix.tru64 Subject: Re: Restricting access from network for different users. Date: Thu, 26 Apr 2001 16:29:37 -0400 Organization: Storm Internet Services Sender: mario@dp03-209-87-225-174.ottawa.storm.ca Message-ID: <3AE88531.E91690C9@hotmail.com> References: <9c8b7g$heh$1@proxy2.nursat.net> NNTP-Posting-Host: dp03-209-87-225-174.ottawa.storm.ca Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news.storm.ca 988317161 24920 209.87.225.174 (26 Apr 2001 20:32:41 GMT) X-Complaints-To: abuse@storm.ca NNTP-Posting-Date: 26 Apr 2001 20:32:41 GMT X-Mailer: Mozilla 4.72 [en] (Win95; U) X-Accept-Language: en Xref: newsfeed.google.com comp.unix.tru64:2135 Anton Fyodorov wrote: > > Hello Everyone ! > > Can anybody advise me how to restrict particular users from accessing DUX > 4.0 E server from network? I want some of them log on only from console. > > Thank you in advance > > Anton Well, you can prevent folks from seeing the network interface based on their source; this is done with /etc/ifaccess.conf and comes with Tru64. Then there's tcpwrappers, where you can wrap telnetd, rshd, rlogind, etc in /etc/inetd.conf. Also, you can wrap sshd using the libwrap.a library. tcpwrappers is freely available on the internet. You can restrict logins altogether by setting the user's shell to /bin/false in /etc/passwd. Finally, if you're not too concerned about actual security, put some code into /etc/profile to allow/reject certain users depending where they're coming from. LOGNAME contains the user's login name. I do this on my workstation to renice users who aren't root or me. ;-) Cheers, Mario