Reset Ubuntu 12 root password Rumi, July 19, 2019 Boot up the machine, and after the BIOS screen, hold down the left Shift key. You will then be prompted by a menu that looks something like this: Hit the down arrow until you select the 2nd entry from the top (the one with the recovery mode in the description) and then hit Enter. Now you should see this menu: Using the arrow keys scroll down to root and then hit Enter. You should now see a root prompt, something like this: root@ubuntu:~# At this stage you should have a read-only filesystem. You have to remount it with write permissions: mount -o remount,rw / Now we can set the user’s password with the passwd command. (In this example I will use jorge as the example, you need to substitute whatever the user’s username is): root@ubuntu:~# passwd jorge Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully root@ubuntu:~# Type in what you want the new password to be at the prompt. After it’s successful reboot the machine and the user will be able to log in with their new password. Related Administrations Configurations (Linux) rootUbuntuUbuntu12
Setup Tomcat with Apache2 and Java on Ubuntu 10.04 Server May 28, 2011May 28, 2011 Apache Tomcat (or Jakarta Tomcat or simply Tomcat) is an open source servlet container developed by the Apache Software Foundation (ASF). Tomcat implements the Java Servlet and the JavaServer Pages (JSP) specifications from Sun Microsystems, and provides a "pure Java" HTTP web server environment for Java code to run. … Read More
Configure Zimbra to use SendGrid as Smarthost February 18, 2023September 12, 2023 Switch to user Zimbra su zimbra Add credentials to relay_password file: nano /opt/zimbra/conf/relay_password Add: smtp.sendgrid.net yourSendGridUsername:yourSendGridPassword Apply configuration to Zimbra postmap /opt/zimbra/conf/relay_password postmap -q smtp.sendgrid.net /opt/zimbra/conf/relay_password zmprov ms `zmhostname` zimbraMtaSmtpSaslPasswordMaps lmdb:/opt/zimbra/conf/relay_password zmprov ms `zmhostname` zimbraMtaSmtpSaslAuthEnable yes zmprov ms `zmhostname` zimbraMtaSmtpCnameOverridesServername no zmprov ms `zmhostname` zimbraMtaSmtpTlsSecurityLevel may zmprov ms `zmhostname` zimbraMtaSmtpSaslSecurityOptions… Read More
Stunnel on Debian/Ubuntu with Squid October 27, 2015 What’s Stunnel The Stunnel program is designed to work as an SSL encryption wrapper between remote client and local (inetd-startable) or remote server. It can be used to add SSL functionality to commonly used inetd daemons like POP2, POP3, and IMAP servers without any changes in the program’s code. What… Read More