, sudo su, root, . , bash. sudo root, , sh bash - , bash, , , PS1.
, , , , bash sh, sudo. - sudo su sudo bash.
sudo root, bash root, , .
, .bash_profile, , , ~ :
for file in ~/.{path,bash_prompt,exports,aliases,functions,extra}; do
[ -r "$file" ] && source "$file"
done
bash , ~ , root, /var/root .
; , .
- .bash_profile , ,
- bash
/var/root sudo su sudo su -. . , , sh bash. ( , - . , MacOSX , sh bash - .)