This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Quick script to show all jail users and how they coordinate with main box userlist | |
for uid in $(awk 'FS=":" {if ($0!~/^\#/) {print $3}}' /usr/jails/*/etc/passwd /etc/passwd | sort -n | uniq); do | |
echo -n "$uid " | |
awk 'FS=":", ORS=" " {if ($0!~/^\#/ && $3=='$uid') {print "[" $1 "]"; if ($7=="/usr/sbin/nologin") {print "(#nologin)"}}}' /etc/passwd | |
awk 'FS=":", ORS=" " {if ($0!~/^\#/ && $3=='$uid') {print FILENAME ":" $1; if ($7=="/usr/sbin/nologin") {print "#"}}}' /usr/jails/*/etc/passwd | sed -E 's|/usr/jails/||g' | sed -E 's|/etc/passwd||g' | |
echo "" | |
done | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://japanese.stackexchange.com/questions/2274/great-websites-for-beginner-reading | |
agrimm: - nice question, but bit of a popularity contest | |
jkerian: Not answerable. This question should not be allowed as it is purely "What's your favorite website?" | |
http://japanese.stackexchange.com/questions/9/is-there-an-easily-accessible-list-of-terms-in-the-japanese-grammar-written-both | |
agrimm: bit too specific | |
jkerian: I honestly don't see how asking for linguistics terms on on a site at least partly about linguistics can be 'too specific' | |
http://japanese.stackexchange.com/questions/303/is-the-japanese-language-proficiency-test-jlpt-a-good-measure-of-my-japanese-l | |
agrimm: too subjective IMO |