03-13-2006
Quote:
Originally Posted by anw68ster
I need a command that returns the usernames that have ran the 10 processes that have taken the most time to execute on a machine.
I also need a command that returns only those directories that have read/execute permissions for all the users.
now that we all know what your
needs are.... what have you tried to accomplish
yourself so far?
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Can anyone tell me what the charachter maximum on a username is in SunOs 5.6.
Thanks
Mark (1 Reply)
Discussion started by: m.szylkarski
1 Replies
2. Shell Programming and Scripting
Hi,
i want to use grep to extract users with at least 4 characters in their username, i've tried who | grep \{4,\} but thats not working!!!!!!
Thanks (4 Replies)
Discussion started by: c19h28O2
4 Replies
3. Post Here to Contact Site Administrators and Moderators
Under all users, there are some keynames. Some are obvious, like Moderator and Registered User. I have seen others too. What do they mean or signify?;) (2 Replies)
Discussion started by: joeyg
2 Replies
4. UNIX for Advanced & Expert Users
Hello everyone, I was just wondering if there was a way to make it so that usernames could be used across applications.
For instance, I have a server that has a bunch of users. I want these users to have ways of accessing my database as well as a variety of other programs, but I don't want them... (2 Replies)
Discussion started by: gonzofish
2 Replies
5. UNIX for Advanced & Expert Users
We have users that have a # in their username. Sudo is working on some servers and not others. I have narrowed it down to the # in their username. Any suggestions or ideas why it is working on 1 server but not another.
Server not working is - Solaris 10 patch level 138888-01
Server working is ... (1 Reply)
Discussion started by: Gibby13
1 Replies
6. Shell Programming and Scripting
Hello everyone,
I am trying to create a script that will make usernames (last name and first letter of name - for example, James Bond = bondj).
At this point, I figured out how to make a script that can read the list of names from a text file.
Here is what I have:
#!/bin/bash
... (5 Replies)
Discussion started by: RSpades
5 Replies
7. Shell Programming and Scripting
Hello All,
A quick description of what I would like to do;
1) Find all the current registered usernames and loop through them.
2) Display each username 1 by 1 and Ask the user if they would like to store the username in another array (y or n)
3) Display the list of chosen usernames... (4 Replies)
Discussion started by: mmab
4 Replies
8. Solaris
Hi
There is an application installed on a server, that has a unique login account, but many users are using it with the same login name! How can we overcame this by creating individual accounts for the same application login account? (11 Replies)
Discussion started by: fretagi
11 Replies
9. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Write a script that displays all usernames and their UIDs in the following fashion:
name1 uid=999
name2... (2 Replies)
Discussion started by: baniel
2 Replies
modpath(2) System Calls Manual modpath(2)
NAME
modpath - change global search path for dynamically loadable kernel modules
SYNOPSIS
DESCRIPTION
allows processes with appropriate privilege to modify the global search path used to locate object files for dynamically loadable kernel
modules. The search path modifications take effect immediately and affect all subsequent loads for all users on the system.
pathname may be either a colon-separated list of absolute path names or NULL. If the former, these path names represent directories which
should be searched for all autoloads of loadable kernel modules and for demand loads (see modload(2)) where the module is given by a simple
file name. This list of directories will be prepended to the existing list of directories and so will be searched before any directories
given in previous calls to and before the default location which is always searched last. The directories do not have to exist on the sys-
tem at the time is called, or when a load actually takes place. If pathname is equal to NULL, the global search path is set back to its
initial default value,
Notes
is currently implemented as a macro. Module search path is not persistent across boots.
Security Restrictions
is restricted to superuser processes or privileged processes. A privileged process requires the privilege to execute the system call.
See privileges(5) for more information about the privilege.
RETURN VALUE
On success, returns 0, otherwise it returns -1 and sets to indicate the error.
ERRORS
fails if one or more of the following are true:
The list of directories specified by pathname is malformed.
The Dynamically Loadable Kernel Module feature is not initialized.
pathname
is more than characters long.
The caller is not a superuser process or a privileged process.
SEE ALSO
kcmodule(1M), modload(2), privileges(5).
modpath(2)