10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
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. Shell Programming and Scripting
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..
for enodeb in `cat /tmp/ip.csv`
ping -c 2... (3 Replies)
Discussion started by: Ganesh Mankar
3. Shell Programming and Scripting
My directory structure is as below.
dir1, dir2, dir3
I have the list of files to be deleted in the below path as below.
/staging/retain_for_2years/Cleanup/log $ ls -lrt
drwxr-xr-x 2 nobody nobody 256 Mar 01 16:15 01-MAR-2015_SPDBS2
drwxr-xr-x 2 root ... (2 Replies)
Discussion started by: prasadn
4. 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 ?
Matt (2 Replies)
Discussion started by: lijjumathew
5. UNIX for Advanced & Expert Users
Aside from userdel -r "username', are there any things needed to check before deleting a user? I wanted to cleanup user accounts and Im just worried if there are scripts or tasks created or owned by them that might be affected once I deleted the account. I normally login to their account... (2 Replies)
Discussion started by: lhareigh890
6. UNIX for Dummies Questions & Answers
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?
Gaurav (2 Replies)
Discussion started by: gav_dhiman
7. UNIX for Advanced & Expert Users
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
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
9. UNIX for Dummies Questions & Answers
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
10. OS X (Apple)
is there a way to delete a mac os x user using unix? (3 Replies)
Discussion started by: CBarraford