Tagged Questions
1
vote
2answers
107 views
Linux (RedHat) `sudo su -l <<user_acct>>` does not source profile
As stated, having trouble with loading the default profile of <<user_acct>> when doing sudo su -l <<user_acct>>.
Inside .profile,
if [ -r "${HOME}/.profile.custom" ]; then
...
2
votes
1answer
100 views
No valid sudoers sources
I've gone through the Google searches, but the results always have an extra clue that I'm not seeing. The error:
[testuser@testhost] $ sudo -ll
sudo: no valid sudoers sources found, quitting
sudo: ...
4
votes
2answers
349 views
Running programs as root with my own password in Scientific Linux
In Debian-derived Linux distros, if you are not root but are authorized in /etc/sudoers, GNOME will ask you for your own password to allow privileged operations.
However, Scientific Linux asks you ...
2
votes
0answers
291 views
Can't make a copy of /var/lib/mysql/ibdata1
I have a RedHat Linux server and I'm trying to make a copy of /var/lib/mysql/ibdata1, but I'm receiving an error saying permission denied and the file cannot be opened.
I'm logged in as root user and ...
7
votes
2answers
980 views
Once sudo su'd to root, is there a command to see my username?
I have sudo rights on a redhat box; once I've "sudo su -" to become root in a shell, are there any commands I can run to see what username I su'd FROM?