- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Enabling root user in rlogin
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
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
тАО03-25-2009 12:29 AM
тАО03-25-2009 12:29 AM
My HP-UX server is configured with rlogin.
I am not able to login by root user directly.
So now i am logging in using normal user and use " su - " to get root login.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2009 12:36 AM
тАО03-25-2009 12:36 AM
Re: Enabling root user in rlogin
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2009 12:43 AM
тАО03-25-2009 12:43 AM
Re: Enabling root user in rlogin
Restrict root login to the console
/etc/securetty is used by the login command; the file contains the device names of tty lines (one per line,
without leading /dev/) on which root is allowed to login. We only allow the console.
# echo console > /etc/securetty
# chmod 400 /etc/securetty
remove "console" word from /etc/securetty
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2009 12:45 AM
тАО03-25-2009 12:45 AM
Re: Enabling root user in rlogin
Are you trying to use rlogin for password-less login?
Or is the problem that you are unable to login directly as root by any means? (rlogin, telnet, ssh)
Perhaps root login is restricted to the console only and not allowed from network ttys? Check for the /etc/securetty file.
HTH, Paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2009 01:09 AM
тАО03-25-2009 01:09 AM
Re: Enabling root user in rlogin
I would recommend configuring SSH for password-less login.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2009 01:21 AM
тАО03-25-2009 01:21 AM
Re: Enabling root user in rlogin
Plz check the below thread, hope it will help you.
https://forums13.itrc.hp.com/service/forums/questionanswer.do?threadId=1324227
Thnx...Farhan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2009 01:23 AM
тАО03-25-2009 01:23 AM
Re: Enabling root user in rlogin
regards!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2009 01:35 AM
тАО03-25-2009 01:35 AM
Re: Enabling root user in rlogin
>>>My HP-UX server is configured with rlogin.
I am not able to login by root user directly.<<
>>>>So now i am logging in using normal user and use " su - " to get root login<<<
Both the situations are different. If you are not able to login as root directly, you should look at the file /etc/securetty. This file restricts where root should be able to login directly. Most people specify only the console, so root direct login denied from network. root can login directly only on console.
Hope this clears you.
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2009 01:39 AM
тАО03-25-2009 01:39 AM
Re: Enabling root user in rlogin
In Local Node.(From where you want to rlogin)
#more /etc/hosts
in this file check that remote host entry is there or not. If not then
#vi /etc/hosts
make the entry of remote host.
#more .rhosts
In this file check that remote hostname and user id is there or not (it will looks like host1 root), if entry is not there then
#vi .rhosts
and make the entry.
Do the same in Remote server.
Thnx...Farhan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2009 01:44 AM
тАО03-25-2009 01:44 AM
Re: Enabling root user in rlogin
You can check below link for rlogin
http://docs.hp.com/en/B9106-90011/hosts.equiv.4.html
Rgds//
Taifur
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2009 01:54 AM
тАО03-25-2009 01:54 AM
Re: Enabling root user in rlogin
You can check below link as follows,
http://www.docs.hp.com/en/B2355-90827/ch02s01.html
Rgds//
Taifur
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2009 01:58 AM
тАО03-25-2009 01:58 AM
Re: Enabling root user in rlogin
>Check for the /etc/securetty file.
In my case...
I am trying to rlogin from server1 to server2 by using root userid and password. All entries are there in /etc/hosts and in .rhosts file of both server.
In server2.
# more securetty
console
#
but still i am able to login through rlogin. So any one can plz let us know that /etc/securetty file will efect in rlogin also.
Thnx...Farhan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-26-2009 03:12 AM
тАО03-26-2009 03:12 AM
Re: Enabling root user in rlogin
I am connecting that HP-UX server using putty.
Now i am not able to login directly by root user.
so I am logging first using other user and again i use "su - " to get root lgoin.
Here i want direct root login.
there is no file like "/etc/securetty" in my server.
what is the procedures to create this file?
what are the contents this file have to cotain?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-26-2009 03:18 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-26-2009 03:34 AM
тАО03-26-2009 03:34 AM
Re: Enabling root user in rlogin
If its SSH then check in sshd_config, edit the line "#PermitRootLogin yes, uncomment the line and restart sshd.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-26-2009 07:23 AM
тАО03-26-2009 07:23 AM
Re: Enabling root user in rlogin
Few queries.
how are you trying to login to the serve
ssh/telnet ??
What is the error message you get when you try to login via root
If telnet, try to login via cmd to get the error message.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-27-2009 02:27 AM
тАО03-27-2009 02:27 AM
Re: Enabling root user in rlogin
My problem solved. Now i am able to login by root user directly thru rlogin.
Solution:
I have deleted the file "/etc/securetty".