Archive for the tag 'login'

SBDavid

Email Alert on Root SSH Login

Email Alert on Root SSH Login

Login to your server as root user

vi /root/.bashrc

Add the following to the end of the file.

echo ‘ALERT - Root Shell Access on $hostname:’ `date` `who` |
mail -s “Alert: Root Access from `who | cut -d”(” -f2 | cut -d”)” -f1`” admin@serverbuddies.com

Login to Horde Webmail fails in Plesk Panel Server

To solve this issue we need to verity the following.
Verify that authenticate via IMAP is possible.

# /usr/local/psa/admin/sbin/mail_auth_view

Try authorization:

# telnet localhost 143

If IMAP authorization failed verify that configuration of IMAP server is correct in the file.

/etc/psa-horde/imp/servers.php

Also

Verify that package courier-imap is installed and up-to-date.

# rpm -qa | grep courier-imap
SBDavid

How to log in to Virtualmin

How to log in to Virtualmin

In this tutorial, we will go over how to log into the Virtualmin control panel.

Open your web browser, such as Firefox or Internet Explorer.

In the address bar at the top of your browser, browse to the following address:

https://example.com:10000

Where example.com is your server’s domain name.

Once you have entered the address above, hit enter to go to the Virtualmin Login screen.

Enter the username you were given in the Username field. If you’re logging in as the master administrator, use root as the username.

Enter your password in the password field.

Click Login, and you will be logged into Virtualmin.

You can see available tasks you can perform within Virtualmin on the navigation bar on your left.

On the right, you can see the System Information screen, giving you a system overview of resource usage and other server details.

Follow these steps :

In the Perl Modules module of Webmin, install

Authen::PAM from CPAN

In the PAM Authentication module, add a new PAM service called webmin that uses Unix authentication.

In the Webmin Users module, create a new user called something like unixer, with access to the modules that you want all your Unix users to have access to.

In each of the modules unixer has access to, change the module access control to give your users rights only to their own accounts. For example, in the Change Passwords module you should select Only this user for the Users whose passwords can be changed so that Unix users logging in can only change their own passwords.

Click on Configure Unix user authentication below the list of Webmin users and choose Allow any Unix user to login with permissions of user unixer.

Any Unix user should now be able to login to Webmin on your system.

Again, if your system does not use PAM the first two steps can be skipped, and Webmin will read /etc/passwd or /etc/shadow file directly to authenticate users.

Another alternative to doing all this is to install Usermin, which allows all Unix users to login and access only settings belonging to them, using a similar interface to Webmin.

How can I make a Webmin user always use the same password as their shell login?

This can be done by following these steps :

In the Perl Modules module of Webmin.

install Authen::PAM from CPAN.

In the PAM Authentication module, add a new PAM service called webmin that uses Unix authentication.

In the Webmin Users module, click on the user that you want to symchronize with Unix and set his Password option to Unix Authentication.

If PAM is not used on your operating system, the first two steps can be skipped.

Webmin will instead read the /etc/passwd or /etc/shadow file directly to authenticate users who are using the Unix Authentication password mode.

« Prev - Next »