- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: group file error
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-26-2011 11:12 PM
тАО04-26-2011 11:12 PM
group file error
Please find the attached error while opening SAM.
When check found that root group name is updated as Root instead of root in /etc.group.
Please suggest how we can edit group file
Regards
himacs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-26-2011 11:18 PM
тАО04-26-2011 11:18 PM
Re: group file error
If I understand correctly, you can not edit the file /etc/group.
Is that correct?
Why not use vi /etc/group?
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-26-2011 11:19 PM
тАО04-26-2011 11:19 PM
Re: group file error
Thanks for the reply..
Thats my concern.. can we edit group file using vi..?
Regards
himacs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-26-2011 11:29 PM
тАО04-26-2011 11:29 PM
Re: group file error
vi /etc/group
If you do not know how to use the vi editor, please give me the content of your "/etc/group"
A Vi manual:
http://www.cs.fsu.edu/general/vimanual.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2011 12:42 AM
тАО04-27-2011 12:42 AM
Re: group file error
M familiar with the vi editor.We use vipw editor to edit the /etc/passwd file .
i want to know ,the same way any other secured option is available to edit group file other than vi.
We should be logged as root to edit the group
and since we are changing the group name Root,which contains root user(uid 0) as member.
So now my Q is whterher we can change the group name of root, with being logged as root.
Like we cant change the uid of any user, when user is busy.
Regards
himacs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2011 12:58 AM
тАО04-27-2011 12:58 AM
Re: group file error
Since you can not change the user group while it is logged and because this user is root, I think of several options (perhaps there is a better alternative):
-Edit the file with vi and change it correctly and then reboot.
-Boot the system in single user and make the change and start.
The first option is better.
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2011 01:22 AM
тАО04-27-2011 01:22 AM
Re: group file error
Issue solved.We changed modified the group name with vi.
No reboot required.
Regards/himacs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2011 01:23 AM
тАО04-27-2011 01:23 AM
Re: group file error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2011 05:46 AM
тАО04-27-2011 05:46 AM
Re: group file error
In short, you are violating your contract with HP.
This isn't linux. Linux is an open source O/s developed by hobbyist all who retain the right to continue to make changes to the O/S.
HP-UX is copyrighted. That's the difference.
b) There is no alternative to vipw for /etc/group. make a backup and make your changes with the vi editor.
c) there is an /etc/shadow password file and you may or may not be prompted to update this if you vipw but not /etc/group.
d) if you are using sudo then be aware that sudo is group file based and you may be changing a sudo configuration if you change the /etc/group file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2011 06:58 PM
тАО04-27-2011 06:58 PM
Re: group file error
Of course you can edit /etc/group at any time. It is simply a translation file for commands like ll. The ll (ls -l) command gets the group ID (GID) from the inode for a file and then looks up a more user-friendly name in /etc/group. So you can change it at anytime and basic filesystem handling doesn't change. If you use the chmod or chggrp command, you can bypass the group file by using a GID number. The only things that would be affected are commands and programs that use the symbolic name rather than the GID.
So the group Root is probably the first entry. Just fix Root to root and you are done.
Bill Hassell, sysadmin