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.

Tags:

4 Responses to "The eternal linux X free passwd"

Leave a Comment

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word