1.使用指定用户登录系统
2.查看当前用户采用的默认shell
3.编辑当前用户的bash配置文件,通过echo命令指定自己对应的欢迎语
[test@localhost ~]$ vim .bashrc
:wq保存退出
4.进行用户登录操作,对应的提示语已经出来了
[root@localhost ~]# su - test
[test@localhost ~]$ vim .bashrc
:wq保存退出
[root@localhost ~]# su - test