- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- permission
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
06-05-2008 02:44 AM
06-05-2008 02:44 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2008 02:48 AM
06-05-2008 02:48 AM
Re: permission
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2008 02:49 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2008 03:20 AM
06-05-2008 03:20 AM
Re: permission
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2008 03:36 AM
06-05-2008 03:36 AM
Re: permission
You can give read only to everyone with:
chmod a+r /var/adm/sulog
Otherwise you'll need to create an ACL. See setacl(1), aclv(5):
http://docs.hp.com/en/B2355-60130/setacl.1.html
http://docs.hp.com/en/B2355-60130/aclv.5.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2008 03:45 AM
06-05-2008 03:45 AM
Re: permission
but alternatively you can apply ACL to that user only on that particular user.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2008 03:52 AM
06-05-2008 03:52 AM
Re: permission
the owner of /var/adm/sulog is root.and permission is rw for owner.
if you want to read sulog with Joe user,
you can easly add the Joe user to the root group from /etc/group.
regards,
mustafa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2008 03:55 AM
06-05-2008 03:55 AM
Re: permission
sorry for missing,
final step you must change permission -rw-rw---- sulog.
regards,
mustafa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2008 03:59 AM
06-05-2008 03:59 AM
Re: permission
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2008 04:04 AM
06-05-2008 04:04 AM
Re: permission
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2008 04:10 AM
06-05-2008 04:10 AM
Re: permission
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2008 04:14 AM
06-05-2008 04:14 AM
Re: permission
2. locate the root group line
root::0:root
3. At the end of this line, add "joe"
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2008 04:14 AM
06-05-2008 04:14 AM
Re: permission
when you apply command
#groupadd
the groupname has been added in /etc/group file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2008 04:25 AM
06-05-2008 04:25 AM
Re: permission
group contains for each group the following information:
+ group name
+ encrypted password
+ numerical group ID
+ comma-separated list of all users allowed in the group
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2008 04:31 AM
06-05-2008 04:31 AM
Re: permission
#chmod 660 /var/adm/sulog
and edit the file /etc/group as following;
vi /etc/group
add the Joe user and of the line,
root::0:root,joe
regards,
mustafa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2008 04:54 AM
06-05-2008 04:54 AM
Re: permission
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2008 05:18 AM
06-05-2008 05:18 AM
Re: permission
Dear Kacaou
regarding permission in simple way understand how to give permission
rwx
r is read
w is write
x is execute
x has the value 1
w has the value 2
and read has the value 4
and in which order we have to give
user-group-others
for example
if u are giving chmod 777 then permission of the file will be rwx-rwx-rwx means
read+write+execute(4+2+1) and u are giving these permission to the user, group and others, so everybody will get grant permission
based these calculation u can assign permission in simple way depends on requirement
thanks and regards
Sajjad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2008 10:37 PM
06-05-2008 10:37 PM
Re: permission
>based these calculation you can assign permission in simple way
Instead of using stinkin' numbers you can use the symbolic form.
The man page says this about the numeric form: (Obsolescent)
(You only have to know about numbers for the chmod ftp command.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2008 10:44 PM
06-05-2008 10:44 PM
Re: permission
by adding Joe to the root user group you will grant access for Joe also to many other files.
Do you want to do this?
Again, I would suggest to setup a sudo-command for reading this particular file.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
