USER(8) BSD System Manager's Manual USER(8)NAME
user -- manage user login information on the system
SYNOPSIS
user add -D [options]
user add [options] user
user del -D [options]
user del [options] user
user info [options] user
user mod [options] user
DESCRIPTION
The user utility acts as a frontend to the useradd(8), usermod(8), userinfo(8), and userdel(8) commands. The utilities by default are built
with EXTENSIONS. This allows for further functionality.
For a full explanation of the options available, please see the relevant manual page.
EXIT STATUS
The user utility exits 0 on success, and >0 if an error occurs.
FILES
/etc/skel/.[A-z]* Skeleton files for new user
/etc/usermgmt.conf Configuration file for user, group(8) and the backend commands mentioned above.
SEE ALSO chpass(1), group(5), passwd(5), usermgmt.conf(5), useradd(8), userdel(8), userinfo(8), usermod(8)HISTORY
The user utility first appeared in NetBSD 1.5. It is based on the addnerd package by the same author.
AUTHORS
The user utility was written by Alistair G. Crooks <agc@NetBSD.org>.
BSD November 16, 2005 BSD
Check Out this Related Man Page
GROUPMOD(8) BSD System Manager's Manual GROUPMOD(8)NAME
groupmod -- modify an existing group on the system
SYNOPSIS
groupmod [-ov] [-g gid] [-n newname] group
DESCRIPTION
The groupmod utility modifies an existing group on the system. See group(8) for more information about EXTENSIONS. The options are as fol-
lows:
-g gid Give the numeric group identifier to be used for the new group.
-n new-group-name
Give the new name which the group shall have.
-o Allow the new group to have a gid which is already in use for another group.
-v Enable verbose mode - explain the commands as they are executed. This option is included if built with EXTENSIONS.
EXIT STATUS
The groupmod utility exits 0 on success, and >0 if an error occurs.
SEE ALSO group(5), group(8), user(8)HISTORY
The groupmod utility first appeared in NetBSD 1.5. It is based on the addnerd package by the same author.
AUTHORS
The groupmod utility was written by Alistair G. Crooks <agc@NetBSD.org>.
BSD November 7, 2005 BSD
I work on some hp ux 11.00 Servers. i have to add an user. i use the useradd command like follows: useradd -u 72022 -g 71095 -c " comment " -d /PACKAGE_NAME/home/username -s /usr/bin/sh username
The command returns with error 3. The manpage means value number 3: Invalid argument supplied to an... (6 Replies)
i just installed netBSD, and i want to know how to create a new user account. i understand that netBSD doesn't come with the tools to do that, so i downloaded a user utility (mebbe i'm wrong about netBSD) but the problem is, i don't know how to read files off floppy disks. (i'm quite new to unix)... (3 Replies)
Can any one tell me if i dun want using 'useradd' command to add new user, it is have any command i can use to add a new user?and any extra step needed for my local environment? (3 Replies)
Hi,
I need to add a new user who will only be able to access one single folder on my Solaris 9 system. Can this be achieved by using just useradd or do i need to fiddle with auth_attr table?
TIA,
Selma (4 Replies)
I am trying to write a script that does a useradd -G <group> <user> but you cannot modify the user if he/she is logged on. How could I check to see if the user is on or if the user has been added to the group successfully? I plan on having the script sleep for a couple mins if the user is on then... (3 Replies)
Hi ,
Thanks for your time .
I am working on a application , which adds unix user through useradd and deletes user through userdel . both are admin commands .
My requirement is i have to add a user into at.allow whenver a unix user is added through my application and the user should be... (4 Replies)
Hi all,
I am using Solaris 10 OS on X86. When I add a new user from command
useradd -d /export/home/vikas -m -s /bin/bash vikas
files local.cshrc, local.login, local.profile and .profile get copied to my home directory (i.e. /export/home/vikas) from /etc/skel/
Which file I have to change... (4 Replies)
Hi, I need to create a user from a bash script so i have to use useradd. The problem is that when i create a user with:
useradd -d /home/sample -m sample
after i login with that user I have no history in bash, path do not appears, i can't use arrows and so on. When I use adduser everything is... (5 Replies)
After just posting a query on beginners@perl.org inquiring about the perl API for automating useradd/userdel/usermod on FreeBSD, I got to thinking:
Maybe perl is not the best approach to automating useradd/usermod/userdel.
We have a list of users from a windows system and we want to run a... (5 Replies)
I am just wondering why there are two similar commands for creating a user. Could you please point me when I should choose adduser and when useradd? This puzzles me a little.
Thanks,
Panos (6 Replies)