|
by: Dave Harrison |
last post by:
hi again,
Im clearly a moron, and have solved the problem myself, due to a wish
to avoid dire embarrasment I shall not reveal the stupid mistake I made ;-)
Apologies for the inconvenience
Dave
> hi all,
>
|
by: Domenico Andreoli |
last post by:
Hi,
I did a little research about execution of Python setuid scripts. I
found only a couple of C wrappers I don't like. So I wrote my own, it is
available at . Feel free to send comments.
2c
http://savannah.nongnu.org/cgi-bin/viewcvs/prua/prua/python-setuid.c
|
by: Michele Simionato |
last post by:
I have a script that sometimes is run by myself (user id 501) and sometimes
by the mailer program as nobody/nogroup (userid 65534). I would like to change
the effective uid to 501 in any case, to get the right permissions, but
os.setuid and os.seteuid give me a OSError No. 1. Is there a way to get what I
want? My requirement is that the script should work indipendently from the
mailer program, i.e I would like to avoid configuring the...
|
by: pasear |
last post by:
I find I can't run setuid perl script
when I do this on a Unix-like platform:
1.Create a file "setuid.pl":
#!/usr/bin/perl -T
2.chmod a+x setuid.pl
3.chmod u+s setuid.pl
then i try
|
by: vertigo |
last post by:
Hello
i need to read $PATH variable for all users.
I wanted to use something like setuid() and getenv() in C.
Are there similar functions here ?
(if not how can i do it ?)
Thanx
Michal
|
|
by: vimala |
last post by:
Hi,
I have to write a setuid program which is going to check for
accesslogs based on the real user who had invoked the executable.
I need to get the real and effective user-ids of the system
and based on the real user-id i need to filter logs only for that
user and give it for further activity. My idea was to get the real
userid, groupid and search for a pattern x:userid:groupid in the
/etc/password file. But again that involves fork,...
|
by: Tiago Simões Batista |
last post by:
Hello all
I have a situation that requires that a python script, that is
run from a webpage (via php exec()) must be run with root privileges.
The sysadmin already set the setuid bit on the script, but it
still fails when it tries to write to any file that only root has
write access to.
I read somewhere that any scripts that start with "#!" will no
|
by: 123jainmin |
last post by:
When I ran a perl script named script.pl which have the the follwing line:
system("echo hostname = $HOSTNAME > /tmp/myinfo");
I have another shell script script.ksh which simply call script.pl within the script. the permission on script.ksh is: -rwsr-sr-x
WHen I ran script.ksh, I got the error message:
Insecure dependency in `` while running setuid at script.pl line 4.
If I do not use $HOSTNAME in script.pl, I have no trouble at all.
Could...
|
by: Stu |
last post by:
Is there anyway to tell if a setuid() call has been made to some other
user?
If so, can somebody provide me with some sample code
Thanks in advance to all that answer
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|