Bug 1279110 - New shell user has neither .bash_profile nor .bashrc
Summary: New shell user has neither .bash_profile nor .bashrc
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 23
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: David Shea
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-07 22:50 UTC by Assen Totin
Modified: 2023-09-14 03:12 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-02-09 22:48:38 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Assen Totin 2015-11-07 22:50:03 UTC
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):

How reproducible:
Every time

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). 

Actual results:
Neither .bash_profile nor .bashrc file is present in user's home directory.

Expected results:
Both .bash_profile and .bashrc should be present.

Additional info:
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.

Comment 1 David Shea 2016-01-08 19:52:15 UTC
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.

Comment 2 David Shea 2016-02-09 22:48:38 UTC
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.

Comment 3 Red Hat Bugzilla 2023-09-14 03:12:42 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days


Note You need to log in before you can comment on or make changes to this bug.