Search Results

Search: Posts Made By: The Dark Knight
Forum: AIX 01-03-2009
12,388
Posted By The Dark Knight
Well then The solution(which i got from...
Well then

The solution(which i got from scripting section)
is that I'll use a common user who will start and kill the process

so instead of calling my script that creates the process I call...
Forum: AIX 12-31-2008
12,388
Posted By The Dark Knight
Thanks for your help but i have another solution...
Thanks for your help but i have another solution already
9,949
Posted By The Dark Knight
Thanks for your advise Actually I used...
Thanks for your advise

Actually I used something close to what you said

I created an (Execute Only) Script that switches to common user and call the script that creates the process then switch...
9,949
Posted By The Dark Knight
can you illustrate how can i do it because I'm...
can you illustrate how can i do it because I'm just a beginner

Thanks in advance
9,949
Posted By The Dark Knight
how to kill a process initiated by other user at the same group
Hey

I'm writing a script that creates some processes,and some scripts which kill those processes.

the question is Simply:
How can I allow a group members to be able to kill (using kill...
Forum: AIX 12-29-2008
12,388
Posted By The Dark Knight
How to allow group members to kill process?
Hey

I'm writing a script that creates some processes,and some scripts which kill those processes.

the question is Simply:
How can I allow group members to be able to kill processes created by...
9,285
Posted By The Dark Knight
I used it like this exactly cd /home for m...
I used it like this exactly

cd /home
for m in *; do
gid=`getent group $m | cut -d: -f4`
find $m -exec chgrp $gid "/home/username" ";"
done

and i got a infinite list of :-

Usage: ...
9,285
Posted By The Dark Knight
No it does have -R option I'm not an expert...
No it does have -R option

I'm not an expert so i need specific solution
9,285
Posted By The Dark Knight
It does not matter at all
It does not matter at all
9,285
Posted By The Dark Knight
this is exactly what i want and i want it to go...
this is exactly what i want and i want it to go recursively(all directories and all files inside those directories)

also I tried the following command :-

find ${1:-.} -exec /bin/sh -c 'chmod...
9,285
Posted By The Dark Knight
I also tried the command find ${1:-.} -exec...
I also tried the command
find ${1:-.} -exec /bin/sh -c 'chmod g+`ls -ld "/home/username/" | cut -c2-4` "/home/username"' \;
and it worked with no problem but the permissions did not change a bit.
9,285
Posted By The Dark Knight
I tried it and i got this error ls: 0653-341...
I tried it and i got this error

ls: 0653-341 The file {} does not exist.
chmod: {}: A file or directory in the path name does not exist.

it seems that i should specify the initial directory...
9,285
Posted By The Dark Knight
thanks but i still having the same error I have...
thanks but i still having the same error I have logged in with the owner of the folder then directly typed the exact command above and i keep getting the same error:-

Usage:find Path-list...
9,285
Posted By The Dark Knight
How can i copy user permissions(privileges) to a group
Hey there

I have a problem and i was hoping that you guys could help me out

I want to copy a user privileges to a group and i need to copy all privileges(Recursively) every directory with all...
Showing results 1 to 14 of 14

 
All times are GMT -4. The time now is 10:33 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy