Hello, I have problem whit keeping the environment variables when I running "sudo -s" in RHEL 5. The variables I get when I login whit my user is set in /etc/profile , but are lost when I running "sudo -s" [linus@server03 ~]$ export |grep PATH declare -x PATH="/usr/kerberos/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/bin:/usr/bin:/opt/appl/ground/services/bin:/opt/ground/appl_log/tools" [linus@server03 ~]$ [linus@server03 ~]$ sudo -s [root@server03 ~]# export |grep PATH declare -x PATH="/usr/kerberos/sbin:/usr/kerberos/bin:/usr/bin:/bin" [root@server03 ~]# What should I do to keep them? Regards Linus -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list