run script at login that requires root privileges
location: linuxquestions.com - date: August 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. I'm running Ubuntu BTW.
XBMC live help, how to uninstall without losing ubuntu 9.04
location: ubuntuforums.com - date: May 26, 2009
So I wanted to try xbmc and the regular version wasnt working so i tired xbmc live. Not knowing it would get rid of ubuntu.
How do i uninstall this xbmc live? I dont want to have to reinstall ubuntu... again.
how to set mysql root password from commandline?
location: ubuntuforums.com - date: November 10, 2010
when i use
apt-get install mysql-server
it asks me for root password (root for database, not for os)
is it possible to set it using commandline so this windows would not appear and i could have everything in script and not have to write it all the time manually?
Bash script, needing root privileges.
location: ubuntuforums.com - date: June 26, 2009
This is driving me nuts.
I can't quite get the permissions to work properly on this one.
I'm running Debian, so the sudoers file isn't set up by default.
I want to be able to just double-click on this script, then ask the password once, then ask questions to set everything else up.
The problem I'm running into is that when you use usermod -a -G to add someone to the group, it doesn't update what group the user is in until logout / login.
I tried using a suggestion from http://www.cyberciti.biz/faq/howto-l...user-to-group/
su –preserve-environment –command “$(which $SHELL) –login -i” $(whoami)
But, while it did open up a new command prompt in the same terminal window, it didn't continue on in the script.
# enable sudo.
echo "Adding the 'username' user to the sudo group'"
# enable sudo
echo "Enabling sudo.
First we change the Sudoers file"
su -c 'echo %sudo ALL=NOPASSWD: ALL >> /etc/sudoers'
Creating and mounting encrypted filesystem without root (FreeBSD and Debian)
location: ubuntuforums.com - date: March 29, 2013
I need to be able to create and mount an encrypted filesystem in FreeBSD and Debian, but without root.
Is there a way to do this?
ConsoleKit & PolicyKit root privileges through certain programs
location: ubuntuforums.com - date: June 29, 2012
Hi, I'm trying out Debian Wheezy. I usually use Lubuntu 12.04 LTS but I wanted to see what Debian had to offer. I would like to give a ordinary user root privileges through certain programs, but don't don’t know how to permanently. I want NetworkManager Applet to get become a privileged process using ConsoleKit, PolicyKit & polkit. Does affect Ubuntu Minimal CD installations as well? Please consider that wrong settings can open new vulnerabilities, add new exploits & security issues.
NetworkManager cannot connect to the Internet
"Connection activation failed
(32) Not authorized to control networking."
PCManFM 0.9.10 file manager cannot mount USB flash drives
NetworkManager 0.9.4.1 Network management & Debian 7 "Wheezy" (cat /etc/issue: Debian GNU/Linux wheezy/sid \n \l)
Step-by-step temporary workaround
1. Open Root-terminal & launch NetworkManager as root superuser: nm-applet, nm-connection-editor or pcmanfm
2. Use Net
[SOLVED] how to give user root access?
location: ubuntuforums.com - date: August 19, 2008
Can someone help me how do I give to a normal user root access level/rights? Not just 'sudo' but exactly all permissions on the system. Thanks!
P.S.: I know it is dangerous and Ubuntu tells everywhere not to do this ever but I need this.
give account root privileges
location: linuxquestions.com - date: August 5, 2005
I'm trying to give an account privileges to join a machine to the domain. The problem is that I do not want to give access to the root account and pwd. How can I give an account this privileges. I just to have this account for the sole purpose of joining machines to a samba domain.
How to give myself root permissions
location: linuxquestions.com - date: August 10, 2006
I created a file as root and saved it in a directory just underneath the root directory. Now I want to look at it but the system won't let me into the root folder. Is there some way I could give myself rights to go in there?
How to reinstall only root partition of Debian 6
location: linuxquestions.com - date: October 19, 2012
I'd like to re-install just my / partition in debian squeeze. I have separate /, boot, and home partitions. The reason I'm doing this is because I hastily followed different tutorials trying to get gimp 2.8 installed and now when trying to install nearly anything I get the error: E: Broken packages. I've tried changing sources.list to the defaults, and then update and upgrade, but still get the error. The only thing I can think to do is re install my root partition. But if there is a better solution I'd love to hear it. If not, how do I go about doing this? I still have the DVD, can I just use that?
Page: 1 2 3 4 5 6 7 8 9 10