Solaris bash
# cp
-
r
-
p
/
etc
/
passwd
/
etc
/
passwd.bak
# cat / etc / passwd | sed s / " / " sbin " / " sh / " / " usr " / " bin " / " bash / g > / tmp / passwd
# cp - r - p / tmp / passwd / etc / passwd
# echo " PS1="u@h # " " >> / etc / profile;
# echo " echo "############# Attention! reservered for **** ###### ##" " >> / etc / profile;
# cat / etc / passwd | sed s / " / " sbin " / " sh / " / " usr " / " bin " / " bash / g > / tmp / passwd
# cp - r - p / tmp / passwd / etc / passwd
# echo " PS1="u@h # " " >> / etc / profile;
# echo " echo "############# Attention! reservered for **** ###### ##" " >> / etc / profile;