- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Root Level Access
Operating System - HP-UX
1748139
Members
3857
Online
108758
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО03-31-2009 09:10 AM
тАО03-31-2009 09:10 AM
Root Level Access
Hello,
I want to add a user who should have a write permission acroos the system. But he shouldnt have write or excecute permission. How to do the same?
I think we can set umask value to other as 400 so that the newly created user will get read access. Is this ans correct? Wil it impact current user permissions?
I want to add a user who should have a write permission acroos the system. But he shouldnt have write or excecute permission. How to do the same?
I think we can set umask value to other as 400 so that the newly created user will get read access. Is this ans correct? Wil it impact current user permissions?
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-31-2009 09:21 AM
тАО03-31-2009 09:21 AM
Re: Root Level Access
You question seems to be confusing
"I want to add a user who should have a write permission acroos the system. But he shouldnt have write or excecute permission"
Function of umask is when the particular user creates a directory(777 - umask) or file(666 - umask) it will be created with the particular permissions
"I want to add a user who should have a write permission acroos the system. But he shouldnt have write or excecute permission"
Function of umask is when the particular user creates a directory(777 - umask) or file(666 - umask) it will be created with the particular permissions
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-31-2009 03:26 PM
тАО03-31-2009 03:26 PM
Re: Root Level Access
umask is not the correct tool
umask 400 - will mean that the user creates files with some strange permissions eg:
baspb326:/home/mmcdonal# umask 400
baspb326:/home/mmcdonal# touch crap2
baspb326:/home/mmcdonal# ls -l crap2
--w-rw-rw- 1 mmcdonal other 0 Apr 1 10:24 crap2
perhaps you should look at chroot and link the files that you want him to be able to read (I assume that's what you meant)
umask 400 - will mean that the user creates files with some strange permissions eg:
baspb326:/home/mmcdonal# umask 400
baspb326:/home/mmcdonal# touch crap2
baspb326:/home/mmcdonal# ls -l crap2
--w-rw-rw- 1 mmcdonal other 0 Apr 1 10:24 crap2
perhaps you should look at chroot and link the files that you want him to be able to read (I assume that's what you meant)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-31-2009 10:44 PM
тАО03-31-2009 10:44 PM
Re: Root Level Access
I think i have not put my question properly.
publishing query again
publishing query again
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP