Results 1 to 5 of 5
Originally Posted by devils casper
Execute this
Code:
sudo visudo
It will open /etc/sudoers file in vi editor.
Append " Defaults env_reset " line with timestamp_timeout =<time_in_minutes>.
Code:
Defaults env_reset ...
- 06-24-2009 #1
- 06-24-2009 #2forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,099
You should be able to add yourself to the list. Try running:
orCode:sudo visudo
You can get more details by checking the visudo manual page:Code:visudo
...or find a web version of it here:Code:man visudo
Visudo Manualoz
→ new members/users: read this first | new member faq
→ no private messages requesting computer support - post them on the forums!
→ please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.
- 06-24-2009 #3Linux Guru
- Join Date
- Nov 2004
- Posts
- 6,110
Do you have a root logon or access to another user on the sudoers list? It boils down to you not being able to grant root access if you don't have it in the first place.
- 06-24-2009 #4
Ya, that's the problem, I do not have root access to begin with. But thanks to this page:
Personal Fedora 10 Installation Guide
I found out I can type "su" to drop to a root terminal.
su is like sudo -i except it uses the root password and anyone who knows the root password can uses it instead of using the password of a logged on user on the sudoers list.
- 06-25-2009 #5Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
If you have the root password, you can add yourself to the sudoers list. Just su to root and run /usr/sbin/visudo.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!



Reply With Quote