Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2006 10:54 AM
02-02-2006 10:54 AM
umask
how do i set umask to 022 for independent user without changing it to /etc/default/login file. i have chage it to $HOME/.login file, but when i ssh to another machine, it takes default from the file /etc/default/login. How do i resolve this issue?
What if i change umask to 022 in /etc/default/login ?? will it effect the existing setting?? Help me..
Cheers
Indrajit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2006 11:37 AM
02-02-2006 11:37 AM
Re: umask
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2006 06:01 PM
02-02-2006 06:01 PM
Re: umask
If you want to have that setting just add one line of,
umask 022
in /etc/profile which will give that setting to all users in that machine.
--
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2006 06:40 PM
02-02-2006 06:40 PM
Re: umask
globally, user and script
Globally in the /etc/default/login or /etc/profileand can subsequently be set on user level in its /home/user/.profile
or you can script the umask command in
the beginning of a shell script , so it
is only valid for that script session.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2006 06:41 PM
02-02-2006 06:41 PM
Re: umask
globally, user and script
Globally in the /etc/default/login or /etc/profile and can subsequently be set on user level in its /home/user/.profile
or you can script the umask command in
the beginning of a shell script , so it
is only valid for that script session.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2006 12:09 AM
02-04-2006 12:09 AM
Re: umask
i have tried with chaning $HOME/.profile, but it doesn't work.
When i user login in one machine to another through ssh, if he type umash in command prompt (i.e #umask), it shows 027. i wanted to set umask for independent user, not globally.
Cheers
Indrajit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2006 02:27 AM
02-04-2006 02:27 AM
Re: umask
When you changed the umask in $HOME/.profile for the user did you remember to export it as well?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2006 02:48 AM
02-05-2006 02:48 AM
Re: umask
Let me find, if there is some other issue...
Thanks for ur support..
Cheers
Indrajit