- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: How to limit a specific user's login from a sp...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2003 01:20 PM
03-31-2003 01:20 PM
How to limit a specific user's login from a specific system?
We have an application running on a Linux system that uses a non-expiry account to log on to a trusted HP-UX 11.00i system (telnet).
The password is weak. So, to limit a possible attack, I want to limit this user to be able to login only from a specific location to HP-UX 11.00i. What I am looking for is something similar to the way one can limit who can dial in to HP-UX.
Is is possible using standard HP-UX tools short of writing a little shell script?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2003 04:28 AM
04-01-2003 04:28 AM
Re: How to limit a specific user's login from a specific system?
Not sur eif I understand it correctly, but tcpd allows you to match based on user@host syntax. It relies on ident/auth daemon to get username, and that's far too easy to spoof.
See man hosts_access for details.
Goran
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2003 05:19 AM
04-01-2003 05:19 AM
Re: How to limit a specific user's login from a specific system?
http://www.hmug.org/man/5/hosts_access.html
But you are indicating, "...I want to limit this user to be able to login only from a specific location to HP-UX 11.00i...."
...and in HP-UX its the inetd.sec file. Refer to the :
www.docs.hp.com website.
I'd provide the link for you but the site seems to be down at the moment.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2003 07:48 AM
04-01-2003 07:48 AM
Re: How to limit a specific user's login from a specific system?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2003 06:31 PM
04-01-2003 06:31 PM
Re: How to limit a specific user's login from a specific system?
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90682/B2355-90682_top.html&con=/hpux/onlinedocs/B2355-90682/00/02/284-con.html&toc=/hpux/onlinedocs/B2355-90682/00/02/284-toc.html&searchterms=inetd.sec&queryid=20030401-192412
Here is a good overall security document with a very good example of inetd.sec:
http://forums.itrc.hp.com/cm/components/FileAttachment/0,,0xab4135a43b46d71190080090279cd0f9,00.doc
There is also Bastion for the really uptight:
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000066258828
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2003 07:05 AM
04-02-2003 07:05 AM
Re: How to limit a specific user's login from a specific system?
dtspc allow 127.0.0.1 loopback tzfat
ftp allow 10.1.* 10.1.11.* jufprod tzfat hebron jufdev
tftp allow 192.168.* 10.1.* jufprod jufdev hebron moriah
login allow 10.1.* 10.75.* 10.1.31.* 10.4* jufprod hebron moriah juf
dev
telnet allow 10.1.* 10.75.* 10.1.31.* 10.4* jufprod hebron moriah juf
dev
You might also Secure shell. It can be installed on the HP and Linux side. I'm attaching a cookbook on how to set up password free connections. I have tested it Linux to HP and HP to Linux. It works.
Secure Shell: a replacement for rcp ftp and telnet that encrypts passwords
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=T1471AA
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2003 09:21 AM
04-02-2003 09:21 AM
Re: How to limit a specific user's login from a specific system?
IPADDRESS=`who -mu | awk '{print $8}' `
export IPADDRESS
if [ -r $HOME/IPADDRESS.VALID
] then
grep $IPADDRESS $HOME/IPADDRESS.VALID
#
:
:
fi
test conditions, exit code 0 would be a ip valid for the user. you could write an a syslog message if source isn't valid and process logout with a single "Access Denied" message
instead of putting a file in each home directory, you could first test the existence of the valid hosts file IPADDRESS.VALID and proced if exists