hi,
I want to make an entry in /etc/groups on unix server. can anyone tell how to get he path where this folder resides..
And also, can anyone say the query used to add an entry (user) in this folder.
with thanks,
Leka.
issue with /etc/groups on unix server
Moderators: chulett, rschirm, roy
-
ray.wurlod
- Participant
- Posts: 54595
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Welcome aboard.
/etc/groups is located at /etc/groups
The file called groups is in the directory whose pathname is /etc.
What are you trying to achieve by this? In most variants of UNIX you need to do more (and more securely) than add an entry to the groups file in order for the group to exist. For example your UNIX may have an add_group command, or it may use the smit command, and so on.
/etc/groups is located at /etc/groups
The file called groups is in the directory whose pathname is /etc.
What are you trying to achieve by this? In most variants of UNIX you need to do more (and more securely) than add an entry to the groups file in order for the group to exist. For example your UNIX may have an add_group command, or it may use the smit command, and so on.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
ray.wurlod
- Participant
- Posts: 54595
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
No, because I don't know what kind of UNIX you're on.
Ask your UNIX system administrator what the correct command is AND what special privileges/permissions might be required at your site to be able to use that command.
Ask your UNIX system administrator what the correct command is AND what special privileges/permissions might be required at your site to be able to use that command.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
