Difference between revisions of "Misc Admin"

From Tardis
Jump to: navigation, search
(Useful Stuff)
Line 9: Line 9:
 
<pre>ldapsearch -x uid='*' | grep ^uid: | awk '{print $2}' > users.txt</pre>
 
<pre>ldapsearch -x uid='*' | grep ^uid: | awk '{print $2}' > users.txt</pre>
  
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:03, 12 January 2006

Useful Stuff

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

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

eeprom security-mode = none

List all users in LDAP:

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

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

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