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
Configure Putty.exe to save serial console output to a file
Impact of procedure : Performing the following procedure should not have a negative impact on your system. Open putty by double click...
Mais vistos
-
Java Keytool Command These commands allow you to generate a new Java Keytool keystore file, create a CSR, and import certificates. A...
-
Kaspersky seems to be storing windows update files on the C Drive: Here -> C:\ProgramData\KasperskyLab\adminkit\1093\.working Change fo...
-
A few cmds to help with the DFS troubleshooting aspects, keep in mind all should be run from an elevated PowerShell Dfsdiag /TestDCs D...