- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re-enable direct root 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
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-19-2009 10:18 PM
тАО03-19-2009 10:18 PM
Re-enable direct root login
I am aware that enabling direct root login is not advisable. But I need to try this out for some of testing purposes. ;-)
I want to enable direct root login using putty (ssh) in hp-ux 11.23. What should I do?
I came across a few posts which said that "PermitRootLogin yes" sshd.config file.
I do not have a file named /etc/securetty.
When i login as root the login screen closes before diplaying the prompt #.
I welcome ur suggestions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-19-2009 10:23 PM
тАО03-19-2009 10:23 PM
Re: Re-enable direct root login
http://www.hpux.ws/?p=19
The procedure above may have been done to the ssh daemon configuration.
Even if something else was done, the procedure identifies the possible changes that were made.
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
тАО03-19-2009 10:26 PM
тАО03-19-2009 10:26 PM
Re: Re-enable direct root login
you can generate key with
ssh-keygen -t command,
this will help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-19-2009 11:02 PM
тАО03-19-2009 11:02 PM
Re: Re-enable direct root login
I am not sure why i should go for "login by public key and not interactive login" as describe in the link by you. I believe I must use the interactive login only.
The below is the syslog message
Mar 20 12:24:49 gamma sshd[21834]: Accepted keyboard-interactive/pam for root from 172.16.1.38 port 2304 ssh2
Mar 20 12:24:49 gamma sshd[21834]: Accepted keyboard-interactive/pam for root from 172.16.1.38 port 2304 ssh2
Mar 20 12:24:49 gamma sshd[21834]: pam_setcred: error Permission denied
Is it anything to do with pam configuration?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-20-2009 02:48 AM
тАО03-20-2009 02:48 AM
Re: Re-enable direct root login
This is what i get...
You have mail.
logout
Connection to 172.16.1.188 closed.
Any help...? Is it something to do with /.profile?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-20-2009 06:31 AM
тАО03-20-2009 06:31 AM
Re: Re-enable direct root login
if [[ $LGNM != "root" ]]
then
HISTFILE=/home/$LGNM/.sh_history
cd /home/$LGNM
else
HISTFILE=/.sh_history
#exit
fi
Keep Smiling :-) .