LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices



Reply
 
Search this Thread
Old 05-17-2009, 06:33 PM   #1
SSJGoku
Member
 
Registered: Apr 2009
Location: Clemson, SC
Distribution: Fedora 10
Posts: 71

Rep: Reputation: 15
changing the sudo password?


i was woundering how to change the sudo password to something besides my user account password in visudo.

i know how to make it nopassword but to me that would be stupid.

also i was wondering if it was possible to create sudo to where it can have multiple password for diffrent purposes for the same user

Last edited by SSJGoku; 05-17-2009 at 06:37 PM.
 
Old 05-17-2009, 07:04 PM   #2
Robhogg
Member
 
Registered: Sep 2004
Location: Old York, North Yorks.
Distribution: Debian 7 (mainly)
Posts: 653

Rep: Reputation: 85
These directives might get you part of the way there:
Code:
    rootpw          If set, sudo will prompt for the root password instead
                    of the password of the invoking user.  This flag is off
                    by default.

    runaspw         If set, sudo will prompt for the password of the user
                    defined by the runas_default option (defaults to root)
                    instead of the password of the invoking user.  This
                    flag is off by default.
... from man sudoers
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
No password for sudo? orange400 Linux - Software 9 03-18-2012 11:08 AM
sudo password...? yubimusubi Linux - General 15 09-04-2009 01:08 AM
After changing Windows AD password Samba\Winbind still uses old password Criller Linux - Security 2 02-28-2008 05:14 AM
Force sudo to re-ask for password? humbletech99 Linux - Security 3 12-06-2006 11:14 AM
sudo password problem Murdock1979 Linux - General 6 04-27-2006 12:39 AM


All times are GMT -5. The time now is 03:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration