9 More Discussions You Might Find Interesting
1. Solaris
Hi,
Can you please tell me how to know the number of user account limit in solrise 5 version.Is there any cmd to see how many max user acc can be created.
Thanks in advance (2 Replies)
Discussion started by: kkalyan
2 Replies
2. Solaris
Hi All,
How to know all the shells a user has access.
Thank you . (0 Replies)
Discussion started by: rama krishna
0 Replies
3. UNIX for Dummies Questions & Answers
Thanks
AVKlinux (3 Replies)
Discussion started by: avklinux
3 Replies
4. 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
5. UNIX for Dummies Questions & Answers
Hey everyone I am new to the forums and to Unix. I am currently taking a class on Unix, our teacher posed the question to us How do u create a user account without using GUI or command? We are currently running Knoppix version of Unix and for the life of me I can't figure out how this is possible.... (0 Replies)
Discussion started by: Redditt90kg
0 Replies
6. 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
7. 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
8. 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
9. 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
SYNC-ACCOUNTS-CREATEUSER(8) chiark utilities SYNC-ACCOUNTS-CREATEUSER(8)
NAME
sync-accounts-createuser - helper/hook program for sync-accounts
SYNOPSIS
SYNCUSER_CREATE_var=value... sync-accounts-createuser
DESCRIPTION
sync-accounts-createuser is invoked by sync-accounts when sync-accounts is creating a local account.
It must perform all of the tasks involved with local account creation except for the actual changes to the password, shadow and group data-
bases.
At the very minimum, it must create the new account's home directory (with appropriate permissions). The supplied sync-accounts-createuser
script does exactly that.
It may also suggest to sync-accounts modifications to the new account's passwd entry.
INVOCATION
When sync-accounts-createuser is invoked, the passwd and group entries will not yet have been set up, so it may not rely on them. sync-
accounts-createuser will not be supplied with any arguments. However, the following environment variables will be set, giving details
about the account to be created:
SYNCUSER_CREATE_USER
SYNCUSER_CREATE_UID
SYNCUSER_CREATE_GID
SYNCUSER_CREATE_COMMENT
SYNCUSER_CREATE_HOME
SYNCUSER_CREATE_SHELL
RESULTS
sync-accounts-createuser should usually produce no output.
It can inhibit the creation of the user by outputting a single line not containing a colon; in this case, a diagnostic message will be
written to sync-accounts's logfile, and the user will be skipped.
Alternatively, it may write out an alternative password file entry, in which case sync-accounts will use the supplied data for the local
passwd file instead of that from the remote host. The line should be in Sys-V passwd file format (regardless of localformat or remotefor-
mat settings). The username field should be taken from SYNCUSER_CREATE_USER, and the password field should be x.
EXIT STATUS
0 All went well, or we wrote a line without a colon to say that the account should not be created.
any other
There were serious problems and sync-accounts should bomb out immediately.
FILES
None.
ENVIRONMENT
See above.
BUGS
The supplied sync-accounts-createuser does not check that it was not supplied with any arguments; nor does it check that the SYNCUSER_CRE-
ATE_* variables are set, or have sensible values.
AUTHOR
sync-accounts-createuser and this manpage were written by Ian Jackson <ian@chiark.greenend.org.uk>. They are Copyright 1999-2002 Ian Jack-
son <ian@davenant.greenend.org.uk>. This manpage forms part of the sync-accounts package.
sync-accounts-createuser and the sync-accounts package are free software; you can redistribute it and/or modify it under the terms of the
GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version.
This is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, consult the Free Software Foundation's
website at www.fsf.org, or the GNU Project website at www.gnu.org.
SEE ALSO
sync-accounts(8), sync-accounts(5), passwd(5)
Greenend 14th July 2002 SYNC-ACCOUNTS-CREATEUSER(8)