I‘m trying to login using ssh keys but server is only allows to login me using a password. The following message is logged into server /var/log/secure file:
Feb 25 06:36:50 ns5 sshd: Authentication refused: bad ownership or modes for file /home/user/.ssh/authorized_keys2
How do I fix this problem?
How do I find out all world writable directories have sticky bits set under CentOS Linux server?
I‘m CentOS Linux version 5.x user and I’d like to restrict execution of /usr/sbin/userhelper to console users only in xusers group?
I’ve couple of remote servers and I’d like to access few admin only application running on port 10000 and 3001. My firewall only allows port 80, 443, 25, 22 and 110 for public access. Do I need to open port 10000 and 3001 for everyone using firewall? How do I access my admin only apps without opening port 10000 and 3001?
I’ve downloaded a software for Linux from the Internet. There is a file called install.sh. How do I run an .sh file to install the software?
‘ve written a PHP script. I would like to run it as a cron job. I’m using CentOS server with Apache web server. How do I setup a PHP script as a cron job on a Linux or Unix-like systems?
Can you provide more information about chmod command octal mode number notation?