2 votes

How do I define a permanent umask for a particular user?

I need to set a `` different one to the one that comes by default in the system.

The "problem" is that it doesn't have to be for all users, but for some in particular, and I understand that if I modify the ".bashrc" file it touches everyone.

How could I do that?

2voto

fedorqui Points 7806

Yes, as you say it is to indicate it in the file `` and add the line of the type:

Thus, each time the user in question opens the session, that value will be activated and only for him.

HolaDevs.com

HolaDevs is an online community of programmers and software lovers.
You can check other people responses or create a new question if you don't find a solution

Powered by:

X