In which file the location of users default shell is stored?

In which file the location of users default shell is stored?
Answer
The shell is invoked after a user successfully login into the system, using /bin/login, after reading credentials stored in the
/etc/passwd file. When the shell is started as an interactive login shell, it reads the /etc/profile and its user-specific equivalent ~/.
 

Tìm kiếm

Back
Top