- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to change the umask value for the user.
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
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
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
тАО10-26-2009 02:18 PM
тАО10-26-2009 02:18 PM
how to change the umask value for the user.
where we can edit this?
pls anyone brieflyexpalin me ,how to reolve this type of problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2009 02:33 PM
тАО10-26-2009 02:33 PM
Re: how to change the umask value for the user.
The usual choice is to set the 'umask' in the user's login profile.
Assuming that the user uses the standard HP-UX POSIX shell ('/usr/bin/sh') or the Korn ('/usr/bin/ksh') variation, edit the ${HOME}/.profile and add:
umask 022
...at the end. Make sure that the user logs out and back in to source (read) the newly modified '.profile'.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2009 03:20 PM
тАО10-26-2009 03:20 PM
Re: how to change the umask value for the user.
>how to change the umask o22 value tfor the user?
If umask variable specified in /etc/profile (Globally ) it will take from there. Otherwise specify in /home/username/.proile
- umask # it will show current umask .
- #vi /home/username/.profile
...
umask 022
- logout and login.
- check with umask command , you will see 022.
cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2009 06:15 PM
тАО10-26-2009 06:15 PM
Re: how to change the umask value for the user.
Open the user's .profile which you will find user's home directiory.
i.e.
vi /home/user1/.profile
#add this line
umask 022
#save the file
ask user to login and check
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-27-2009 02:08 AM
тАО10-27-2009 02:08 AM
Re: how to change the umask value for the user.
Or have the user type that umask command.