Ubuntu :: Run Script At Login That Requires Root Privileges?

Aug 3, 2010

I have the script below that I want to run when my sister logs into her account. But the problem is that `ifconfig up` or `ifconfig down` requires root privileges. How do I initiate the program when she logs in and have root the the runner of the program.

Code:

#!/bin/bash
while true
do
elevenpm=`date +%s --date "2300"`

[code]....

View 4 Replies


ADVERTISEMENT

Ubuntu :: Added A Program That Requires Login To Have Root Privileges?

Jul 6, 2010

I'm using ubuntu 9.04 at the moment and have added a program that requires my login to have root privileges, how do i set these up

View 1 Replies View Related

Software :: LightScribe - Printing Requires Root Privileges?

Sep 4, 2009

I have an HP Pavilion notebook running Ubuntu 9.04 and it has a lightscribe enabled DVD burner. Whenever I try to print a label using the LaCie Lightscribe Simple Labeler the program starts, I create the label but when I tell it to print I get an error message saying " Printing requires root privileges". I have tried starting the program with the icon, from a terminal using both "sudo" and "gksudo" and from a root terminal.

View 2 Replies View Related

Ubuntu Installation :: Multiple Admin Passwords - Opration Requires Root - Administrative - Privileges

Jan 10, 2011

I downloaded a driver for my printer today and I opened it in the terminal. Then a window popped up saying "This opporation requires root (administrative) privileges. Please enter the administrative password below:" I typed in the same password that I use when authorizing the installation of programs from the Ubuntu Software Center and I tried it multiple times. Each time, it rejects the password. I even tried downloading something else from the software center, just to make sure the password was correct, but the system had no problem with the password when downloading from the software center. So, is my software center password different from my administrator password?

View 9 Replies View Related

OpenSUSE Install :: Get Root Privileges On User Account Without Using Root Login?

Feb 5, 2011

i am having problems with privileges i have created a new user with my name, but i cant get root privileges on it. i need the same privileges as the root profile.

View 9 Replies View Related

Ubuntu :: "Continuous" Script With Root Privileges During Boot/login?

Dec 8, 2010

I've done a very simple shell script to shutdown my computer via web browser. This can be useful, because I can shut it down via my iPhone when i'm not home and a thunder storm starts. It works perfectly when I execute it after i've logged in. But I want it to be a "native" process. I want it to be executed during boot or login and it must have sudo privileges in order to halt the PC. The problem is this Script "never ends": or it receives the sign to shutdown or it starts itself again after sleeping 60 seconds. Take a look:

#!/bin/sh
# First it tries to download a "shutdown.txt" file, that is created via PHP when I send the command.
wget http://www.mydomain.com/shutdown.txt

[code]....

#If he finds it, he accesses the server where the shutdown.txt is located via FTP, delete it, delete the shutdown.txt that was downloaded, and then shuts the PC down

else
ftp -n ftp.mydomain.com <<END_SCRIPT
quote USER xxxxxxx
quote PASS xxxxxx

[code]....

if I put this script to run during the boot process my PC will never boot! It will shutdown, or try again. make my script work without having to manually execute it every time a use the PC.

View 5 Replies View Related

Security :: Secure FTP - Root Privileges After Logging In Form A Macintosh And Could Browse The Root Directory

Apr 12, 2010

I run ProFTPd with TLS authentication on my Debian Lenny server. My problem is that despite of the fact that my users connect chrooted, one of my friends had root privileges after logging in form a Macintosh and could browse the root directory, too.

View 1 Replies View Related

Ubuntu :: USB Needing Root Privileges?

Apr 4, 2010

We formatted a USB stick to EXT3 for use on a linux formatted device.Now, when we try and transfer files from this ubuntu laptop onto the USB stick, it says permission denied.

View 4 Replies View Related

Ubuntu :: Shutdown PC Without Root Privileges?

Sep 6, 2010

All of as now the add-to-panel item that via it you can shutdown the PC without the need of typing any password to gain root privileges.

How is this possible? I know that fro default the login screen is run by root but how do this app sends the signal to the login-screen to shutdown?
I mean, this app is run without root privileges by me, the simple user, and when clicked the PC shutdowns via a signal from this app to the login screen....
How can I call this signal to an app of mine?

View 9 Replies View Related

Ubuntu :: Give Only Certain Root Privileges?

May 29, 2009

We have Ubuntu 8.0.4. We'd like to give this one user the ability to reboot the server but no other root privileges. I'm assuming this can be done using sudo. What file and what change do I need to make to it?

View 3 Replies View Related

Ubuntu :: Crontab Command Requires The Root?

Feb 3, 2011

I tried scheduling a task using crontab -e and added the line:

Code:

58 23 3 2 4 /usr/bin/freshclam --verbose --log=/home/EXISTING DIR where I have permissions

The timing was simply a test run. My syslog gives the following error:

Code:

(CRON) error (grandchild #4309 failed with exit status 62).

I also tried to add to root crontab as below, but got the same error.

Code:

sudo crontab -u root -e a

View 9 Replies View Related

Ubuntu :: Floppy Drive Privileges Set For Root?

Jun 1, 2010

I just installed this floppy drive in my computer and I can view files on floppy disks but I can not add files to a disk, formating will not work. All the privileges and ownership are set as root and I can not change them. (But I physically own it) Here is what the privileges are set for:

View 1 Replies View Related

Ubuntu Installation :: Get Root Privileges In The Terminal?

Jun 20, 2010

changing the su password so i can install things. I was told to replace it with sudo because it is locked. I did this but i didnt work, it said my permissions are denied. How do i get root privileges in the terminal?

View 1 Replies View Related

Ubuntu :: Lost Root Privileges In Phpmyadmin?

Oct 30, 2010

Ive done something, Im not sure what...... I was trying to backup my mysql DB so I can reformat that server and install different server OS, then reinstall mysql and restore the DB... Well, somewhere in this mess I did something and now I get DBI connect failed : Access denied for user ''@'localhost' to database 'mysql'CONSTANTLY! I cant see any of my SQL DB's anymore... I just need to get the privileges back that Im missing, back up these DB's and get on with this already!

View 5 Replies View Related

Ubuntu :: Restart - Shutdown Requires Root Password ?

Jan 11, 2010

I have been having a small problem since I upgraded from Jaunty to Karmic, whenever I shutdown or restart, root password is required due to multiple users being logged-in.

I have run ck-list-sessions, however I can not trace where (or what) session 5 is.

Code:

Since I have MythTV installed and there was a similar bug, I tried the following solution without any success: [url].

View 2 Replies View Related

Ubuntu Installation :: Ureadahead Requires /var On Root Filesystem

May 11, 2010

On Launchpad there is the following thread on ureadahead:

[URL]

Is it sensible to remove "ureadahead" until this is fixed or is there no harm done? As a normal user ... (yes still I have /var in a separate partition, because I want to be on the safe side with my databases located in /var when reinstalling or upgrading the system ... - by the way: does this make sense or is it better to just have /home separate and use a backup of /var folders?) ... as a normal user I feel a bit lost with bugs like this. It would be nice to get some information somewhere. Something like:

"Don't worry, just wait for an update with a bugfix!"
or
"To avoid further problems just remove 'ureadahead' until it's fixed!"

View 3 Replies View Related

Fedora :: Get Root Privileges In Www Directory?

Sep 21, 2010

Tell me how I can I login as root?I want to get root privileges in www directory because I have a web server and I want to put there my site and I can not do that

View 6 Replies View Related

Red Hat / Fedora :: FTP Transfer - No Root Privileges

Jan 29, 2009

I am basically on a Fedora 8 but I have some of my files on telnet machine, to which I can log on. There I don't have root privileges though. How can I transfer files from that machine to my machine, using ftp or some other mechanism?

View 2 Replies View Related

General :: What Are The Privileges Of Admin Vs. Root.

Mar 15, 2011

Also, how can I change between the two?

View 4 Replies View Related

Ubuntu :: Way To Grant 'root' Privileges To User Account?

Jan 2, 2010

Is there a way to grant 'root' privileges to my user account? My account name ... I'll call it 'masterskop' as it is my forum name here, but not on my computer.Would it look like this in the sudoers' file?My purpose is to get access to all the folders and files in the 'File System'. The root and lost+found folders have 'Xs' on them...No access! And for example, under properties of the 'var' folder it states that 'you are not the owner, so you cannot change these permissions.' How can I get access to all of it everytime I login as the main user of my computer? I do not have anyone else using this computer.I did edit this file and used my real user name ... logged out and logged back in and still I do not have access/edit these folders and files.

View 4 Replies View Related

Ubuntu :: USB Automounts With Root Privileges As /media/usb0?

Oct 25, 2010

not sure if this is a silly issue or what. I recently upgraded to 10.10. When I insert my usb device, it automounts as /media/usb0, with root privileges. I have to manually unmount it, and afterwards if I select the "mount (drivename)" usb stick from Places it will automount as /media/(devicename) with proper

View 2 Replies View Related

Ubuntu :: Run Scripts With Root Privileges Without Being Prompted For A Password?

Dec 22, 2010

I want to run to scripts with root privileges without being prompted for a password.
This is my sudoers

Code:
# /etc/sudoers
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the man page for details on how to write a sudoers file.

[Code].....

Every time I try to run SSID.sh it prompts me for the goddamn root password.

View 8 Replies View Related

Ubuntu :: Run A Script That Needs Root Privileges Without Typing In The Password?

Mar 25, 2011

I'm trying to run a script that needs root privileges without typing in the password. I want to copy a file from my documents folder into /etc/X11 to overwrite my xorg.conf. I do this because I will have my computer switch from my monitors to my TV when I watch a movie. But I'd like to be able to make it a clickable icon so I don't have to type in cp /... /etc/...

This is my "script"

Code:

sudo cp /home/nertskull/Documents/xorg.conf_TV /etc/X11/xorg.conf

Then I read a lot of places that said to add this to the sudoers file (sudo visudo)

Code:

nertskull ALL = NOPASSWD: /home/nertskull/Documents/switch_TV.sh

I've done all that, and I still get asked for my password when I run that file.

nertskull ALL = ...
%nertskull ALL = ...
%users ALL = ...
%admin ALL = ...

I'm sure it's something simple I'm overlooking, but I've read 5 different threads on this, and I can't find anything they did that I'm not doing. Also, here is my sudoers file, because I know location within the file matters. But what I read said I should be putting my stuff at the end.

Code:

# /etc/sudoers
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the man page for details on how to write a sudoers file.

[code]....

View 6 Replies View Related

Ubuntu Security :: Any Way To Change Password For Root Privileges?

Jul 10, 2011

I've been using Ubuntu for like a year now. Whenever I want root privileges I just type sudo and enter my User password. I wanna know if there's a way to change this, in a way that My User password is: "ABC" and the password needed to have root privileges is: "ABC123". I have no problem using the terminal, I actually prefer it to any GUI, it just seems easier to me.

View 3 Replies View Related

Ubuntu :: Give The Live User Root Privileges?

Feb 26, 2011

i am trying to recover some files on a partition through the ubuntu live cd (they are hidden files and i can't find anything else that would work) and it said i needed root privaleges in order to copy them. is this possible and how do i do it

View 8 Replies View Related

Fedora :: 10 Lsdvd Requires Root Access?

Jan 19, 2009

I am running Fedora 10 new install. lsdvd gives an error when trying to access the dvd. If I issue chmod 766 /dev/dvd then it works fine. Is there a way to set this a boot so access to the dvd does not require root password?

View 3 Replies View Related

Ubuntu :: Nautilus Requires Root Permission Even Without Gksudo,sudo,etc

Aug 15, 2010

Every time I try to open Nautilus it requires root permission even if I don't use commands like gksudo.

I launch it from docky's bookmarks applet, requires root.

Use a command like "nautilus /home/harvey" it still requires root.

Adding the file browser launcher to docky doesn't even LAUNCH nautilus.

But launching file browser from gnome-panel works O_O.

But I never use gnome-panel, so I'd like to be able to launch it from docky and commands and stuff without root permission.

View 1 Replies View Related

Ubuntu :: Update Manager Requires Non-Existent Root Password?

Aug 8, 2010

One of my machines running 10.04 recently began requiring the root password in order to carry out privileged operations in update-manager. I found this bug in launchpad. It's similar, but related to 10.10. If I create a root password, then I can use it to carry out privileged operations in update-manager, but I prefer not to add a root password just for this purpose.

View 5 Replies View Related

Debian :: How To Sign In Or Install For Root Privileges

Feb 28, 2015

I used Zorin, Ubuntu, and Kubuntu. Even though Kubuntu was my favorite because of the KDE platform, it still didn't have what I was looking for. With Debian, the KDE platform works great, it uses KDM instead of LightDM, (you can do more with that), and the choices of software for setting it up as a server is great. The problem I having right now is with the root privileges. With the other Debian based systems I used, root privileges was not a problem. When I signed in, it was with my user name and my root password.

Every time I did updates or installed software, it ask me for authentication which is my root password. And if I had to use su or sudo commands in the terminal it ask for my password. I had no problem with that. I'm just as big with security as any Unix based system users. And Linux has that. That's one of the big reasons I left Microsoft Windows for Linux. There was times when I had to have full root privileges for just a short time, and my favorite command was sudo nautilus. This was perfect.

For example, sometimes I had to get in to the opt folder for a brief moment to past a web page in it. Opt is a root folder. It can be opened with out a root privilege, but you just can't past files to it. Sudo nautilus was perfect for this because it is a temporary root privilege. Close the terminal and the root privilege session ends. This is great. You don't want root privileges all the time you're log in. That can be dangerous because it's a high security risk.

With Debian, I have not been able to get any root privileges. And without root privileges, I can't load much needed software, can't access my second hard drive, matter of fact, the second hard drive doesn't even show up. I can't really do much of anything. Is there something I can do when I am installing Debian to fix this or how do I get the root privileges I need?

View 3 Replies View Related

Fedora :: Open A Folder With Root Privileges?

Aug 17, 2011

How does one open a folder with root privileges? I am trying to extract a screenlet into a screenlet folder but it says permission denied. How do i change that?

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved