05-22-2012
Quote:
Originally Posted by
mark54g
Also, you have one user, but two entries.
confusion started there only.. I was wondering account with which home directory I should remove.
@fpmurphy Thanks for the link of standard users. it cleared confusion.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Ahhhh!!!!!!!!
All of my user accounts can no longer login. I suspected a corrupt passwd file, but everything looks OK and the passwd file works when I copy it to another system. All user accounts cannot login...they recieve a "No directory defined" error, but I can logon using root just fine. I... (13 Replies)
Discussion started by: jskillet
13 Replies
2. Shell Programming and Scripting
I have found a script to create user accounts. But there are a few lines i dont understand. Can someone help me with this? Here's the code:
######################################
while ;
do
ACCT=${USER_ACCT}${START}
START=`expr $START + 1`
START=`echo ${START} | awk... (3 Replies)
Discussion started by: Sensor
3 Replies
3. UNIX for Dummies Questions & Answers
I have a root access to a UNIX system. I want to create another account with administrative permissions (create users, delete them, manage print and system configuration), how do I do that?
I have a Solaris 9 (SunOS 5.9) installed. Please help. :o (3 Replies)
Discussion started by: neked
3 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I was wondering if someone could tell me how to display a list of all existing user accounts on the system, not neccesarily looged in. Thanks in advance
Stephen (3 Replies)
Discussion started by: sroberts82
3 Replies
5. Shell Programming and Scripting
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
6. UNIX for Dummies Questions & Answers
hello ppl, someone must be able to help with this --> I have an old NCR tower 32 with an ADDS terminal running a unix version 020102 (Im not sure if thats correct but its unix for sure). I have no user names and no passwords and need to login to read a tape. Is there any way to do that? I hear... (3 Replies)
Discussion started by: orestis
3 Replies
7. UNIX for Dummies Questions & Answers
Thanks
AVKlinux (3 Replies)
Discussion started by: avklinux
3 Replies
8. Solaris
Hi All,
How to know all the shells a user has access.
Thank you . (0 Replies)
Discussion started by: rama krishna
0 Replies
9. OS X (Apple)
Hi All
I am trying to find a way to set-up a thunderbird account by using a script, i have been trying to to add the lines into the pref.js file but it keeps getting overwritten
any help would be great
thanks
Adam (0 Replies)
Discussion started by: ab52
0 Replies
LEARN ABOUT SUSE
qmail-getpw
qmail-getpw(8) System Manager's Manual qmail-getpw(8)
NAME
qmail-getpw - give addresses to users
SYNOPSIS
qmail-getpw local
DESCRIPTION
In qmail, each user controls a vast array of local addresses. qmail-getpw finds the user that controls a particular address, local. It
prints six pieces of information, each terminated by NUL: user; uid; gid; homedir; dash; and ext. The user's account name is user; the
user's uid and gid in decimal are uid and gid; the user's home directory is homedir; and messages to local will be handled by home-
dir/.qmaildashext.
In case of trouble, qmail-getpw exits nonzero without printing anything.
WARNING: The operating system's getpwnam function, which is at the heart of qmail-getpw, is inherently unreliable: it fails to distinguish
between temporary errors and nonexistent users. Future versions of getpwnam should return ETXTBSY to indicate temporary errors and ESRCH
to indicate nonexistent users.
RULES
qmail-getpw considers an account in /etc/passwd to be a user if (1) the account has a nonzero uid, (2) the account's home directory exists
(and is visible to qmail-getpw), and (3) the account owns its home directory. qmail-getpw ignores account names containing uppercase let-
ters. qmail-getpw also assumes that all account names are shorter than 32 characters.
qmail-getpw gives each user control over the basic user address and all addresses of the form user-anything. When local is user, dash and
ext are both empty. When local is user-anything, dash is a hyphen and ext is anything. user may appear in any combination of uppercase
and lowercase letters at the front of local.
A catch-all user, alias, controls all other addresses. In this case ext is local and dash is a hyphen.
You can override all of qmail-getpw's decisions with the qmail-users mechanism, which is reliable, highly configurable, and much faster
than qmail-getpw.
SEE ALSO
qmail-users(5), qmail-lspawn(8)
qmail-getpw(8)