06-08-2012
Are you sure you need the group-sticky bit? I'm not sure what that even means, if anything, when running an executable...
If you're using sudo, you don't need setuid. If you're using setuid, you shouldn't need sudo. Combining both approaches is liable to be a big security hole.
You should remove read permissions for lp and world. Executable is enough.
If it doesn't work, please show exactly what you did.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Does anyone know a scipt that includes MD5. I need to run a script that includes MD5 encryption.
Thanks (1 Reply)
Discussion started by: duncang3
1 Replies
2. UNIX for Dummies Questions & Answers
I think it's a problem of gtar, but i'm note sure...
I use gtar to create an archive from a directory
then i use md5 to get an md5 string for the archive
bzip2 to compress the archive
and md5 again for the compressed archive.
I send the file to my backup machine.
When i download the... (1 Reply)
Discussion started by: noratx
1 Replies
3. Linux
I am trying to compare two identical files by using md5 command, but cant get the right command parameters Please help me with any examples. All I want is to know how to compare two identical files which are residing on two different machines in my local network, for example:
Host_A -... (6 Replies)
Discussion started by: greenja
6 Replies
4. Solaris
Hi Folks,
I have Solaris 10, latest release.
We have passwd aging set in /etc/defalut/passwd.
I have an account that passwd should never expire. Acheived by emptying associated users shadow file entries for passwd aging.
When I reset the users passwd using passwd command, it re enables... (3 Replies)
Discussion started by: BG_JrAdmin
3 Replies
5. Shell Programming and Scripting
Hi Gurus,
I have small issue...
I used to pass the passwd for sudo commands like below,
gzcat ~/passwd.gz | sudo su - <villin> >> eof
------
-----
------
eof
And it was able to login into "villin" sudo account successfully. But now, I'm using the same in another script for the... (2 Replies)
Discussion started by: raghu.iv85
2 Replies
6. Shell Programming and Scripting
Hello everyone,
I am looking to basically creating md5sum files for all iso files in a directory and archive the resulting md5 files into a single archive in that very same directory.
I worked out a clumsy solution such as:
#find files for which md5sum are to be created and store the... (1 Reply)
Discussion started by: SurfTranquille
1 Replies
7. AIX
Does anyone know when AIX started using /etc/security/passwd instead of /etc/passwd to store encrypted passwords? (1 Reply)
Discussion started by: Anne Neville
1 Replies
8. Red Hat
Hi all,
unable to print from linux box. Earlier it used to work fine.
The print job is sitting in the queue and not going to printer.
Removed queue job and tried again but no luck.
Tried "cupsenable" but ended up with no success.
I tried to print two text files as "root" with "lp " command... (0 Replies)
Discussion started by: lramsb4u
0 Replies
9. UNIX for Advanced & Expert Users
Hi All
Appreciate your help.
Here is the scenario:
1. Five months back we configured md5 authentication with network devices and NTP server and it worked fine.
2.Last week all of a sudden the network devices are out of sync.
3.We changed the md5 key and it started working.
... (0 Replies)
Discussion started by: iqtan
0 Replies
10. Shell Programming and Scripting
I have about 1500 rows (encoded b64(b64(md5($pass))) algorythm) in a file.
I would like reverse the b64 into md5 hash format.
How could I do that from command line? So I need only the correct md5 hash formats.
These row format:
4G5qc2WQzGES6QkWAUgl5w
P9tKxonBOg3ymr8vOBLnDA... (1 Reply)
Discussion started by: freeroute
1 Replies
LEARN ABOUT DEBIAN
net::cups::ppd
Net::CUPS::PPD(3pm) User Contributed Perl Documentation Net::CUPS::PPD(3pm)
NAME
Net::CUPS::PPD - PostScript Printer Definition Object
SYNOPSIS
use Net::CUPS;
use Net::CUPS::PPD;
my $ppd = $cups->getPPD( "lj4200dn" );
DESCRIPTION
Net::CUPS is an object oriented interface to the Common Unix Printing System.
Net::CUPS::PPD is an abstraction of methods to deal with PostSript Printer Definition files.
METHODS
getFirstOption
my $option = $ppd->getFirstOption();
getNextOption
my $option = $ppd->getNextOption();
getOption
my $option = $ppd->getOption( $keyword );
getPageLength
my $length = $ppd->getPageLength();
getPageSize
my %size = $ppd->getPageSize();
getPageWidth
my $width = $ppd->getPageWidth();
isMarked
my $result = $ppd->isMarked( $option, $choice );
markDefaults
$ppd->markDefaults();
markOption
$ppd->markOption( $option, $choice );
SEE ALSO
Net::CUPS, Net::CUPS::Destination, Net::CUPS::IPP
SUPPORT
Support for this module and other software developed by Dracken Technology, Inc can be found at http://www.dracken.com/.
AUTHOR
Dracken Technology, Inc. (http://www.dracken.com/)
COPYRIGHT AND LICENSE
Copyright (c) 2003-2005 David Hageman
Copyright (c) 2006-2009 Dracken Technology, Inc.
All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or,
at your option, any later version of Perl 5 you may have available.
CUPS, the Common UNIX Printing System, the CUPS logo, and ESP Print Pro are the trademark property of Easy Software Products.
perl v5.14.2 2009-07-30 Net::CUPS::PPD(3pm)