May
4
The eternal linux X free passwd
I decided post this note because it seems to me something about We should taking care always for our protection server.
Im refering about missing “x” encripted password in our file: /etc/passwd
We going to analyze the line code for users into GNU/Linux. The main goal that We need to know about its over this file, What it is ? ..
Well this file controll the users login’s to the System, where the GNU reads users and validating information over there after of each two point character ” : ” and looks like on this way:
root:x:0:0:root:/root:/bin/bash
root: user account
x: encripted password — This im talking about!
0: user id (uid) — The first one cero.
0: group id (gid) — The second cero.
root: personal information.
/root: directory tree where you enter when login up.
/bin/bash: Mode login to enter shell login.
The way for enter to system its very simple but so powerful, the only that we need to taking off the password is:
Deleting: “x” character on the line command user, later the login access will no request for some password, simply going to access the System OS. The next line will leave there:
root::0:0:root:/root:/bin/bash
I recommend taking good care with multi root’s and linking files (getting root user free password) with: “ln” “stdin” “stdout” command or some shell script.
Greets & Regards.