Sponsored Content
Full Discussion: delete user
Top Forums UNIX for Advanced & Expert Users delete user Post 302485292 by jim mcnamara on Tuesday 4th of January 2011 09:12:22 PM
Old 01-04-2011
You can try
Code:
find[list of base directories normal users can write to] -exec ls -l {} \;

Where the list might be: /home /users /data
If these are privileged users then you have a whole new problem.
 

10 More Discussions You Might Find Interesting

1. OS X (Apple)

Delete User?

is there a way to delete a mac os x user using unix? (3 Replies)
Discussion started by: CBarraford
3 Replies

2. UNIX for Dummies Questions & Answers

Delete all files of a particular user

How do I delete all directories and files belonging to a particular userid in a directory and its subdirs? (9 Replies)
Discussion started by: abhilashnair
9 Replies

3. UNIX for Dummies Questions & Answers

How to delete everything owned bya particular user?

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

4. AIX

delete user on kerberised server

how r u all, i have AIX server which is kerberised, and i create a user on it called "sam" when i want to assign a password for it i typed smit user then i choosed change password and i choosed the user " sam" when i press enter this message ' user 'sam' doesnt exist" appears. then when i want... (2 Replies)
Discussion started by: abu7maid2005
2 Replies

5. UNIX for Advanced & Expert Users

How to delete history for a particular user

Hi All, Whenever I log in to my terminal and execute some cmds and then I type "history", I get the list of all the commands that I have executed. I want to know where is the history been stored (any path location ?) Secondly,if I want to delete the history or some part of the history, can... (9 Replies)
Discussion started by: shubhranshu
9 Replies

6. UNIX for Dummies Questions & Answers

User can't delete files

Hi Professionals, Need a way to restrict a user from his own directory so that he can't delete files from his directory but can read and write/overwrite. Is this information enuf for you people? Pls reply. Rgds, Gaurav (2 Replies)
Discussion started by: gav_dhiman
2 Replies

7. Shell Programming and Scripting

Delete everything owned by a particular user

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

8. UNIX for Dummies Questions & Answers

How to delete files of a particular user?

I went to location where I need to delete all the files owned by me I used the below code but it didn't work. It didn't throw any error but it hasn't deleted the files find . -user username -exec rm -rf {} \; Any suggestions please? (5 Replies)
Discussion started by: lakers646
5 Replies

9. Shell Programming and Scripting

Delete file content by asking user Yes/No...

I have following script to ping multiple ips but i want to delete ip.csv file content after running script .....but before deleting content i have ask user yes/No prompt depend on user input Yes/no ip.csv content will delete.. #!/bin/bash for enodeb in `cat /tmp/ip.csv` do ping -c 2... (3 Replies)
Discussion started by: Ganesh Mankar
3 Replies

10. Shell Programming and Scripting

Trying to delete a user and home directory

Good Afternoon, I'm trying userdel -r username on Solaris 9 and getting UX: userdel: ERROR: unable to find status about home directory: No such file or directory I see the user's home directory and getent passwd shows the user Anybody know what's causing it? (2 Replies)
Discussion started by: Stellaman1977
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)
All times are GMT -4. The time now is 11:06 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy