Create New Sudo User in Ubuntu


Create a new user

sudo useradd -m -s /bin/bash -c "Administrative User" admin

Create a password for the admin user using the passwd utility

$ sudo passwd admin

To enable the user admin to invoke sudo to perform administrative tasks, you need to add the user to the sudo system group using the usermod command as follows, where the -a option means to append user to a supplementary group and -G specifies the group.
 
sudo usermod -aG sudo admin

Now test sudo access on a new user account by switching to admin’s account (enter admin’s account password when prompted).
 
su - admin


Certificate - PEM to PKCS12

  Convert Lets encrypt PEM to tomcat PKCS12  openssl pkcs12 -export \ - in fullchain.pem \ -inkey privkey.pem \ -out server.p12 \ -...

Mais vistos