User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Linux Users Lounge section within the Tech Talk category of DaniWeb, a massive community of 427,179 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,259 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Linux Users Lounge advertiser: Lunarpages Linux Web Hosting
Views: 608 | Replies: 5 | Solved
Reply
Join Date: Jul 2008
Posts: 7
Reputation: keripix is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
keripix keripix is offline Offline
Newbie Poster

change sudo setting

  #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?
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Apr 2006
Location: Canada
Posts: 4,505
Reputation: John A is a glorious beacon of light John A is a glorious beacon of light John A is a glorious beacon of light John A is a glorious beacon of light John A is a glorious beacon of light John A is a glorious beacon of light 
Rep Power: 17
Solved Threads: 275
Moderator
Featured Blogger
John A's Avatar
John A John A is offline Offline
Vampirical Moderator

Re: change sudo setting

  #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.
tuxation.com - Linux articles, tutorials, and discussions
Reply With Quote  
Join Date: Jul 2008
Posts: 7
Reputation: keripix is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
keripix keripix is offline Offline
Newbie Poster

Re: change sudo setting

  #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  
Join Date: Apr 2006
Location: Canada
Posts: 4,505
Reputation: John A is a glorious beacon of light John A is a glorious beacon of light John A is a glorious beacon of light John A is a glorious beacon of light John A is a glorious beacon of light John A is a glorious beacon of light 
Rep Power: 17
Solved Threads: 275
Moderator
Featured Blogger
John A's Avatar
John A John A is offline Offline
Vampirical Moderator

Re: change sudo setting

  #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
tuxation.com - Linux articles, tutorials, and discussions
Reply With Quote  
Join Date: Jul 2008
Posts: 22
Reputation: nsindian is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 2
nsindian's Avatar
nsindian nsindian is offline Offline
Newbie Poster

Re: change sudo setting

  #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  
Join Date: Jul 2008
Posts: 7
Reputation: keripix is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
keripix keripix is offline Offline
Newbie Poster

Re: change sudo setting

  #6  
Jul 25th, 2008
It works....tnx
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb Linux Users Lounge Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Other Threads in the Linux Users Lounge Forum

All times are GMT -4. The time now is 9:41 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC