Mount:
df:
So the problem is that it is freezing everything while it trys to mount which seems to take a while. Like I said, it successfully mounts but only after consuming 1-2 minutes of time, during which the GUI and Terminal are completely inaccessible. That's annoying and it has not done that before, so it's not so much "How do I fix the SD" though that is useful/helpful but more "What happened to cause the change in performance?"
I am running Solaris 8 intel and recently my Common Desktop environment will not load. I enter the root username and password at the prompt, it switches to the CDE screen and the freezes. The OpenWindows environment works fine. I tried with a regular username (not root) and I get the same resutls.... (2 Replies)
Hi all,
I have a very weard error message in my dmesg output, and I cannot find the solution in google. Does anyone know what it might be ?
Equivalently mapped reserve pool exhausted;
Overall application performance may be improved by increasing the "eqmemsize" tunable parameter (currently... (3 Replies)
Hie
I use SCO Unix 5.0.5 as my operating system and i have been having the following problem for the past couple of days :
After every 3 hours or more , my system freezes and all users are locked out .I can not do anything even on the console . Each time i have to press the reset button... (2 Replies)
We have some CentOS systems with ext3 filesystems that (on occasion) experiences long power failures that are longer than the UPS can handle. We run an fsck on the file systems at every boot, and sometimes they will come back on after a power failure, and when fsck runs there are tens of thousands... (0 Replies)
My Garmin GPS device has a slot for an SD card. I'm using a 32 GB SD card which holds 22 GB data currently.
If I attach my device to a USB port it shows two devices, the internal memory and the SD card. I have no problems with the internal memory which holds only 2 GB of data.
I can mount... (2 Replies)
What can I fix this issue? I have ran below commands but everything is same.:confused:
WARNING: Last shutdown is later than time on time-of-day chip: check date.
The / file system (/dev/rdsk/c1t0d0s0) is being checked
WARNING - unable to repair the / filesystem. Run fsck manually (fsck -F... (4 Replies)
I am having Laptop freezing issues. Whenever I try to use Firfox and vlc, chrome and vlc, firefox and chrome, or anything similar to that my computer freezes. I always have to kill one of the processes before I can use my laptop again. I am guessing this is a hardware issue because when I move... (5 Replies)
Discussion started by: cokedude
5 Replies
LEARN ABOUT DEBIAN
privileges::drop
Privileges::Drop(3pm) User Contributed Perl Documentation Privileges::Drop(3pm)NAME
Privileges::Drop - A module to make it simple to drop all privileges, even POSIX groups.
DESCRIPTION
This module tries to simplify the process of dropping privileges. This can be useful when your Perl program needs to bind to privileged
ports, etc. This module is much like Proc::UID, except that it's implemented in pure Perl. Special care has been taken to also drop saved
uid on platforms that support this, currently only test on on Linux.
SYNOPSIS
use Privileges::Drop;
# Do privileged stuff
# Drops privileges and sets euid/uid to 1000 and egid/gid to 1000.
drop_uidgid(1000, 1000);
# Drop privileges to user nobody looking up gid and uid with getpwname
# This also set the environment variables USER, LOGNAME, HOME and SHELL.
drop_privileges('nobody');
METHODS
drop_uidgid($uid, $gid, @groups)
Drops privileges and sets euid/uid to $uid and egid/gid to $gid.
Supplementary groups can be set in @groups.
drop_privileges($user)
Drops privileges to the $user, looking up gid and uid with getpwname and calling drop_uidgid() with these arguments.
The environment variables USER, LOGNAME, HOME and SHELL are also set to the values returned by getpwname.
Returns the $uid and $gid on success and dies on error.
NOTE: If drop_privileges() is called when you don't have root privileges it will just return undef;
NOTES
As this module only uses Perl's built-in functions, it relies on them to work correctly. That means setting $GID and $EGID should also call
setgroups(), something that might not have been the case before Perl 5.004. So if you are running an older version, Proc::UID might be a
better choice.
AUTHOR
Troels Liebe Bentsen <tlb@rapanden.dk>
COPYRIGHT
Copyright(C) 2007-2009 Troels Liebe Bentsen
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.14.2 2012-03-10 Privileges::Drop(3pm)