{"action":"closed","issue":{"url":"https://api.github.com/repos/clustervision/trinity/issues/228","labels_url":"https://api.github.com/repos/clustervision/trinity/issues/228/labels{/name}","comments_url":"https://api.github.com/repos/clustervision/trinity/issues/228/comments","events_url":"https://api.github.com/repos/clustervision/trinity/issues/228/events","html_url":"https://github.com/clustervision/trinity/issues/228","id":74280030,"number":228,"title":"creating users doesn't set default bash profile","user":{"login":"linuxstudio","id":7702698,"avatar_url":"https://avatars.githubusercontent.com/u/7702698?v=3","gravatar_id":"","url":"https://api.github.com/users/linuxstudio","html_url":"https://github.com/linuxstudio","followers_url":"https://api.github.com/users/linuxstudio/followers","following_url":"https://api.github.com/users/linuxstudio/following{/other_user}","gists_url":"https://api.github.com/users/linuxstudio/gists{/gist_id}","starred_url":"https://api.github.com/users/linuxstudio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/linuxstudio/subscriptions","organizations_url":"https://api.github.com/users/linuxstudio/orgs","repos_url":"https://api.github.com/users/linuxstudio/repos","events_url":"https://api.github.com/users/linuxstudio/events{/privacy}","received_events_url":"https://api.github.com/users/linuxstudio/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/clustervision/trinity/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"themisa","id":6388639,"avatar_url":"https://avatars.githubusercontent.com/u/6388639?v=3","gravatar_id":"","url":"https://api.github.com/users/themisa","html_url":"https://github.com/themisa","followers_url":"https://api.github.com/users/themisa/followers","following_url":"https://api.github.com/users/themisa/following{/other_user}","gists_url":"https://api.github.com/users/themisa/gists{/gist_id}","starred_url":"https://api.github.com/users/themisa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/themisa/subscriptions","organizations_url":"https://api.github.com/users/themisa/orgs","repos_url":"https://api.github.com/users/themisa/repos","events_url":"https://api.github.com/users/themisa/events{/privacy}","received_events_url":"https://api.github.com/users/themisa/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/clustervision/trinity/milestones/4","html_url":"https://github.com/clustervision/trinity/milestones/M4","labels_url":"https://api.github.com/repos/clustervision/trinity/milestones/4/labels","id":1101495,"number":4,"title":"M4","description":"","creator":{"login":"themisa","id":6388639,"avatar_url":"https://avatars.githubusercontent.com/u/6388639?v=3","gravatar_id":"","url":"https://api.github.com/users/themisa","html_url":"https://github.com/themisa","followers_url":"https://api.github.com/users/themisa/followers","following_url":"https://api.github.com/users/themisa/following{/other_user}","gists_url":"https://api.github.com/users/themisa/gists{/gist_id}","starred_url":"https://api.github.com/users/themisa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/themisa/subscriptions","organizations_url":"https://api.github.com/users/themisa/orgs","repos_url":"https://api.github.com/users/themisa/repos","events_url":"https://api.github.com/users/themisa/events{/privacy}","received_events_url":"https://api.github.com/users/themisa/received_events","type":"User","site_admin":false},"open_issues":28,"closed_issues":7,"state":"open","created_at":"2015-05-08T07:53:01Z","updated_at":"2015-05-16T11:54:36Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-05-08T08:19:45Z","updated_at":"2015-05-16T11:54:36Z","closed_at":"2015-05-16T11:54:36Z","body":"Noticed this when using a normal user created on the login node:\r\n\r\n    [root@hokusai ~]# su - john\r\n    Last login: Fri May  1 11:39:35 UTC 2015 from login-a.vc-a on pts/1\r\n    -bash-4.2$ pwd\r\n    /home/john\r\n    -bash-4.2$ ls -la\r\n    total 8\r\n    drwxr-xr-x.  3 john john   37 May  1 13:00 .\r\n    drwxr-xr-x. 10 root root 4096 May  6 11:42 ..\r\n    -rw-------.  1 john john   50 May  1 13:01 .bash_history\r\n    drwxr-xr-x.  2 john john   71 May  1 12:38 .ssh\r\n\r\nThis probably happens because at user creation the content of /etc/skel is not added to the user's home directory:\r\n\r\n    [root@hokusai skel]# pwd\r\n    /etc/skel\r\n    [root@hokusai skel]# ls -la\r\n    total 24\r\n    drwxr-xr-x.  2 root root   59 Mar 31 12:21 .\r\n    drwxr-xr-x. 80 root root 8192 May  6 10:15 ..\r\n    -rw-r--r--.  1 root root   18 Mar  5 22:06 .bash_logout\r\n    -rw-r--r--.  1 root root  193 Mar  5 22:06 .bash_profile\r\n    -rw-r--r--.  1 root root  231 Mar  5 22:06 .bashrc\r\n\r\nIf I add manually those files in the user's home directory I have:\r\n\r\n    -bash-4.2$ cp /etc/skel/.bash_logout .\r\n    -bash-4.2$ cp /etc/skel/.bash_profile .\r\n    -bash-4.2$ cp /etc/skel/.bashrc .\r\n    -bash-4.2$ exit\r\n    logout\r\n    [root@hokusai ~]# su - john\r\n    Last login: Fri May  8 08:09:36 UTC 2015 on pts/0\r\n    [john@hokusai ~]$ \r\n\r\nThis but was detected in the exeter branch\r\n\r\n    [root@hokusai ~]# cat /trinity/version \r\n    * exeter\r\n    9f5a966\r\n\r\n\r\n"}}