Today we shall see, how to make an exact replica of a root user which shall behave and control what all the different functions that a normal sudo or a root users controls in Linux.
Create a user, let’s call him akupedia
, grant akupedia
the same privileges as root
and set a password for this account:
$ sudo useradd -ou 0 -g 0 akupedia
$ sudo passwd akupedia
If you have already had a user akupedia and you want to grant him root
privileges (make him a second root user):
$ grep akupedia /etc/passwd
akupedia:x:1001:1001::/home/akupedia:/bin/bash
For this, it is required to edit the file /etc/passwd
and just change UID
and GID
to 0
.
That’s it. Done !
This is not an ad-vocation by any means for TP-link branding, however a real life…
First of all we need to hit the kernel version on any Android device. You…
Use resolvectl status instead. It's like something deprecates and suddenly things get broken! In systemd…
Geeky question: This is what people and friends have tried: rsync -arv --exclude "/home/john/.ccache:/home/ben/build" /home/john…
You might encounter this error which appears to be very common on Debian based Distro's…
PS: This article is for only Kali Linux users, that too having a Broadcom Wireless…