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.
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.
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?
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?
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
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
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."
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 ?
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?
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.
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.
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?
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?
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?
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?
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?
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?
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 .
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
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: