Sponsored Content
Top Forums UNIX for Dummies Questions & Answers delete or disable the system generated account Post 302076690 by reborg on Thursday 15th of June 2006 07:40:32 AM
Old 06-15-2006
You could, but you'd break most things in the system.
 

7 More Discussions You Might Find Interesting

1. HP-UX

Temporarily Disable User Account

I want to temporarily disable a user account on HP-UX at the start of a script and renable the account at the end of the script. What would be the best method on HP-UX to temporarily disable a user account? I know of the passwd -l option that will lock the account, but I do not see a flag for... (4 Replies)
Discussion started by: scotbuff
4 Replies

2. Solaris

Root account - disable expiry

I couldnt find this in any other post - so hoping someone can help out. I want to set password expiry (or rather I have to) for a number of users on my solaris 9 system. I know i can set the following options in the /etc/default/passwd file to do it and then just type a passwd -f <username> to... (6 Replies)
Discussion started by: frustrated1
6 Replies

3. Filesystems, Disks and Memory

How to manage the .nfs files generated by the system

I'm running a UNIX application on HP-UX which generated logs files every few seconds. Now at times these log files are replicated as .nfs files and sometimes cannot be deleted. Now it reaches a point that i'm not even able to list any files on the logs directory. Normally i restart that server... (0 Replies)
Discussion started by: dowell
0 Replies

4. Post Here to Contact Site Administrators and Moderators

Delete my Account

Delete my account, please. Many thanks and best wishes with the forum. :] (1 Reply)
Discussion started by: BSRadcliffe
1 Replies

5. Post Here to Contact Site Administrators and Moderators

Delete this account

Hi, I want to change my user name.And if that is not possible can u please close the account so that i can create a new account with other user name. Regards, Jyothi (3 Replies)
Discussion started by: jyothi_wipro
3 Replies

6. Shell Programming and Scripting

Need a command to delete all files apart from last file generated

Hi, I have a directory named (/output). this directory has files in the below format abc.* , xyz*, djj*, iwe*, weewe*, rier*, 3948903ddfgf* these files are generated at random. what i need to do is. delete all the files of all kinds but keep only the last generated file of... (5 Replies)
Discussion started by: dazdseg
5 Replies

7. Post Here to Contact Site Administrators and Moderators

Please delete my account

can`t find an option to do this.... (1 Reply)
Discussion started by: spacevoid8
1 Replies
userdel(8)						      System Manager's Manual							userdel(8)

NAME
userdel - delete an user account SYNOPSIS
userdel [-D binddn] [-P path] [-r[-f]] [--service service] [--help] [-u] [-v] account DESCRIPTION
userdel deletes an user account from the local system files or a LDAP database and removes all entries that refer to account from the group database. Before the account is removed, the USERDEL_PRECMD command as defined in login.defs(5) is called, after removal the USERDEL_POSTCMD command is called. OPTIONS
-r, --remove-home Remove the whole home directory and the mail spool of the specified account. Files located in other directories will have to be searched for and deleted manually. -f, --force This option is used to force the removal of files, even if not owned by the account. --service service Add the account to a special directory. The default is files, but ldap is also valid. -D, --binddn binddn Use the Distinguished Name binddn to bind to the LDAP directory. The user will be prompted for a password for simple authentica- tion. -P, --path path The passwd and shadow files are located below the specified directory path. chpasswd will use this files, not /etc/passwd and /etc/shadow. --help Print a list of valid options with a short description. -u, --usage Print a short list of valid options. -v, --version Print the version number and exit. FILES
passwd - user account information shadow - shadow user account information group - group information SEE ALSO
passwd(1), login.defs(5), passwd(5), shadow(5), useradd(8), usermod(8) AUTHOR
Thorsten Kukuk <kukuk@suse.de> pwdutils October 2003 userdel(8)
All times are GMT -4. The time now is 05:50 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy