(long) bsmconv / auditing questions

From: Birl (sbirl_at_temple.edu)
Date: 10/29/03

  • Next message: Zaigui Wang: "breaking root mirror with disksuite (metaroot, metadetach, etc)"
    Date: Wed, 29 Oct 2003 13:21:07 -0500 (EST)
    To: sunmanagers@sunmanagers.org
    
    

    Luckily I have my own Solaris 9 Ultra 10 to learn from ....

    After reading the message below (previously posted here) I decieded to
    enable BSM to see how it works.

    Now Im reading through docs.sun.com to learn more about it, and
    I havent found much help from the SunManager archives, and nothing from
    the FAQ.

    So Im still lost on how to configure auditing to it's fullest. I at least
    know that 'praudit' will let me read the log files.

    The situation is this: my personal account

        % id -a
        uid=100(sbirl) gid=14(sysadmin) groups=14(sysadmin)

    has been effectively cut-off from executing several basic commands such as
    'pwd' and 'man'. Also after logging in via ssh I get these errors:

    "
    tcsh: Permission denied
    tcsh: Trying to start from "/export/home/sbirl"
    /bin/cat: Permission denied.
    /bin/mail: Permission denied.
    "

    (and a 'grep -w cat ~/.??*' returned nothing, so I cannot figure out
    what's executing 'cat'.)

    ----------
    % man kill
    getcwd: Permission denied

    % pwd
    pwd: cannot determine current directory!
    ----------

    Not a serious problem since I control root, but Im not sure what else
    might be breaking. I dont want to disable BSM, unless I really have to.
    Id rather conquer it.

    One problem Ive noticed with root is this:
    when executing 'tcsh' and reading .tcshrc, I receive:
    -----
    /bin/uptime: cannot find/execute "uptime" in ISA subdirectories
    -----

    I could not find a solution in the archives about it.

    For me the man pages on audit_control(4) and auditconfig(1M) are baffling.
    For starters, how can I allow such basic commands to begin executing for
    my personal account again?

    Also I want to being auditing the movements of a specific user named
    'pine'. I added to /etc/security/audit_user the following:
    -----
    pine:all:no
    -----
    and then executed 'audit -s'. Now I have to play with that account to see
    what happens.

    Thanks. Will summarize.

     Scott Birl
     Senior Systems Administrator Computer Services Temple University
    ====*====*====*====*====*====*====*====+====*====*====*====*====*====*====*====*

    NOTE: Im only a peon with NO buying or decision-making power.
          Do NOT spam or telemarket me about SUN products or services.
          Procmail is my friend. And so is my ability to -HUP my phone.

    ---------- Forwarded message ----------
    Return-Path: <sunmanagers-bounces@sunmanagers.org>
    Sender: sunmanagers-bounces@sunmanagers.org
    Date: Fri, 10 Oct 2003 05:54:52 -0700 (PDT)
    From: Reggie Beavers <reggiebeavers@fstha.com>
    To: "'sunmanagers@sunmanagers.org'" <sunmanagers@sunmanagers.org>
    Subject: SUMMARY: ACL Logging?

    Thank you:
    -------------
    Jay Lessert
    Rich Teer

    Original question:
    > Does anyone know of a way to log attempts to access a
    > directory under Solaris 8?

    By enabling the Basic Security Module (bsmconv), you
    can perform user level auditing which includes file
    access. In /etc/security/audit_users, eg:
    username:fr:no

    More info at 'man audit'

    Regards,

    --
    Reggie Beavers
    _______________________________________________
    sunmanagers mailing list
    sunmanagers@sunmanagers.org
    http://www.sunmanagers.org/mailman/listinfo/sunmanagers
    

  • Next message: Zaigui Wang: "breaking root mirror with disksuite (metaroot, metadetach, etc)"

    Relevant Pages

    • Re: solaris
      ... Hope to get some advice and reading points. ... The solaris fdisk partition had to be taken seriously. ... The installation on the third fdisk partition went very well, ... stop me from exploring the unknown solaris system;-) ...
      (freebsd-questions)
    • Solaris 10 05/08 Jumpstart install failing on V40z servers
      ... When I try to rejump A Sun fire V40z server with Solaris 10 05/08 I ... Executing begin script "install_begin"... ... Begin script install_begin execution completed. ... Check to make sure disks are cabled and powered up ...
      (comp.unix.solaris)
    • Re: key bindings
      ... > SOLARIS 8 with sun keyboard ... The volume control keys work by executing a program as set in this ...
      (comp.sys.sun.admin)
    • Re: xprint
      ... >> When using mozilla there is no printing support since some time ago. ... >> there should be xprint available in Solaris, ... > config data and Xprint server build from xprint.mozdev.org sources) ... Yes I have been reading that in order to figure it out, ...
      (comp.unix.solaris)
    • tty-dev-number <-> /dev/pts
      ... I'm writing a program under Solaris (sparc) that has to know ... Reading /proc/self/psinfo only returns a device number for the ...
      (comp.unix.solaris)