change sudo setting

Thread Solved
Reply

Join Date: Jul 2008
Posts: 9
Reputation: keripix is an unknown quantity at this point 
Solved Threads: 0
keripix keripix is offline Offline
Newbie Poster

change sudo setting

 
0
  #1
Jul 24th, 2008
im using ubuntu, n the thing is, i want my ubuntu to always ask me the root password everytime i try 2 access root permision.

Is there a way 2 do that?
Reply With Quote Quick reply to this message  
Join Date: Apr 2006
Posts: 5,050
Reputation: John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold 
Solved Threads: 331
Moderator
John A's Avatar
John A John A is offline Offline
Vampirical Lurker

Re: change sudo setting

 
0
  #2
Jul 24th, 2008
No. If you want to authenticate to the root user (or any user for that matter), you have to use su.
"Technological progress is like an axe in the hands of a pathological criminal."
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 9
Reputation: keripix is an unknown quantity at this point 
Solved Threads: 0
keripix keripix is offline Offline
Newbie Poster

Re: change sudo setting

 
0
  #3
Jul 24th, 2008
Im sorry, but wat i mean is,for the first time i acces root's permission, yes it asks me 4 the root's password. But after that, it doesnt. N thats wat i wanna change. I want it 2 ask me the password every time.

Tnx 4 awl de help
Reply With Quote Quick reply to this message  
Join Date: Apr 2006
Posts: 5,050
Reputation: John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold 
Solved Threads: 331
Moderator
John A's Avatar
John A John A is offline Offline
Vampirical Lurker

Re: change sudo setting

 
0
  #4
Jul 24th, 2008
In that case, you want to modify the timestamp_timeout value in the /etc/sudoers file. Open up the sudoers file with
$ sudo visudo
enter your password, then look in the file for a line that starts with Defaults and has timestamp_timeout in it. Adjust the value so that it's set to 0. If there isn't a line like that present in the file, add a new one:
Defaults tty_tickets, timestamp_timeout=0
"Technological progress is like an axe in the hands of a pathological criminal."
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 55
Reputation: nsindian is an unknown quantity at this point 
Solved Threads: 11
nsindian's Avatar
nsindian nsindian is offline Offline
Junior Poster in Training

Re: change sudo setting

 
0
  #5
Jul 25th, 2008
the default is to ask for your "regular" user password each time. you'd rather type the "root" password each time? why?
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 9
Reputation: keripix is an unknown quantity at this point 
Solved Threads: 0
keripix keripix is offline Offline
Newbie Poster

Re: change sudo setting

 
0
  #6
Jul 25th, 2008
It works....tnx
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC