Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

mgetty security question

Posted on 2003-02-25
2
Medium Priority
?
238 Views
Last Modified: 2013-12-06
Hello,

Is there a way to block certain users from logging in via mgetty? If I specify '/bin/false' in login.config file for them, still they will be able to enter any wrong login name, and then /bin/login will start and mgetty settings will not be in effect. I'm on HP UX 11.00.

Thanks,
Dmitry.
0
Comment
Question by:dda
2 Comments
 
LVL 2

Accepted Solution

by:
ellesd earned 400 total points
ID: 8037650
Create a file containing the login names of the users in question, and then add appropriate code to the system profile to grep the file for the user logging in.  If grep finds them, exit.
0
 
LVL 4

Author Comment

by:dda
ID: 8040064
Nice trick. Thanks. :)
0

Featured Post

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses

578 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question