- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: root remote login
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
09-24-2002 07:53 AM
09-24-2002 07:53 AM
root remote login
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2002 08:01 AM
09-24-2002 08:01 AM
Re: root remote login
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2002 08:03 AM
09-24-2002 08:03 AM
Re: root remote login
Where
Ray
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2002 08:03 AM
09-24-2002 08:03 AM
Re: root remote login
Darrell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2002 08:03 AM
09-24-2002 08:03 AM
Re: root remote login
SunOS has a default security setting that dis-allows root access, but HP-UX does not. Root access denial Im pretty sure is only controled by the securetty file.
Regards,
Shannon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2002 08:19 AM
09-24-2002 08:19 AM
Re: root remote login
You can delete the /etc/securetty file as i don't believe that it is such a big risk to let root login from anywhere else apart from the console.
Most of us work on scenarios where our Datacentres host our boxes and we work remotely. I don't see any security flaw if we use root access from remote terminals so long as we hold the password securely and change it at regular intervals.
Regards,
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2002 08:24 AM
09-24-2002 08:24 AM
Re: root remote login
1. With .rhosts you have to list the systems that can gain access as root. Limiting your options to logon from anywhere.
2. With no .rhosts at least the person hacking your system has to know the root password to gain access to that system.
3. With no .rhosts and having "console" in the /etc/securetty file will force someone to logon as a normal user and then su to root allowing you to track who is doing what as root. We use this in root's .profile to track the history of the user:
REAL=`logname`
HISTFILE=.sh_$REAL
HISTSIZE=1000
export HISTFILE HISTSIZE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2002 08:27 AM
09-24-2002 08:27 AM
Re: root remote login
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2002 08:52 AM
09-24-2002 08:52 AM
Re: root remote login
Try doing a ls /etc/securetty as *root* user , because this file normally does not have access permission to non-root users. This is confirm that the file is really there or not.
Another thing to check would be the /var/adm/syslog/syslog.log file for messages related to root loging. It should have some error message for the login of root which will give further clues on what the problem could me.
Are you able to do su as root from a normal user. Just to discount any passwd related issue!
HTH
raj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2002 09:10 AM
09-24-2002 09:10 AM
Re: root remote login
In the $HOME/.rhosts for the root you can try adding
IP adress root
instead of
server name root
this will solve the problem .
like
server A 10.2.10.30
server B 10.2.10.40
in .rhosts on A you should have
10.2.10.40 root
and vice versa.
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2002 09:28 AM
09-24-2002 09:28 AM
Re: root remote login
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2002 09:54 AM
09-24-2002 09:54 AM
Re: root remote login
If this "login incorrect" is coming from remsh then there is no way to fix this without adding the allowed systems into ~root/.rhosts
are you getting the error from remsh? or from rlogin?
Regards,
Shannon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2002 10:11 AM
09-24-2002 10:11 AM
Re: root remote login
You can get "Login incorrect" for the following reasons:
- invalid loginid
- invalid password
- superuser not allowed to login remotely because of /etc/securetty
There may be other reasons but these are the 3 I know of. Can you login as a non-superuser and then su to root?
Darrell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2002 10:28 AM
09-24-2002 10:28 AM
Re: root remote login
Check the /var/adm/syslog/syslog.log file for the error messages related to your failed attempts with root remote logins.
It could be "root" account blocked to login directly (check such restriction in .profile, /etc/profile, inetd.sec) or the host/IP address blocked to login (in inetd.sec)
Thankc.
Prashant.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2002 10:40 AM
09-24-2002 10:40 AM
Re: root remote login
I hate to ask, but is the root password what you think it should be? Can you login and su to root? It wouldn't be the first time someone has changed the password without letting others know.
Darrell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2002 10:58 AM
09-24-2002 10:58 AM