I am a newbie for Web Host Manager(WHM). My client has 2 websites hosted on same server. He has given me the credentials for cPanels and WHM. Now when I want to change some setting or access any configuration file from SSH using the user created for a specific account, it blocks me to do so saying this user account does not have privilege to do so. Is there a way I can get a root user privilege?
It's not possible to assign all root privileges to any normal cPanel account. If you have WHM access then login your WHM and enable shall access for that particular account which you want to access through SSH and after that you can login SSH with that user details.
Related
So recently Github have change policy and only allow SSH key for authentication
So I added a public SSH key from outside contributor to my account, but will this give the full access to this outside contributor to all my repos with read/write permissions?
this outside contributor should only have access to certain repo in my account, not other repos.
so my concern is , will this add SSH key will allow her to have full access??
Please help me understand, how exactly adding a SSH key will compromise the account security??
Thanks in advance.
It is not the case that GitHub has changed to allow only SSH keys for authentication. GitHub used to allow users to use a username and password over HTTPS if they were not using 2FA, a username and personal access token over HTTPS, or SSH using an SSH key. The only thing that has changed is that you can no longer use a username and password for HTTPS; you must use a personal access token instead of a password if you wish to use HTTPS.
If you give another user one of your personal access tokens or add one of their SSH keys to your account, they will have access to all of your repositories. This is insecure, and so you should not do it.
Instead, you should grant your contributor access using the Manage Access interface, and make sure they can access the repository using their own account. If they are using HTTPS, then they may need to either switch to SSH by changing the URL with git remote set-url git#github.com/owner/name.git (replacing owner and name) or just follow the directions outlined in this answer.
The fact that a contributor cannot access their own account is an issue that they need to address instead of having them access your account.
Yes, putting someone else's ssh key in your account will give them full access to all your repositories.
If you want to grant someone else access to your repositories, don't add their ssh key anywhere. Just set up the access permissions on your repositories to grant access to their github account. You can find access permissions by going to "Settings" and then selecting "Manage access" (this will take you to something like https://github.com/yourname/yourrepo/settings/access).
You'll find some documentation on this process here.
I have an API that is hosting on IIS 7.5. The application pool is configured use a domain service account. Then, I grant the account full permission on the default site.
The API and the database are on different server.
I create a SQL Server login for the account and associate it with a user. The user is granted db_onwer to the database. SQL Server service is configured to run using that service account as well. However, The API can't connect to the database. The database log shows this error message "Login failed for user host\servername$. If host\servername$ is given access to the server, it would work fine. However, IT said no way.
Majority of the solutions that I have found online so far either gave permission to host\servername$ to the database or change the apppool to use network or local service, or use a username and password where the username is not a domain account user.
I have to use a domain name account, so I am struggling to find a solution.
There was an issue with the way the domain account was created. IT had to create another service account. Once I set up the app pool with the new server account, I had no issue.
I have:
Added the ftp-publishing service
Allowed IIS-Authentication in the management service
Created a user under IIS Manager-User
Allowed the user in IIS-Manager-Permissions
Added the user to FTP-Authentication rules for my site
Added the IISAuthentication to the FTP Authentication rules
IIS_IUSERS has full access to the directory
Yet, I get the login prompt but it won't take my login credentials.
Any ideas ?
I had installed SharePoint2010 on Windows Server 2008 R2 with local user Account with Administrator Privilege. Then I installed domain controller and active directory using command "dcpromo". After installation system was restarted and log on pages were showing domain controller users. On logging in as domain controller administrator, I was not able to access SharePoint2010 application as the domain controller administrator doesn't have permission to access content database of SharePoint2010.
So in order to get SharePoint2010 application running, I need to log in as local user administrator. I removed domain controller and active directory services. After system restart, log on page is showing me some local user account but not the administrator account using which the SharePoint2010 was installed.
In User Accounts folder I can see that "Administrator" account.
Can somebody guide me how do I get that account working again?
Thanks in advance.
you have to reconfigure your SharePoint setup by running the the SharePoint configuration wizard and provide a domain user credentials in wizard
If I was running a server that allowed certain user's on my LAN to access the WAN.
How can I reliably authenticate these users?
I could allow by checking MAC/IP adresses, but those details can be spoofed, right..
Ideally, I would like the user to:
1. connect to the LAN via DHCP
2. be re-directed to the server's login page when the user tries to browse
3. have to user enter username - password
4. if authenticated, user must be allowed to browse freely.
What you describe is proxy server,
e.g. Kerio control:
User-specific access management Each user in the network can be required to log in to Kerio Control before connecting to the Internet. That allows for restrictive security and access policies to be applied based on the specific user, rather than the IP address.
You could look for IEEE 802.1x authentication and RADIUS server solutions, e.g. freeRadius.
(There is also a Win32 binary based on Cygwin on freeradius.net.)