- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: group privileges
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
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
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
тАО04-08-2009 06:09 AM
тАО04-08-2009 06:09 AM
How we can check group privileges?
Can we set any privileges to group while creating?
Awaiting ur replies..
Regards,
himacs
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2009 06:14 AM
тАО04-08-2009 06:14 AM
Re: group privileges
id username < lists the groups >
umask sets permissions, primary group determines the group when a user creates a file.
You can overwrite this with directory defaults.
ll -d direcotry_name
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2009 06:18 AM
тАО04-08-2009 06:18 AM
Re: group privileges
Thanks for ur reply.
Actually i wanted know about group.
By default what privileges any group having?
If we adding a user to any group,the user inheriting group privileges?
How to check group's present privileges
Regards
himacs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2009 06:23 AM
тАО04-08-2009 06:23 AM
Re: group privileges
If you want to be able to create files in a directory and have those files inherit the directory's group, set the 'setgid' bit on the directory. THus:
# mkdir /tmp/mydir
# chgrp users /tmp/mydir
# chmod 2777 /tmp/mydir
# touch /tmp/mydir/myfile
# ls -l /tmp/mydir/myfile
-rw-r--r-- 1 root users 0 Apr 8 10:21 /tmp/mydir/myfile
...thus the file was created with the group ownership of its parent directory.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2009 06:33 AM
тАО04-08-2009 06:33 AM
Solution>>By default what privileges any group having?<<
normal groups will not have any privilages for it's own.
>>If we adding a user to any group,the user inheriting group privileges?<<
Yes. For examble if this group is having write access to one particular directory, it will be inherited to the users belongs to this group.
>>How to check group's present privileges<<
#cat /etc/group
Ganesh.