- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: root login deny
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
Discussions
Discussions
Forums
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
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
тАО11-06-2003 06:36 AM
тАО11-06-2003 06:36 AM
Hello,
How can I lock the root user login by telnet?
I want that no one does login directly.
Thanks in advance,
Fabricio.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-06-2003 06:39 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-06-2003 06:40 AM
тАО11-06-2003 06:40 AM
Re: root login deny
This will restrict the root user login. Use root will only able to login from local console.
# man login (for more details)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-06-2003 06:40 AM
тАО11-06-2003 06:40 AM
Re: root login deny
Create a file called securetty in /etc.
echo console >/etc/securetty
chmod 400 /etc/securetty
Now console only allow direct access to root.
HTH,
Umapathy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-06-2003 07:00 AM
тАО11-06-2003 07:00 AM
Re: root login deny
OK, thanks...
And just one more question: How can I deny the remote login from a common user (not root)?
Thanks again...
Fabricio.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-06-2003 07:04 AM
тАО11-06-2003 07:04 AM
Re: root login deny
Or add script in .profile of that user and logoff.
HTH,
Umapathy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-06-2003 07:07 AM
тАО11-06-2003 07:07 AM
Re: root login deny
2) Add 'exit' command on the user $HOME/.profile file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-06-2003 07:08 AM
тАО11-06-2003 07:08 AM
Re: root login deny
I don├В┬┤t want that user "oracle" does login directly because it├В┬┤s a generic user, I want that other user does a login and than it does a "su" for "oracle". So I can see who was oracle at sulog.
Thanks,
Fabri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-06-2003 07:13 AM
тАО11-06-2003 07:13 AM
Re: root login deny
Simplest way is
echo exit >>~oracle/.profile.
HTH,
Umapathy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-06-2003 07:16 AM
тАО11-06-2003 07:16 AM
Re: root login deny
http://forums1.itrc.hp.com/service/forums/parseCurl.do?CURL=%2Fcm%2FQuestionAnswer%2F1%2C%2C0xbdb879bffde7d4118fef0090279cd0f9%2C00.html&admit=716493758+1068149670141+28353475