sudo -i, prompt missing hostname

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



System with root user password set in installer:
[chris@f23m ~]$ sudo -i
[root@f23m ~]# rpm -q sudo
sudo-1.8.15-1.fc23.x86_64
[root@f23m ~]# echo $PS1
[\u@\h \W]\$


System with root user not set in installer
[chris@f23a ~]$ sudo -i
[sudo] password for chris:
-bash-4.3# rpm -q sudo
sudo-1.8.15-1.fc23.x86_64
-bash-4.3# echo $PS1
\s-\v\$

Of course the problem is without creating root user, there is no
/root/.bashrc or /root/.bash_profile.

Is it sane to always create those files, even if root user password
isn't set? That way sudo -i still results in a descriptive prompt? If
it's sane, I'll file an RFE.

Thanks,


-- 
Chris Murphy

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list



[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux