06-02-2008
ok i'm done with adding,using the addgroup from the shell
any ideas for removing members?
10 More Discussions You Might Find Interesting
1. SCO
Hi,
can someone pls help resolves this problem.
I have an Openserver 5.0.4 running but had this error after having a power failure problem.
error: cannot access termainl control database entry
I have a arnetport also install with wyse 60 terminals, non of the users can have access on... (2 Replies)
Discussion started by: kayode
2 Replies
2. Solaris
hi folks,
I've been googling for quite some time, but still can't find anything near it...my problem is the following:
for useradministration in our company we are using ssh/sudo, now whenever I try to add users (we have quite a number of users) with useradd -G groupname for secondary group I... (4 Replies)
Discussion started by: poli
4 Replies
3. Programming
HI i need to delete an entry in /etc/security/passwd.
can't find a way to do it with userpw.h api ( AIX ).
the passwd file i delete like this.
Write all entrys to passwd file except the one we are removing.
can't find any function that works like getspent / getpwent do
in AIX userpw api.... (4 Replies)
Discussion started by: nighter
4 Replies
4. Shell Programming and Scripting
Ok here's the scenario, i have a ll.conf file and masterlist.
#cat ll.conf
123456
banner 1234
abcdefghi
#cat masterlist
abcdefghi
banner 123456789
what script to change ll.conf banner 123456789 from banner 1234 if they are not equal.
the final output will looks like this.
#cat... (4 Replies)
Discussion started by: kenshinhimura
4 Replies
5. Shell Programming and Scripting
Can anyone provide me a shell script to edit a xml file and delete one entry.
To do manually i can edit(vi editor) the file and 'dd' will delete the file.But I wiluld to know if I can do with a script.
Thanks in advance
Tannu (6 Replies)
Discussion started by: tannu
6 Replies
6. UNIX for Dummies Questions & Answers
From what I have read it possible to create a new group by editing the etc/group and etc/passwd in UNIX two files but a non-experienced user may face many problems such as destroying the file by mistake ot that his changes to these file does not make any difference.
However, there is this... (2 Replies)
Discussion started by: whatev3r
2 Replies
7. Shell Programming and Scripting
Hi All,
I wanted to edit the date value located at /var/opt/CPsuite-R65/fw1/conf/local.scv. The date entry looks like this :
:Signature (">=20100717")
How can I update the date value by 1 day every other day while preserving the margins of the whole file in a shell script? I have... (5 Replies)
Discussion started by: achillesxv
5 Replies
8. UNIX for Dummies Questions & Answers
Alright, so a number of users are in a group, and they have certain access rights to a file, which is owned by a single user, standard stuff, right?
However, I need to know which user in that group was the last user to edit a file.
Is there any way to determine this in SunOS 5.9? I've looked... (5 Replies)
Discussion started by: rainedragon
5 Replies
9. Shell Programming and Scripting
May i know how do i go along finding similar entry in a .txt file, which is used a as a "database" and post and error saying the entry existed when we key in the entry.
---------- Post updated at 05:18 PM ---------- Previous update was at 05:16 PM ----------
i mean post an error saying the... (5 Replies)
Discussion started by: santonio
5 Replies
10. Shell Programming and Scripting
Hello All,
My file content is:
DROP TABLE
"FACT_WORLD";
CREATE TABLE "FACT_WORLD" (
"AR_ID" INTEGER NOT NULL,
"ORG_ID" INTEGER NOT NULL
)
DATA CAPTURE NONE
COMPRESS YES;
I want to change this file to have entries in one... (6 Replies)
Discussion started by: akash2508
6 Replies