could sudo read hash passwords? how?


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers could sudo read hash passwords? how?
# 1  
Old 04-21-2008
Data could sudo read hash passwords? how?

Hello,

user ABC is granted sudo rights to start the application.
So upon attempting to start the application, user ABC is required to enter its password.

If we wanted to user ABC is create a cron job to start the application, how will user ABC feed in the password in the cron job?

I know sudoers file allows NOPASSWD parameter, to not get prompted for password. But, that is not allowed to us.

Is it possible to create a file with hashed password for ABC and pass it to the sudo command? If possible, then how?

Are there any other alternatives?

Thank you.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Need to print hash of hash in table format

Hi, I have a hash of hash where it has name, activities and count i have data like this - $result->{$name}->{$activities} = $value; content of that are - name - robert tom cat peter activities - running, eating, sleeping , drinking, work i need to print output as below ... (3 Replies)
Discussion started by: asak
3 Replies

2. Shell Programming and Scripting

Dynamically parse BibTeX and create hash of hash

Hello gurus, Iam trying to parse following BibTex file (bibliography.bib): @book{Lee2000a, abstract = {Abstract goes here}, author = {Lee, Wenke and Stolfo, Salvatore J}, title = {{Data mining approaches for intrusion detection}}, year = {2000} } @article{Forrest1996, abstract =... (0 Replies)
Discussion started by: wakatana
0 Replies

3. Shell Programming and Scripting

Compare values of hashes of hash for n number of hash in perl without sorting.

Hi, I have an hashes of hash, where hash is dynamic, it can be n number of hash. i need to compare data_count values of all . my %result ( $abc => { 'data_count' => '10', 'ID' => 'ABC122', } $def => { 'data_count' => '20', 'ID' => 'defASe', ... (1 Reply)
Discussion started by: asak
1 Replies

4. UNIX for Advanced & Expert Users

When did UNIX start using encrypted passwords, and not displaying passwords when you type them in?

I've been using various versions of UNIX and Linux since 1993, and I've never run across one that showed your password as you type it in when you log in, or one that stored passwords in plain text rather than encrypted. I'm writing a script for work for a security audit, and two of the... (5 Replies)
Discussion started by: Anne Neville
5 Replies

5. Programming

Read column into hash

Hi, I want to read the __DATA__ into hashes with the first word (indented) of each part as key and the rest of the part (an array as value). Each part of the input is identified by the indentation. i.e. "The Skipper", "Professor", "Gilligan" are three identifiers as they do not have indentation,... (7 Replies)
Discussion started by: yifangt
7 Replies

6. Shell Programming and Scripting

perl hash - using a range as a hash key.

Hi, In Perl, is it possible to use a range of numbers with '..' as a key in a hash? Something in like: %hash = ( '768..1536' => '1G', '1537..2560' => '2G' ); That is, the range operation is evaluated, and all members of the range are... (3 Replies)
Discussion started by: dsw
3 Replies

7. Shell Programming and Scripting

Perl Hash:Can not keep hash data in the same order that it was inserted

Can Someone explain me why even using Tie::IxHash I can not get the output data in the same order that it was inserted? See code below. #!/usr/bin/perl use warnings; use Tie::IxHash; use strict; tie (my %programs, "Tie::IxHash"); while (my $line = <DATA>) { chomp $line; my(... (1 Reply)
Discussion started by: jgfcoimbra
1 Replies

8. Shell Programming and Scripting

Print Entire hash list (hash of hashes)

I have a script with dynamic hash of hashes , and I want to print the entire hash (with all other hashes). Itried to do it recursively by checking if the current key is a hash and if yes call the current function again with refference to the sub hash. Most of the printing seems to be OK but in... (1 Reply)
Discussion started by: Alalush
1 Replies

9. Shell Programming and Scripting

Read csv into Hash array?

Hi all experts, May I know how to read a csv file and read the content in a hash in PERL? Currently, I hard-coded and defined it in my code. I wanna know how to make up the %mymap hash thru reading the cfg.txt ==== csv file(cfg.txt): 888,444 999,333 === #!/usr/bin/perl my... (1 Reply)
Discussion started by: kinmak
1 Replies
Login or Register to Ask a Question
kdesudo(1)																kdesudo(1)

NAME
kdesudo - a sudo frontend for KDE SYNOPSIS
kdesudo [ Generic-options ] [ kdesudo-options ] DESCRIPTION
kdesudo is a frontend for sudo for the KDE desktop. OPTIONS
--help Show help about options --help-qt Show Qt specific options --help-kde Show KDE specific options --help-all Show all options --author Show author information -v, --version Show version information --license Show license information -- Indicates end of options -c << command >> Specifies the command to run -u << user >> Specifies the target uid [default is root] -n Do not keep password -s Forgets all passwords -p << priority >> Set priority value: between 0 and 100, 0 is lowest [default is 50] --nonewdcop Let command use existing dcopserver --comment << comment >> Comment to display in the dialog box --noignorebutton Do not display << ignore >> button --attach << window_id >> Makes the dialog transient for an X app specified by winid -i << icon_name >> Specify icon to use in the password dialog -d Do not show the command to be run in the dialog -r Use realtime scheduling -f << file >> Use target UID if << file >> is not writeable -t Enable terminal output (no password keeping) -u Sets a runas user COPYRIGHT
This manual page was written by Anthony Mercatante <tonio@ubuntu.com> for the Ubuntu system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or any later version published by the Free Software Foundation. On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL. 2007-03-26 kdesudo(1)