Create a Sudo User on Debian or Ubuntu Rumi, January 29, 2017 Log in to your server as the root user. ssh root@server_ip_address Use the adduser command to add a new user to your system. Be sure to replace username with the user that you want to create. adduser username Set and confirm the new user’s password at the prompt. A strong password is highly recommended! Set password prompts: Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully Follow the prompts to set the new user’s information. It is fine to accept the defaults to leave all of this information blank. User information prompts: Changing the user information for username Enter the new value, or press ENTER for the default Full Name []: Room Number []: Work Phone []: Home Phone []: Other []: Is the information correct? [Y/n] Use the usermod command to add the user to the sudo group. usermod -aG sudo username By default, on Ubuntu, members of the sudo group have sudo privileges. Test sudo access on new user account. Use the su command to switch to the new user account. su - username As the new user, verify that you can use sudo by prepending “sudo” to the command that you want to run with superuser privileges. sudo command_to_run For example, you can list the contents of the /root directory, which is normally only accessible to the root user. sudo ls -la /root The first time you use sudo in a session, you will be prompted for the password of the user account. Enter the password to proceed. Output: [sudo] password for username: If your user is in the proper group and you entered the password correctly, the command that you issued with sudo should run with root privileges. Related Administrations Configurations (Linux) DebianSudoUbuntu
Setting up PHPMyAdmin to Usermin Module June 12, 2008 Webmin and Usermin are simply great- but it lacks the most widely used PhpMyadmin support! However, after googling for a while I got a solution for this. First need to download and setup the usermin module- here’s the URL for wbm package- http://awstats.sourceforge.net/files/phpmyadmin-1.0.wbm How to install PHPMyAdmin Module ? Go… Read More
Installing Plex on Debian 12 March 3, 2024 Prerequisites A machine running Debian 12 with GUI mode A user account with sudo privileges Internet access for downloading packages Step 1: Update Your System Before installing any new software, it’s always a good practice to update your system’s package index. Open a terminal and execute the following command: sudo… Read More
XRDP in OpenSuse 11.0/11.2/11.3 September 28, 2012 This tutorial is for advanced users who prefer to skate all the detail that attaches to a "new user" Tutorial. The details (wherein lies the devil) are here: Windows Linux RDP Remote Desktop Connections using openSUSE as Client or Server (terminal server) FWIW there's also an 11.1 version there. Tested… Read More