09-18-2012
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hey peeps
i am pretty much new to unix, my first semester at uni, so if anyone can help, would be greatly appreciated.
how the hell is it possible for a user to execute priveleged commands without the user having a superuser password??
if anyone can help me, i would appreciate it very... (2 Replies)
Discussion started by: 30177005
2 Replies
2. Shell Programming and Scripting
Hi all,
I have a problem which needs to be solved soon because it affects auditing capabilities.
There is an application id that has to be used by other users for the purpose of production support.
The application user id uses C shell.
We allow users to switch to the application user id based... (1 Reply)
Discussion started by: s_saran
1 Replies
3. UNIX for Advanced & Expert Users
Hello Unix Champs,
For keeping audit trail, I want to log the commands entered by the normal users, on their terminal into a text file.
I tried putting a "script -a username.timestamp.txt" in the user profile file, but script command stops execution when user types exit or presses CTRL+D... (3 Replies)
Discussion started by: bhaven.haria
3 Replies
4. Solaris
hi buddies,
i want to learn something,so that we have several users on a sun server and via telnet, we are connecting to server same username and password root/something as root
and after connection i want to see what other roots or users are doing on the server, i want to see their command.... (2 Replies)
Discussion started by: nibiru78
2 Replies
5. Solaris
Hi all
I want to know the commands executed a by particular user .. for the whole day on my machine.
I have checked out with the commad
$lastcomm <user>
It is throwing an error called: ..
/var/adm/pacct: No such file or directory
Can u help me in this regard..
Thank U... (3 Replies)
Discussion started by: naree
3 Replies
6. Solaris
Hi all
I want to know the commands executed a by particular user .. for the whole day on my machine.
I have checked out with the commad
$lastcomm <user>
It is throwing an error called: ..
/var/adm/pacct: No such file or directory
Can u help me in this regard..
Thank U
Naree (1 Reply)
Discussion started by: naree
1 Replies
7. UNIX for Advanced & Expert Users
Hi,
I have a unix server and I am concerned about the security on that server.
I would like to be able to write a script that records all the commands that were typed at the command prompt before the user calls the 'history -c' command and deletes all the history.
I was thinking about firing or... (7 Replies)
Discussion started by: mishkamima
7 Replies
8. UNIX for Dummies Questions & Answers
What commands would you recommend in order to monitor things like when a user logs on to a server, assuming you know that user's name on the server? (2 Replies)
Discussion started by: Sotau
2 Replies
9. UNIX for Dummies Questions & Answers
Hi, i would like to create user defined commands.
e,g:
if an user executes ,
mkdircd test then a directory called test should be created and it should be cd to test.
How i can create the command mkdircd with below action:
mkdir $1 && cd $1.
Please help me in achieving this (7 Replies)
Discussion started by: pandeesh
7 Replies
10. Shell Programming and Scripting
Using ksh on AIX what I am trying to do is to read the ls -l output from a file in a do while loop line by line. Extract the user name(3rd field) and the directory/file name(9th field) using awk and save them into variables. su -c to the user and change directory/file permisions to 777. Script I... (13 Replies)
Discussion started by: zubairom
13 Replies
LEARN ABOUT MOJAVE
tokenadmin
tokenadmin(8) BSD System Manager's Manual tokenadmin(8)
NAME
tokenadmin -- Command-line interface to smartcards and other token-based keychains
SYNOPSIS
tokenadmin [-hqv] command [command_options] [command_args]
DESCRIPTION
A command-line tool to administer smartcards and other token-based keychains.
OPTIONS
-h With no arguments, shows a list of all commands. If arguments are provided, shows usage for each of the specified commands. Same
as the help command.
-q Makes tokenadmin less verbose.
-v Makes tokenadmin more verbose.
COMMANDS
Note: all commands other than help take the -h option to display help.
help Shows all commands.
create-fv-user -u short-name -l long-name [-p password]
Creates a new FileVaulted user protected by the inserted smart card or token.
Options:
-u short-name
Specify the short (i.e., login) name to be used for the account.
-l long-name
Specify the full name to be used for the account. If the full name contains spaces, the name must be enclosed by
quotation marks.
-p password
Password for the user's login keychain (optional).
EXAMPLE
tokenadmin create-fv-user -u fvtest3 -p foo -l "FV Test User 3"
Create a new FileVaulted user with short name "fvtest3" and full name "FV Test User 3", with the new FileVault image being protected by the
inserted token. The password for the user's login keychain is "foo". Note: after creating this user with tokenadmin, you must run "sc_auth
accept -u fvtest3" or this user will not be able to log in.
SEE ALSO
security(1), sc_auth(8), systemkeychain(8)
NOTES
tokenadmin will eventually be merged into the security(1) command.
Darwin June 1, 2019 Darwin