.bash_profile vs .bashrc fix

Hat tip to @pbengert for pointing out the problem.
This commit is contained in:
Shannon Appelcline 2018-08-03 11:02:28 -07:00 committed by GitHub
parent 599bd98151
commit a0a04ee0be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -280,6 +280,11 @@ As usual, give your user permission:
```
$ /bin/chown user1 ~user1/.bash_profile
```
And put a copy in `.bashrc` for use with interactive non-login shells:
```
$ cp ~user1/.bash_profile ~user1/.bashrc
$ /bin/chown user1 ~user1/.bashrc
```
### Login as Your Unprivileged User