Red Hat Bugzilla – Bug 1279110
New shell user has neither .bash_profile nor .bashrc
Last modified: 2016-02-09 17:48:38 EST
Description of problem:
When a shell user is created by Anaconda during setup, it has neither .bashrc nor .bash_profile installed.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install Fedora using Anaconda.
2. Create a shell user during installation.
3. Log in with the user (or, if using GUI, open terminal).
Neither .bash_profile nor .bashrc file is present in user's home directory.
Both .bash_profile and .bashrc should be present.
It is not difficult to install just a simple .bash_profile and .bashrc like Anaconda does for the root user. Without them, even the shell prompt is ugly and uninformative.
Sorry for the delay in responding. What options are you using to create the user? Can you post the logs from the installation? They are available in /tmp during the install, and copied to /var/log/anaconda on the installed system.
Anaconda, via useradd, installs everything in /etc/skel to the new user's home directory, so without logs to the contrary this appears to work fine.