I tried the following:
$ pwd
/system/etc
$ ls | grep 'shadow'
But nothing was found.
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It only takes a minute to sign up.
Sign up to join this communityKeep in mind that Termux is only a Linux environment. It's at least vastly different from a real GNU/Linux system.
Android has its own Unix user system, which does not have logins and passwords. So you'd not expect /etc/passwd
and /etc/shadows
to exist.