FreeBSD: September 2007 Archives

[FreeBSD] Change login shell to BASH

| | Comments (0)

FreeBSD 的預設 Shell 是 TCSH, 把全部人的 Shell 都改成 BASH

for i in `awk -F: '/tcsh/ {if ($3==0||$3>=1000) print $1}' /etc/passwd`
do
   chsh -s /usr/local/bin/bash $i
done

March 2008

Sun Mon Tue Wed Thu Fri Sat
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31          

About this Archive

This page is a archive of entries in the FreeBSD category from September 2007.

FreeBSD: August 2006 is the previous archive.

FreeBSD: November 2007 is the next archive.

Find recent content on the main index or look in the archives to find all content.