Difference between revisions of "Misc Admin"

From Tardis
Jump to: navigation, search
Line 3: Line 3:
 
This page is for keeping track of those little commands which you can never remember
 
This page is for keeping track of those little commands which you can never remember
  
 +
=== Sun administration ===
 
Resetting security mode on the ultra's proms from debian:
 
Resetting security mode on the ultra's proms from debian:
 
<pre>eeprom security-mode = none</pre>
 
<pre>eeprom security-mode = none</pre>
  
List all users in LDAP:
+
=== [[LDAP]] ===
 +
List all users in [[LDAP]]:
 
<pre>ldapsearch -x uid='*' | grep ^uid: | awk '{print $2}' > users.txt</pre>
 
<pre>ldapsearch -x uid='*' | grep ^uid: | awk '{print $2}' > users.txt</pre>
  
 +
=== [[RCS]] ===
 
Check out and lock a file for editing with [[RCS]], and check it in again:
 
Check out and lock a file for editing with [[RCS]], and check it in again:
 
<pre>co -l [file]
 
<pre>co -l [file]
 
ci -u [file]</pre>
 
ci -u [file]</pre>
 
[[category:Admin Documents]]
 
[[category:Admin Documents]]

Revision as of 02:29, 12 January 2006

Useful Stuff

This page is for keeping track of those little commands which you can never remember

Sun administration

Resetting security mode on the ultra's proms from debian:

eeprom security-mode = none

LDAP

List all users in LDAP:

ldapsearch -x uid='*' | grep ^uid: | awk '{print $2}' > users.txt

RCS

Check out and lock a file for editing with RCS, and check it in again:

co -l [file]
ci -u [file]