General :: Sudo Rights Expired After A Few Hours Of Operation
May 4, 2011
I was observing the following behaviour:
py script:
os.mkdir(path) #all OK
operations_that_take_10hrs_to_complete()
os.mkdir(path) # permission denied
like I lost my sudo rights after some time ..
View 1 Replies
ADVERTISEMENT
Feb 11, 2010
Is there a way to drop privileged sudo rights? a schellscript or applet?
View 6 Replies
View Related
Mar 30, 2010
I have joined the domain (server 2003) and can log in consistently now. Now I would like to give all the windows users in on specific group (domain power users) SUDO rights on the machines in question. I have found one way to add users on a pr. user basis, but adding 30 users will take some time.
View 4 Replies
View Related
Sep 27, 2010
I have setup a VPS server, created two accounts to two domains respectively, and in one account I built a tool to manage other accounts. I have been rigorously researching and found information, however not implemented yet, about granting apache sudo rights through an interface on one account, so that it can execute scripts as root to manage installations in other accounts. what I mean this is my tool will use 'rsync' to duplicate installations from any account into any account.
My question for security, is it secure to grant apache sudo rights? I have not resolved successfully granting it permissions, and I would not want to waste my time investigating more on it if it can compromise the system in any way.
In your experience, is it feasible to build such a tool like I described? I have the tool working to copy within account and to addon domains and it works great, but I want it to manage all accounts on the server.
View 3 Replies
View Related
Jan 24, 2010
How to change both the login/sudo and default-keyring passwords with one operation? If I recall correctly, to change one'slogin and sudo password, one must use `passwd` or System>Preferences>About Me>Change Passworddefault-keyring password, one must goto Accessories>Passwords and Encryption Keys>Passwords, rclick on keyring>Change PasswordIs there a way to do both with one operation? preferably from commandline? preferably in karmic?
View 2 Replies
View Related
Sep 30, 2010
A few days ago I tried to install a driver for a Brother printer (HL-5040) in terminal mode by issuing "sudo dpkg -i --force-all hl5040lpr-1.1.2-1.i386.deb" on my Ubuntu 9.10 PC.
During the process several error messages were displayed. All of them say "permission denied" to access a directory /etc/init.d/lpd. Consequently, the installation failed and Synaptic package manager does not work any more and becomes broken.
Questions: Why did I get "permission denied" as a su? How can I get around the problem so I can re-install the driver?
View 3 Replies
View Related
Oct 22, 2010
how to find expired account
View 6 Replies
View Related
Feb 19, 2010
two days before I have formatted my / partition and everything seems to working fine. Next day I came to office and try to login as root through ssh. I am getting the error: [sunheer@svn ~]$ ssh root@192.10.10.23
root@192.10.10.23's password:
Permission denied, please try again.
root@192.10.10.23's password:
I thought the password were wrong and I rebooted the server in to run level 1 and reset the password and it started to work. Again on next day the account got same problem.his started to happen after formatting the / partition
View 6 Replies
View Related
Oct 22, 2010
me know how to find expired account in linux. I am using RHEL 4.0
View 1 Replies
View Related
Sep 9, 2010
Is there a command to see what user accounts are set to expire or expired.(OS = Red Hat)
View 1 Replies
View Related
Jul 9, 2010
I am trying to open one site.When i open at home or internet cafe or at my friends place it opens properly but when i try to open it in my office i get this error and some other page opens "This domain is parked, pending renewal, or has expired.Please contact the domain provider with questions."
View 1 Replies
View Related
Jan 6, 2011
Kernel 2.6.21.5, Slackware 12.0
Code:
Code:
On the other hand
Code:
So, I do not understand why the notification "sudo: cd: command not found", considering cd is a bash built-in command.
View 3 Replies
View Related
Jul 27, 2011
I have a problem,I want to change the hour format from 24 hours to 12 hours, I cant find the way to do this,
View 14 Replies
View Related
Sep 15, 2011
Under Linux, I would like to be able to launch anything from command line in a "safe" environment, i.e. be assured that it can't read or write any file on my computer, and even better if it couldn't access the network.I thought about creating a user with reading rights only in the current folder (and nowhere else), and su to this user to launch the command, would this work ? And what about the network ?
View 2 Replies
View Related
Jun 19, 2011
It is my understanding that they do the same: they ask for my password (if I am allowed in /etc/sudoers), and give me a login shell as root.
Is there any difference between them?
sudo su -
sudo -i
Also, what's the difference between
sudo su
sudo -s
I think that they both ask for my password, and give me a shell with my old environment variables.
View 1 Replies
View Related
Sep 30, 2010
I am using linux mint and have installed Netbeans on it but whenever I run netbeans from accounts other than root it throws an error for not having permission to start glassfish server of netbeans. I also tried running this application using run as administrator option but then the application does not start.
So is there a way to assign netbeans admin rights permanently so that whenever I start this application from other accounts I should not face this error?
View 2 Replies
View Related
Apr 6, 2011
I am using samba from a windows client to put some rights access on FTP server on Linux. created a folder and I want that a user can write in that folder (put a file for example), but, once he did that, he can't delete or rename the file.
View 5 Replies
View Related
Jul 24, 2011
A few hours ago, I ran "pacman -Syu" to update, and soon after it was finished the power went out for a few seconds, turning off my computer without properly shutting down. When I started it, the time was wrong (or maybe the time zone, since the minute is correct). It looks like it's exactly 4 hours behind (right now it's 18:53 here, but the date command says 14:53). Also, I have ntpd running, in case that matters.
View 4 Replies
View Related
May 31, 2009
When booting PartImage from a USB SysRescCD, at the PartImage 'root@sysresccd / root %' prompt, I try each of the following three commands:- touch /media/partimage- chown root /media/partimage- chmod 666 media/partimageAnd each time, I receive the following error message: 'Changing permissions of 'media/partimage': Read-only file system.'The attempt is denied.How can I grant PartImage root access rights to this directory?
View 2 Replies
View Related
Mar 3, 2010
On my Debian server I installed Samba for sharing directories in my local network. I know how to set access rights but I have a problem. I would like to allow an user (example "nobody") to create files or directories in a shared directory but to deny to modify or delete something.How can I do that?Second question, on a file, I know that we can set rights for "u", "g" and "o". But like the NTFS permissions, can we apply rights for each users?
View 3 Replies
View Related
Sep 23, 2009
I am working on Fedora, I am trying to figure out if there is any way we can set limitations/rights to linux desktop, so that we can control which things user can access, like if i dont want user to have access to kde control center, and should not change the settings in it, or disable changing wallpaper,or disable changing screen saver. How that can be done in linux?
View 3 Replies
View Related
Jul 14, 2011
I have created a new user using sudo adduser "user1" from the root .but this user does not have full admin rights...How to give full access to this user1?
View 3 Replies
View Related
Aug 9, 2010
What's the difference between user permissions & users rights in linux.
View 1 Replies
View Related
Dec 13, 2010
Between the dates 21-June-2007 to 12-December-2010 there are 1270 days. If the total cumulative time a hard drive has been active is 344 days (found this via Disk Utility in Ubuntu 10.10) since it was bought 1270 days ago. What is the average usage hours per day?
View 2 Replies
View Related
Nov 2, 2010
I have been doing this for quite sometime now, yet lately I wonder if this is what everybody does...I have a task that will run for hours. In order to not to interrupt that task when I logoff for the day, I issued the command:
Code:
at now 'sh ~/a-long-task'
Is this what everybody else does?
View 2 Replies
View Related
Sep 8, 2009
on my site now I'm using cache and need me cron script that will delete files older than 1 hour I have feature in my kloxo control panel just need me the command .
View 2 Replies
View Related
Jul 12, 2010
I was installing "wine" last night and since I knew it was going to take a while I closed the lid of the laptop and turned it upside down on the floor. (I always turn the laptop upside down when not using it otherwise might overheat)When I woke up this morning roughly 8 hours after I went to sleep the machine was turned off.Using the "last -x | grep shutdown | head -1" it stated that it went down at roughly 6 hours from when I went to sleep.The program I was installing got finished installing but I never set up an auto-shutdown program or anything of the sort.If this isn't a problem with linux then its a problem with my bios. If its a problem with my bios I will just have to live with it because my bios is locked. /var/log/messages says this:
Code:
alexslaptop logger: ACPI event unhandled: battery BAT1 00000080 00000001
alexslaptop shutdown[14933]: shutting down for system halt
[code]...
View 5 Replies
View Related
Dec 30, 2010
I'm having a VPS using Ubuntu 10.4 and i would like a guide on how to restart apache2 process every few hours (a time determined by me).
View 11 Replies
View Related
Sep 28, 2010
This is Plesk linux server.I am using CentOS release 5.5 (Final) OS. Server seem to crash every couple of hours. Perhaps apache has memory leak?
Sep 28 07:06:29 wed kernel: Call Trace:
Sep 28 07:06:29 wed kernel: [] out_of_memory+0x8e/0x2f5
Sep 28 07:06:29 wed kernel: [] __alloc_pages+0x245/0x2ce
Sep 28 07:06:29 wed kernel: [] __do_page_cache_readahead+0x95/0x1d9
Sep 28 07:06:29 wed kernel: [] __wait_on_bit_lock+0x5b/0x66
[Code]....
View 4 Replies
View Related
Aug 8, 2011
How can I mount a device with specific user rights on start up? I still have some problems figuring it out. I would like to mount the divide with uid=1000 and gid=1000. My current entry to the /etc/fstab/ file looks like this:
dev /var/www vboxsf rw, suid, dev, exec, auto, nouser, async, uid=1000
View 1 Replies
View Related