- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Root User not allowd in SCP
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
тАО09-29-2006 12:59 AM
тАО09-29-2006 12:59 AM
I am trying to copy the files from one server to the other running with Solaris
I cant able to do the copy operation as the root user but I can able to do the operation as a normal user.
While trying as the root user i got the error message permission denied.
Anybody faced this kind of problem can guide me...
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-29-2006 01:04 AM
тАО09-29-2006 01:04 AM
Re: Root User not allowd in SCP
Check if "PermitRootLogin no" appears in /opt/ssh/etc/sshd_config. If so, comment it out or remove it. Then restart sshd.
PCS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-29-2006 01:06 AM
тАО09-29-2006 01:06 AM
SolutionFind the sshd_config file. Not sure where it'll be under Solaris; check /etc or /usr/local/etc - or
grep sshd_config /var/sadm/install/contents
Once you've found it, check the line that says
PermitRootLogin without-password
without-passwd forces public key authentication (PKA). Yours probably says no which prevents direct root access via ssh and is the default in most implementations. "yes" is the other option which allows root access via passwords.
If you need to allow direct root access, it should be done using PKA. That's 2-factor authentication and provides significant security improvements over 1-factor authentication (passwords).
HTH;
Doug
------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-29-2006 01:14 AM
тАО09-29-2006 01:14 AM
Re: Root User not allowd in SCP
The file sshd_config has a line PermitRootLogin that has to be set to Yes, after this this sshd needs to be stopped and started by doing this it will not terminate the existign session's.
Rgds
HGN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-29-2006 01:47 AM
тАО09-29-2006 01:47 AM
Re: Root User not allowd in SCP
I can't speak for how the solaris people packaged it but by default with openssh the root user can use all functions.
It wouldn't be much of an alternative to telnet if root could not use it. ssh2 is secure and if you force ssh2 you will have reasonable assurance that you can make the changes proposed above and not have the root password get sniffed or hacked.
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
тАО09-29-2006 01:56 AM
тАО09-29-2006 01:56 AM
Re: Root User not allowd in SCP
ensure that the environment has been properly configured.
The public key for the root user may not be present in the destination server .ssh/authorized_keys
please check
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-29-2006 02:44 AM
тАО09-29-2006 02:44 AM