11-23-2003
In addition to the possible GUI options, most unix flavors have a CLI. You can read about each using 'man <command>'
AIX: mkuser, rmuser
BSD: adduser, rmuser
HPUX, Solaris, Linux, Tru64: useradd, userdel
Cheers,
Keith
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Is there a way to easily change an account to be a non login account (NP in the shadow) file?
I know I can just edit the file but that is not what we want to do. We use access control software and want to provide a way to set an account to be non-login using simple commands that can be mapped... (0 Replies)
Discussion started by: LordJezo
0 Replies
2. UNIX for Dummies Questions & Answers
I have access to 15+ UNIX boxes at work, and I do not consistently log onto all of them over time. When I do try to access one I havent been on in awhile, my account is locked as the password has expired.
I need to request to the UNIX SA's that the password expiration is 90 days and that if it... (1 Reply)
Discussion started by: stringzz
1 Replies
3. Shell Programming and Scripting
hi experts,
Can you please help me out in removing delimiters with in double quotes from a CSV file.
input:
=====
a,"bnn,",dgd, "sagfh,dj",ad
output
=====
a,"bnn",dgd, "sagfhdj",ad
there are so mnay fileds in a row and there are millions of rows.
Thanks in an advance.... (6 Replies)
Discussion started by: subhendu81
6 Replies
4. Linux
Hi ,
I am faceing lot of problem due to "disk space is not enough".
senerio is like as,
In system has 5 account.
a,b,c,d,e
say account c if very critical.
Due to other user's data, user 'c' is faceing disk space issue.
I want to dedicate 3 GB for user 'c'.
No user... (1 Reply)
Discussion started by: ashokd009
1 Replies
5. Shell Programming and Scripting
Hi,
I need to zip/compress a data file and send to a vendor. The vendor does have only unzip utility and can accept only .ZIP files. I do not have zip utility in my server.
How do I zip/compress the file so that it can be deflated using unzip command ? I tried gzip & compress commands, but... (1 Reply)
Discussion started by: Sabari Nath S
1 Replies
6. Forum Support Area for Unregistered Users & Account Problems
Hi there,
I may have had a typo in my email previously provided. I have doublechecked my email for Scott's reply but havent seen it, so I am creating a new post.
My new email can be either one of these: <removed> or <removed>
I beleive my old email was <removed by admin>
thanks for your... (1 Reply)
Discussion started by: AKelam_MagnusA
1 Replies
7. How to Post in the The UNIX and Linux Forums
I have made password less connection to my remote account. and i tried to execute commands at a time. but i am unable to execute the commands.
ssh $ACCOUNT_DETAILS@$HOST_DETAILS
cd ~/JEE/*/logs/ (1 Reply)
Discussion started by: kishored005
1 Replies
8. Post Here to Contact Site Administrators and Moderators
Hi,
Can anyone suggest me for the below steps.
Here the index files is nothing but a text file and In index file there are n number of pdf files.
Step 0 check out if this is for A(index file) or B(index file)
1. Read the first line of the original index file
2. Read the 9th character... (1 Reply)
Discussion started by: pavand
1 Replies
9. Windows & DOS: Issues & Discussions
Hello,
Does anyone know what happens to your skype account if you close the outlook.com email account which are linked together? As you know they are both owned by Microsoft.
Thanks (0 Replies)
Discussion started by: milhan
0 Replies
userdel(1M) System Administration Commands userdel(1M)
NAME
userdel - delete a user's login from the system
SYNOPSIS
userdel [-r] login
DESCRIPTION
The userdel utility deletes a user account from the system and makes the appropriate account-related changes to the system file and file
system.
OPTIONS
The following options are supported:
-r Remove the user's home directory from the system. This directory must exist. The files and directories under the home directory
will no longer be accessible following successful execution of the command.
OPERANDS
The following operands are supported:
login An existing login name to be deleted.
EXIT STATUS
The following exit values are returned:
0 Successful completion.
2 Invalid command syntax. A usage message for the userdel command is displayed.
6 The account to be removed does not exist.
8 The account to be removed is in use.
10 Cannot update the /etc/group or /etc/user_attr file but the login is removed from the /etc/passwd file.
12 Cannot remove or otherwise modify the home directory.
FILES
/etc/passwd system password file
/etc/shadow system file contain users' encrypted passwords and related information
/etc/group system file containing group definitions
/etc/user_attr system file containing additional user attributes
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO
auths(1), passwd(1), profiles(1), roles(1), users(1B), groupadd(1M), groupdel(1M), groupmod(1M), logins(1M), roleadd(1M), rolemod(1M),
useradd(1M), userdel(1M), usermod(1M), passwd(4), prof_attr(4), user_attr(4), attributes(5)
NOTES
The userdel utility only deletes an account definition that is in the local /etc/group, /etc/passwd, /etc/shadow, and /etc/user_attr file.
file. If a network name service such as NIS or NIS+ is being used to supplement the local /etc/passwd file with additional entries, userdel
cannot change information supplied by the network name service.
SunOS 5.10 8 Sep 1999 userdel(1M)