10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I want to delete all files and folders owned a user say abcuser in the folder /tmp .
Can you please give me the command ?
Thanks
Matt (2 Replies)
Discussion started by: lijjumathew
2 Replies
2. Web Development
Hi
I am trying to make a web program which is command line equivalent. i have done the coding in cgi program in perl and html for basic forms to take inputs. when i ran the program from web application i see permission denied messages. after analyzing i found apache is running as wwwrun which... (2 Replies)
Discussion started by: rakeshkumar
2 Replies
3. AIX
Hi
I'm logged in to an AIX box now and we need to do an audit on this box.
cbssapr01:# pwd
/
Which command will show all the files and directories owned by root user with permissions as 777 ? (8 Replies)
Discussion started by: newtoaixos
8 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I want to know if the is a way I can list the directories owned by a given user. Say i am logged in as that user.
I found out the find command lists the files owned by a certain user/group
but i want to know only the directories and if possible the permissions associated with these... (6 Replies)
Discussion started by: poojabhat
6 Replies
5. UNIX for Dummies Questions & Answers
I've tried to figure this out.
I'm only about 6 mos into my AIX admin duties, but I've got a "security" problem I can't figure out.
I've created a sub directory as follows:
drwx------ 2 root system 256 Apr 13 16:02 mike
I've logged in another session with the following user:
$ id... (2 Replies)
Discussion started by: mpheine
2 Replies
6. Shell Programming and Scripting
Hi All,
I am writing a script in which i need find the total size of all the directories that are present in a directory which are owned by a particular user.
I will explain in details
i have a dir DIR1 in which i have 5 dir's DIRA DIRB DIRC DIRD DIRE.
DIRA DIRC DIRE are owned by "eswar" i... (2 Replies)
Discussion started by: firestar
2 Replies
7. UNIX for Advanced & Expert Users
How can I kill a process owned by user1? I will be using another user (user2) (not root) and we are on the same primary and secondary group. I copied everything including it's .profile and set the path accordingly.
user1@hostnmae0:/home/user1 $ pkill java
pkill: Failed to signal pid 1234:... (2 Replies)
Discussion started by: lhareigh890
2 Replies
8. Shell Programming and Scripting
Hi Here is my problem:
1)I am login to unix server through my login id and do SU - xxx
2) Start the script which is running in background
I want that other user which login to there id and do SU - yyy(Different user) kill that
script.
Could you please help me in this. (9 Replies)
Discussion started by: mr_harish80
9 Replies
9. Cybersecurity
Under oracle user file abc.txt was created. Oracle user belong to dba group on UNIX Server. However other non Oracle users which belongs to some other network groups need read only access to this file.
Every time when I login as other then oracle user and try to view this file it saying that I... (2 Replies)
Discussion started by: groosha
2 Replies
10. UNIX for Dummies Questions & Answers
Hi I am an Oracle DBA and I want to delete everything owned byOracle on the AIX server.
What command would do that? (5 Replies)
Discussion started by: sarangishere
5 Replies
nice(2) System Calls Manual nice(2)
NAME
nice - change priority of a process
SYNOPSIS
DESCRIPTION
adds the value of priority_change to the nice value of the calling process. A process's is a positive number for which a more positive
value results in lower CPU priority.
A maximum nice value of 39 and a minimum nice value of 0 are imposed by the system. Requests for values above or below these limits result
in the nice value being set to the corresponding limit.
If the calling process contains more than one thread or lightweight process (i.e., the process is multi-threaded) this function shall apply
to all threads or lightweight processes in the calling process.
Security Restrictions
Some or all of the actions associated with this system call are subject to compartmental restrictions. See compartments(5) for more infor-
mation about compartmentalization on systems that support that feature. Compartmental restrictions can be overridden if the process pos-
sesses the privilege (COMMALLOWED). Processes owned by the superuser may not have this privilege. Processes owned by any user may have
this privilege, depending on system configuration.
Some or all of the actions associated with this system call require the (OWNER) and/or the (LIMIT) privileges. Processes owned by the
superuser will have these privileges. Processes owned by other users may have privilege(s), depending on system configuration. See privi-
leges(5) for more information about privileged access on systems that support fine-grained privileges.
RETURN VALUE
Upon successful completion, returns the new nice value minus 20. Otherwise, a value of -1 is returned and is set to indicate the error.
Note that assumes a user process priority value of 20. If a user having appropriate privileges has changed the user process priority value
to something less than 20, certain values for priority_change can cause to return -1, which is indistinguishable from an error return.
ERRORS
[EPERM] fails and does not change the nice value if priority_change is negative or greater than 40, and the effective user ID of the
calling process is not a user having appropriate privileges.
SEE ALSO
nice(1), renice(1M), exec(2), privileges(5).
STANDARDS CONFORMANCE
nice(2)