Sponsored Content
Full Discussion: log session
Operating Systems Linux log session Post 302165998 by otheus on Sunday 10th of February 2008 11:09:28 AM
Old 02-10-2008
rootsh vs auditing

Quote:
Originally Posted by DukeNuke2
The advantage of the above tool is that you can track all exec() calls made by a particular user; only a very clever hacker-user would be able to hide his tracks.

The advantage of the rootsh tool is that it is not Solaris-specific, and tracks actual command-line usage. The advantage of command-line usage is you can see what the user was trying to do, whereas with auditing, you see what the user actually did.

The choice depends on whether you are trying to account for activity ("Why is the computer always slow when Joe is using it"), or track what users are trying to accomplish. ("I typed make, but it didn't work!")

PS: If you are trying to help users through shell interactions, a useful tool is screen (GNU), which allows users to "share" a virtual terminal.
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

sqlplus session being able to see unix variables session within a script

Hi there. How do I make the DB connection see the parameter variables passed to the unix script ? The code snippet below isn't working properly. sqlplus << EOF user1@db1/pass1 BEGIN PACKAGE1.perform_updates($1,$2,$3); END; EOF Thanks in advance, Abrahao. (2 Replies)
Discussion started by: 435 Gavea
2 Replies

2. Shell Programming and Scripting

Hiding Directories on a Session by Session basis

Hi, Apologies if anyone has read my recent post on the same subject in the Linux forum, just thought actually the solution might more likely come from scripting. Essentially, I am trying to restrict access to directories based on the user's name AND their location on a session-by-session... (3 Replies)
Discussion started by: en7smb
3 Replies

3. Solaris

I am not able to login in gnome session and java session in Sun solaris 9& 10

I am not able to login in gnome session and java session in Sun solaris 9& 10 respectively through xmanager as a nis user, I am able to login in common desktop , but gnome session its not allowing , when I have given login credentials, its coming back to login screen, what shoul I do to allow nis... (0 Replies)
Discussion started by: durgaprasadr13
0 Replies

4. HP-UX

ssh session getting hung (smilar to hpux telnet session is getting hung after about 15 minutes)

Our network administrators implemented some sort of check to kill idle sessions and now burden is on us to run some sort of keep alive. Client based keep alive doesn't do a very good job. I have same issue with ssh. Does solution 2 provided above apply for ssh sessions also? (1 Reply)
Discussion started by: yoda9691
1 Replies

5. Shell Programming and Scripting

Determining if session is a login session

Besides 'who am i' and 'tty' what commands could be used to determine if a session is interactive as compared to a web process or cron process. Any command should work with the common unix variants. (3 Replies)
Discussion started by: jgt
3 Replies

6. Solaris

Difference between the desktop session and console session

what is the difference between desktop session and console session in solaris as i am wondering we use option -text for the former and -nowin for the later (1 Reply)
Discussion started by: kishanreddy
1 Replies

7. Solaris

Cygwin X Server error: xdmcp fatal error session failed session 23 failed for display

Hi, i got the following error when i tried to access the cygwin x server from a windows XP PC. "xdmcp fatal error session failed session 23 failed for display" Alternatively, when i tried to access the same Cygwin X Server from another windows XP PC which is on a different LAN... (3 Replies)
Discussion started by: HarishKumarM
3 Replies

8. Linux

Session "hijacking" - Recover lost session

Hi Guys, Is there a way to recover a lost session? I was working in a server and that lost the connection, now, I have a new session but all the previous processes that I was running, like scripts, etc, are still running. Is there a way to bring them to my session? Best regards, Marco. (4 Replies)
Discussion started by: ocramas
4 Replies

9. Shell Programming and Scripting

[Solved] The SCRIPT command - Can we see the log file of a running session?

Hello. This is my situation. script .anything ls -l . ---How can I see the content of .anything using (i.e) cat .anything? If not possible can someone suggest a sequence to simulate a console-recorder to "observ" from a RUNNING script session? Thanks Paolo Please use code tags... (3 Replies)
Discussion started by: paolfili
3 Replies
MOIN(1) 							   User Commands							   MOIN(1)

NAME
moin - Moinmoin wiki management command-line interface SYNOPSIS
moin [general options] [command command-subcommand] [specific options] moin [--help|--version] DESCRIPTION
moin is a tool to interact with moinmoin wiki from the command line. The command can manipulate moinmoin user accounts, print/dump data, import irclogs, do maintenance task, etc. This command should be executed under the operating system account that "own" the wiki content (files). OPTIONS
--config-dir=DIR Path to the directory containing the wiki configuration files. [default: current directory] (Debian's /usr/bin/moin defaults to /etc/moin/) --wiki-url=WIKIURL URL of a single wiki to migrate e.g. http://localhost/mywiki/ [default: CLI] --page=PAGE wiki page name [default: all pages] --version show program's version number and exit -q, --quiet Be quiet (no informational messages) --show-timing Show timing values [default: False] MOIN COMMANDS
moin command supports many commands, which in turns have sub-commands. account check --help [check-option] When using ACLs, a wiki user name has to be unique, there must not be multiple accounts having the same username. The problem is, that this was possible before the introduction of ACLs and many users, who forgot their ID, simply created a new ID using the same user name. Because access rights (when using ACLs) depend on the NAME (not the ID), this must be cleaned up before using ACLs or users will have difficulties changing settings and saving their account data (system won't accept the save, if the user name and email is not unique). account create --help [create-option] This tool allows you to create user accounts via a command line interface. account disable --help [disable-option] This tool allows you to disable user accounts via a command line interface. account homepage --help [homepage-option] This tool allows you to create user homepages via a command line interface. account resetpw --help [resetpw-option] This tool allows you to change a user password via a command line interface. cli show --help [show-option] Just run a CLI request and show the output. export dump --help [dump-option] This tool allows you to dump MoinMoin wiki pages to static HTML files. export package --help [package-option] This tool allows you to create a package of certain wiki pages. import irclog --help [irclog-option] This script pushes files from a directory into the wiki (to be exact: it pushes all except the last file, as this is maybe still written to in case of irc logs). One application is to use it to store IRC logs into the wiki. import wikipage --help [wikipage-option] index build --help [build-option] This tool allows you to control xapian's index of Moin. maint cleancache --help [cleancache-option] This script allows you to globally delete all the cache files in data/pages/PageName/cache/ and /data/cache directories You will usually do this after changing MoinMoin code, by either upgrading version, installing or removing macros or changing the regex expression for dicts or groups. This often makes the text_html file invalid, so you have to remove it (the wiki will recreate it automatically). text_html is the name of the cache file used for compiled pages formatted by the wiki text to html formatter. maint cleanpage --help [cleanpage-option] This tool outputs a shell script which upon execution will remove unused or trashed pages from the wiki. maint cleansessions --help [cleansessions-option] This script allows you to clean up session files (usually used to maintain a "logged-in session" for http(s) or xmlrpc). maint globaledit --help [globaledit-option] This tool allows you to edit all the pages in a wiki. maint mailtranslators --help [mailtranslators-option] This tool allows you to have a message read in from standard input, and then sent to all translators via email. If you use %(lang)s in the message it will be replaced with the appropriate language code for the translator. maint makecache --help [makecache-option] This script allows you to create cache files in data/pages/PageName/cache/ and /data/cache directories You will usually do this after changing MoinMoin code and calling "maint cleancache", by either upgrading version, installing or removing macros. text_html is the name of the cache file used for compiled pages formatted by the wiki text to html formatter. maint mkpagepacks --help [mkpagepacks-option] This tool generates a set of packages from all the pages in a wiki. maint reducewiki --help [reducewiki-option] This tool allows you to reduce a data/ directory to just the latest page revision of each non-deleted page (plus all attachments). This is used to make the distributed underlay directory, but can also be used for other purposes. So we change like this: * data/pages/PageName/revisions/{1,2,3,4} -> data/pages/revisions/1 (with content of 4) * data/pages/PageName/current (pointing to e.g. 4) -> same (pointing to 1) * data/pages/PageName/edit-log and data/edit-log -> do not copy * data/pages/PageName/attachments/* -> just copy migration data --help [data-option] This tool allow you to migrate data of pages to a newer version server standalone --help [standalone-option] This tool allows you to start a standalone server xmlrpc mailimport --help [mailimport-option] This tool allows you to import mail into the wiki. xmlrpc remote --help [remote-option] This tool allows you to execute moin scripts remotely. xmlrpc retrieve --help [retrieve-option] This tool allows you to print out the contents of a page via xmlrpc. xmlrpc write --help [write-option] This tool allows you to edit a page with xmlrpc. It is more of a commented example than an actual script. EXAMPLES
Clean the cache containing pre-computed/pre-rendered pages. $ moin --config-dir=/etc/moin --wiki-url=http://webserver/mywiki maint cleancache Manually migrate the wiki content. $ moin --config-dir=/where/your/configdir/is --wiki-url=http://webserver/mywiki migration data Create the initial Xapian index (after enabling it in the configuration file) $ moin --config-dir=/etc/moin --wiki-url=http://webserver/mywiki index build --mode=add SEE ALSO
The full documentation for moin command line is maintained as a Wiki page (HelpOnMoinCommand). A copy is available at /usr/share/doc/python-moinmoin/HelpOnMoinCommand. Read the help page on your running instance of moinmoin because other MoinMoin instances, like http://moinmo.in/HelpOnMoinCommand may run a different version. moin 2010-04-06 MOIN(1)
All times are GMT -4. The time now is 10:24 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy