Saturday , November 23 2024

Authorized_Keys Linux

In today’s article I will tell you about Authorized_Keys Linux.

We said that everything in Linux consists of files, what are the authorities on these files, what kind of authorizations are there, and what permissions should we give when we create a new file? I will talk about them in this article.

In Linux, we can use the ls -l command to view the contents and permissions of our files.

For more details on the ls command

In Linux, you can look at my ls -l list of files (ls command) in the directory.

In Linux, there is also a basic job authorization.

Read-Read(r) : Permission to view folder list and file content (read privilege)

Write-Write(w) : Authorization required to make changes on file and folder (write authorization)

Execute-Execute(x): Authorization required to run the file and access the folder (Execute authorization)

Let’s see what we mentioned above by listing the files in the directory with the ls -l command.

As you can see in the picture above, we have two files. Let’s continue with the area marked in red.

We see that our first file starts with “d” and the other with “-”. “d” indicates a directory. In order to examine the privileges in Linux, we need to divide them into groups of three and examine them over them.

In the picture above, we explained the “d” and “-” parameters. The red area gives information about the permissions for the frk user, the yellow area gives information about the group, the gray area gives information about the necessary permissions for other users.

The area marked in red
For the file, linuxogreniyorum means that the user can read, write, run.

For linuxogrannytext, it means that the user cannot read, write, or execute.

The area marked in yellow

For the file, linuxogreniyorum means that the group can read, write, run.

For linuxogrannytext, it means that the group cannot read, write, or execute.

Area marked in gray

linuxogreniyorum means that other users can read, write or run the file.

For linuxogrannytext, it means that the user cannot read, write, or execute.

In the above picture, the part marked in blue is the group, the yellow marked the users, the gray marked the last modified information.

Loading

About Faruk Erdem

Leave a Reply

Your email address will not be published. Required fields are marked *