# SAP
Transaction Code Cheat-Sheet
Transaction CodePurpose
AL08User List (Global)
PFCGRole Maintenance
RZ04Maintain Operations Modes
RZ10Maintain Profiles
RZ11View Profile Params, with documentation
RZ20(Cross-system) Monitoring
SE38RSUSR* (User Admin Reports)
SE38RSUSR070 (Show Roles and their Long Text Descriptions)
SM02Send System Message
SM04User List (Local System)
SM12Administer Lock Entries
SM13Administer Update Records
SM21View System Log
SM37Display/Monitor Background Jobs
SM50/SM66Administer Work Processes
SM51Show Application Servers
SM59RFC Connections
SMLGDefine/Maintain Logon Groups
SNOTENote Browser
STMSTransports
SU53Display Auth Data: "Why did my last transaction fail?"
SU56Show me my authorizations
SUIMSystem User Information

Info on how to lock and unlock from the Oracle level.
 
To lock a single user called test in client 600
 
SQL>  update sapr3.usr02
           set uflag=64 where bname='TEST' and mandt=600;
 
To unlock the same user
 
SQL>  update sapr3.usr02
          set uflag=0 where bname='TEST' and mandt=600;
 
To lock all users in client 600
 
SQL>  update sapr3.usr02
          set uflag=64 where bname in 
          (select bname from sapr3.usr02)
          and mandt=600
 
To unlock all user in client 600  
 
    
SQL>  update sapr3.usr02
          set uflag=0 where bname in 
          (select bname from sapr3.usr02)
          and mandt=600
 
If you wanted to modify this to include multiple clients
 
SQL>  update sapr3.usr02
          set uflag=0 where bname in 
          (select bname from sapr3.usr02)
          and mandt in (100,120,600)
 


# MySQL

The most important thing to remember about installing MySQL is that there are two accounts with no passwords created by default with root privs on some databases. These accounts can only connect from localhost. Also, there are two built-in root accounts that have no passwords. These have to be fixed.

Run the following commands:

# mysql -u root mysql> SET PASSWORD FOR 'root'@'localhost' = PASSWORD('newpwd'); mysql> SET PASSWORD FOR 'root'@'%' = PASSWORD('newpwd'); mysql> delete from mysql.user where User=""; mysql> FLUSH PRIVILEGES;

Dump table "hosts" to a text file:

Load data into table "hosts" from a text file:


# OS X


Refresh the disk arbitration daemon:
# disktool -r


# OpenSSL

Note: "server.crt" could also be a .pem file.


# Jumpstart


# OBP


# VxVM/LSM


# Tru64/Alpha


# Solaris

When root's password expires, cron jobs stop working.


# Linux


# EMC/TimeFinder


# Sendmail consolidation


# Veritas NBU


# PGP/GnuPG


# Compiling KDE on Solaris


# Sun StorEdge T3


# CPIO


# VIM


# Shooting

Known "Safe" Commercial .308 Winchester loads for 7.62 NATO chambered rifles: