04-24-2012
What Operating System and version do you have and what Shell do you use?
Please define "human users". It will vary from site-to-site.
Please define "have something in home". Phrase is meaningless.
Is this a dynamic enquiry about people currently using the system or a static enquiry about every possible user of the system.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hey, got a few questions here for anyone who can help......
Command line to - display users using the system, but count them only once.
Command line to - use the lastcomm command to display how many times ive used grep in october.
Command line to - list all logged on users with at least 6... (3 Replies)
Discussion started by: xBuRnTx
3 Replies
2. AIX
Hello
I have a question
I have this users on my aix 5.3 box. This are a default users.
lp:*:11:11::/var/spool/lp:/bin/false
invscout:*:6:12::/var/adm/invscout:/usr/bin/ksh
snapp:*:200:13:snapp login user:/usr/sbin/snapp:/usr/sbin/snappd
ipsec:*:201:1::/etc/ipsec:/usr/bin/ksh... (2 Replies)
Discussion started by: lo-lp-kl
2 Replies
3. Shell Programming and Scripting
Hi,
I want to code a script with perl. For this, I need some knowledge.
How can i use system user name(with group) and password in my login page?
I will be happy if you can help me (2 Replies)
Discussion started by: tahsinaltay
2 Replies
4. Shell Programming and Scripting
A Newbie here,
I am working on a script and am having problems with the else part of the script. I can't get the users who are not logged into the system to display on the screen with their username and the text "The user is not logged in". I am sure it is something simple and stupid, but I... (5 Replies)
Discussion started by: rchirico
5 Replies
5. UNIX for Advanced & Expert Users
All,
Preliminaries:
AIX 5.2
Tivoli Maestro 6.1 (9.2)
I am auditing an older AIX system. As it stands, I can login remotely to the system using the Maestro application's user account. This is BAD. The administrator claims that he cannot disable the remote login, because it will... (1 Reply)
Discussion started by: Thatto
1 Replies
6. Emergency UNIX and Linux Support
Is there a way to generate a list of users with name, user ID, and Security Group? It is urgent for audit purposes.
Please help. (5 Replies)
Discussion started by: ggayathri
5 Replies
7. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
I want to create a file called Allusers that contains the list of
currently logged on users and the total number... (2 Replies)
Discussion started by: ahm2008
2 Replies
8. UNIX for Dummies Questions & Answers
So I'm trying to write a single line command So I have to use last first in this command and I've figured out the format my professor wants it in, something like thislast | cut -d' ' -f1,15 | sort > check | uniq -c.... and I never can get it right, when I just last command I get something... (2 Replies)
Discussion started by: DoubleAlpha
2 Replies
9. Shell Programming and Scripting
Is there any command that can used in Linux that export usernames and their manager's name from AD using bash shell script?
I know this can be done using powershell but I need to use Linux for this procedure. (2 Replies)
Discussion started by: dellanicholson
2 Replies
KLONE(1) KoanLogic Srl KLONE(1)
NAME
klone - KLone swiss army knife
SYNOPSIS
klone [klone_opts] [-c cmd] [cmd_opts] [cmd_args]
DESCRIPTION
klone performs two different tasks depending on the argument supplied to the -c switch: import a site directory tree into the KLone
building environment (i.e. the embedded file system), or translate static and dynamic pages into C files.
The translation phase is rarely seen by the user since it is hidden in the Makefile of the site building directory, i.e.
${KLONE_SRC_DIR}/site. Generally, the developer gets an embedded version of his/her site by providing the following command sequence:
$ cd ${KLONE_SRC_DIR}/site
$ ../src/tools/klone/klone -c import ${SITE_BASE_DIR}
$ make
The latter make invocation calls 'klone -c translate' over the imported files to perform the needed translation and registering
(pre-linking).
Note that whenever a source file is added, removed or renamed, or in case the embedded file system encrypting key changes, the import
operation must be done again.
The subsequent phase, by which the embedded site is linked to the kloned server skeleton, does not involve klone anymore. Nevertheless, the
steps are illustrated here for reference:
$ cd ${KLONE_SRC_DIR}
$ make
That's all.
OPTIONS
-h Display a brief help and exit.
-v Enable verbose mode.
-V Print klone version and exit.
COMMANDS
Translate:
klone -c translate -i infile -o outfile -u uri [-E] [-k keyfile] [-z]
Translate the active (i.e. a .klone file) or static page infile into C file outfile.
The -u option specifies the uri associated with the translated file.
The -E option tells klone to encrypt the file content with the key enclosed in the supplied keyfile or in the environment variable
KLONE_CIPHER_KEY using AES-256 CBC.
The contents of the translated files are compressed based on their MIME type if the -z flag is given.
Import:
klone -c import [-b uri] [-e pattern] [-x pattern] [-k keyfile] [-Z pattern] [-z] dir
Import the site tree starting at dir into the KLone building environment. The command output comprises two makefiles (autogen.mk and
autogen.dps) and the register.c file which will gather the imported and translated site files. The latter file is the glue by which the
embedded site can afterwards be linked to the HTTP/S server.
When the -e flag is given, the files matching the specified pattern will be encrypted using the key enclosed in the supplied keyfile or in
the environment variable KLONE_CIPHER_KEY.
The user can choose whether to compress all the imported files based on their MIME type, using the -z flag, or to select a subset matching
the supplied shell pattern.
If, while importing, you don't want to include a set of files you can use the -x argument to provide the pattern of files you want to
exclude.
Arguments -x, -Z and -e may be used more then once.
ENVIRONMENT
The following environment variable affects the execution of klone:
KLONE_CIPHER_KEY
If set, klone tries to read the embedded file system encryption key from it. It is be overridden by the -k option.
DIAGNOSTICS
The klone utility exits with EXIT_SUCCESS on success, and with EXIT_FAILURE if an error occurs.
SEE ALSO
kloned(8), kloned.conf(5).
BUGS
If you find one, please email it to <klone-bug@koanlogic.com>
KoanLogic Srl 11/03/2005 KLONE(1)