Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

userinfo(8) [netbsd man page]

USERINFO(8)						    BSD System Manager's Manual 					       USERINFO(8)

NAME
userinfo -- displays user information SYNOPSIS
userinfo [-e] user DESCRIPTION
The userinfo utility retrieves the user information from the system. The userinfo utility is only available if built with EXTENSIONS. See user(8) for more information. The following command line option is recognised: -e Return 0 if the user exists, and non-zero if the user does not exist, on the system. No information is displayed. This form of the command is useful for scripts which need to check whether a particular user name or uid is already in use on the system. The user argument may either be a user's name, or a uid. EXIT STATUS
The userinfo utility exits 0 on success, and >0 if an error occurs. SEE ALSO
passwd(5), group(8), user(8), useradd(8), userdel(8) HISTORY
The userinfo utility first appeared in NetBSD 1.5. It is based on the addnerd package by the same author. AUTHORS
The userinfo utility was written by Alistair G. Crooks <agc@NetBSD.org>. BSD
November 16, 2005 BSD

Check Out this Related Man Page

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
Man Page

6 More Discussions You Might Find Interesting

1. UNIX Desktop Questions & Answers

Size Limitation for a user directory

Hi all, I want to set a size limitation for some user in the system, for an example, each user only have 5MB free space in the system. The user cannot user more than 5 MB space. Is it possible to do this? Thanks! (1 Reply)
Discussion started by: felix_koo
1 Replies

2. UNIX for Dummies Questions & Answers

kicking a telneted user from the system

hi there, does anyone know how to kick a telneted user from a the system? thx (3 Replies)
Discussion started by: crashnburn
3 Replies

3. Shell Programming and Scripting

Gunzip utility

Hi All, Is there any utility or command to read a .gz file without GUNZIPing it? Why I need this because of the huge size of the file. I am looking for something like zcat. Any help is aprreciated. Thanks in Advance.. Regards, rin... (1 Reply)
Discussion started by: rinku11
1 Replies

4. Shell Programming and Scripting

Creating user accounts

Hi, I have written a program using shell scripting. When you run the file it will asks you to enter the user name, if the user exists it says " user exists " if not it will displays like " user doesnt exist" and then asks you like " do you want to add user with options Yes or No " if you say... (1 Reply)
Discussion started by: vishwaprasad
1 Replies

5. Shell Programming and Scripting

Call Function in .pm as another user

Hello, I need to call a function which reside in some package moudle (.pm) as another user by using su -. Are anyone know how can I do it? Thanks (1 Reply)
Discussion started by: Alalush
1 Replies

6. Shell Programming and Scripting

Code exits before completing

The lines in bold check the value of a user input, if it is not one of the expected genes (GJB2, MECP2, PHOX2B), the user is shown a list of formats to use and the variant is entered. It is then supposed to printf that entered variant? Thank you :). name() { printf "\n\n" printf... (2 Replies)
Discussion started by: cmccabe
2 Replies