Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 614
  • Last Modified:

Not able to see /etc/passwd file.


I am a beginner in Redhat Linux server.

I am reading the following line in a book ::

The home directory for the root user is /root. That and other information associated with the root user account is located in the /etc/passwd file. Here is what the root entry looks like in the /etc/passwd file:

But, I cannot find the  "etc/passwd" file on my server under the root directory.

Plz help...
1 Solution
It is NOT under the /root directory! Note the leading slash in /etc/passwd !!

Do a

ls -l /etc/passwd

(with leading slash!)
and you will see it.

Featured Post

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Tackle projects and never again get stuck behind a technical roadblock.
Join Now