- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- root login at console
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
12-18-2003 06:11 PM
12-18-2003 06:11 PM
root login at console
i have a hp box running hpux 10.20 in trusted mode, as part of security we blocked root login frim terminals , but now i am not able to lgin as root from console also, can anybody help me in this
regards
Rajeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2003 06:12 PM
12-18-2003 06:12 PM
Re: root login at console
/etc/securetty is probably your problem. But first test the su, then solve your problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2003 06:16 PM
12-18-2003 06:16 PM
Re: root login at console
thanx for your replay, i am able to login using su . but a want to login directly as root from consol
thanx
rajeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2003 06:21 PM
12-18-2003 06:21 PM
Re: root login at console
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2003 06:24 PM
12-18-2003 06:24 PM
Re: root login at console
i am getting "login incorrect" mesg from consol as well as from other terminals.
thanx
rajeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2003 06:45 PM
12-18-2003 06:45 PM
Re: root login at console
It should contain console.
echo console >/etc/securetty
chmod 400 /etc/securetty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2003 06:51 PM
12-18-2003 06:51 PM
Re: root login at console
/tcb/files/devassign
Also check manpage of devassign.
Regards,
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2003 07:27 PM
12-18-2003 07:27 PM
Re: root login at console
thanx for the suggestions ,i will check this and get back to u
thanx
rajeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2003 09:04 PM
12-18-2003 09:04 PM
Re: root login at console
As said previously, /etc/securetty is the problem. For the entries in that file, direct root login is allowed. Make sure that it is not null.
HTH,
Umapathy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2003 12:08 AM
12-19-2003 12:08 AM
Re: root login at console
The special file to restrict the location & use of the root account is :-
/etc/securetty
This file should have the permissions
-rwx------ , owned by root and group sys.
If you view this file whilst logged in as root or su from another location :-
pg /etc/securetty
it should contain the word console if you want to login as root from the console.
Additional info:
If you are using CDE (Common Desktop Environment) then make sure that console use is also not restricted in the following file :-
/etc/dt/config/Xstartup
Hope this helps.
Keith
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2003 12:16 AM
12-19-2003 12:16 AM
Re: root login at console
For a while mv /etc/securetty to /etc/securetty.bak.
Now telnet to machine and try loggin in with root. If this is working, try logging in from console as root, if you still get error, and you have special char in password, then change it(do not use special char)and try.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2003 01:12 AM
12-19-2003 01:12 AM
Re: root login at console
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2003 02:36 AM
12-19-2003 02:36 AM
Re: root login at console
How about cntl-bRS in the password :-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2003 04:00 PM
12-21-2003 04:00 PM
Re: root login at console
the problem was with /etc/securetty only. i moved that file as securetty.org,then i am able to login as root. but when i added console in that file , login incorrect mesg is coming in console also , pls help
thanx
rajeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2003 04:04 PM
12-21-2003 04:04 PM
Re: root login at console
# cat /etc/securetty
console
#
If you have something like /dev/console then it will not work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2003 04:10 PM
12-21-2003 04:10 PM
Re: root login at console
i have inserted console in that file, and /dev/console is also there in the mechine.
than
rajeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2003 04:37 PM
12-21-2003 04:37 PM
Re: root login at console
so how can i restrict root to be accessed only from console, pls help
thanx
rajeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2003 01:14 AM
12-22-2003 01:14 AM
Re: root login at console
I have a feeling that the root account has been disabled. If you are attempting to log in at the console with VUE/CDE and this message appears, open up a terminal session instead of CDE. In other words, go to the console, right-click the button that says "Start Over". A drop-down menu will appear. Select the one that says "No Windows" and hit return. You should see a shell login prompt where you can login as root. This should correct your problem.
Connie K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2003 02:39 AM
12-22-2003 02:39 AM
Re: root login at console
echo console > /etc/securetty
That should fix it.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2003 04:01 PM
12-22-2003 04:01 PM
Re: root login at console
thanx for your help , i added console in /etc/securetty using echo consloe > /etc/securetty and changed permissions to
-rwx------ , owned by root and group sys.
After this i restarted the mechine , it worked !!!!!!!
now i am able to login as root only from consloe
thanx again to all of u for the help
Rajeev