Quantcast
Viewing all articles
Browse latest Browse all 19115

0007422: when a new user is added, a profile is created that will add /home/user/bin to the $PATH, but that directory is not created

The default behavior ("d.b.") associated with adding a new user has an inconsistency. The d.b. does such things as create a group with the same name as the user, set the user to be a member of that group, create a subdirectory of /home with the same name as the user, and create a .bash_profile file in that directory (among other things). That profile file is called when the user logs in, and it specifies that the $PATH will be modified to include a /$HOME/bin directory. However, that directory was not created by the d.b. of the useradd process.<br /> <br /> (As an aside, I noticed that the /etc/groups file includes the "users" group, but the newly-created user is not added to that group. At the moment I assume it is deliberate, part of the security system, but I may be mistaken.)

Viewing all articles
Browse latest Browse all 19115

Trending Articles