Web lists-archives.com

Re: Setting default $PATH for all users




On 2019-02-11, rhkramer@xxxxxxxxx <rhkramer@xxxxxxxxx> wrote:
> On Monday, February 11, 2019 03:57:14 AM tomas@xxxxxxxxxx wrote:
>> On Sun, Feb 10, 2019 at 09:07:13PM -0600, David Wright wrote:
>> > On Fri 08 Feb 2019 at 10:08:49 (-0500), Dan Ritter wrote:
>> > > Richard Owlett wrote:
>> > > > By my problem definition, any thing in /home/user is not relevant as
>> > > > I explicitly want something that affects all current and future
>> > > > users.
>> > > 
>> > > Everybody, no matter what?
>
> Well, this is probably OP (off point), but not OT (off topic).
>
> There is a directory /etc/sket (with all hidden files thus you need something 
> like ls /etc/skel/.* to get a listing).

I believe you need something like 'ls -a /etc/skel/', in fact, to see those pesky dot
files.

Your command, actually, have you tried it? It produces results that are
different from what you expected, I think.

> AIUI, these files are used, when a new user is created, to create the initial 
> instance of those files for the new user.  It includes files like bashrc (and 
> lots of others).
>
> Maybe that will be of some help for future users.
>
>


-- 

When you have fever you are heavy and light, you are small and swollen, you
climb endlessly a ladder which turns like a wheel. 
Jean Rhys, Voyage in the Dark