On 7/21/22 07:48, Patrick Dupre wrote:
Hello,

How can I have a root account, which execute the bash files
(.bashrc ..) at login ?

Thank

Not sure what you are asking.  If you
want to logon as root, just enter "root"
as the user name.

If you want to logon as a regular user and
run something automatically as root, put it
into your autostart list and wrap it with
beesu.  You will get a prompt for the root's
password before executing.

For example:

    beesu -c "/home/linuxutil/lin-bak mount xfs"



_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to