Locate a user's bashrc file
- by Starkers
Really confused.
Upon running
cat etc/passwd
I have found this:
postgres:x:117:126:PostgreSQL administrator,,,:/var/lib/postgresql:/bin/bash
meaning I have a postgres user, right?
I want to change the bashrc environment file of this user to make commands available to it.
/var/lib/postgresql
doesn't contain a bashrc file, and
/bin/bash
doesn't contain it either, so I don't really know what's going on. All I know is a created postgres using the
useradd
command, so why do I have some weird user with no home directory? So confused :(