1
vote
0answers
9 views

How to give groups and users different permissions.

I have an assignment whereby I am asked to create 5 user accounts in Ubuntu and then create 3 groups for them to belong to. This part I did just fine. There are now 5 user accounts in my Ubuntu OS ...
0
votes
0answers
3 views

Is sudo 775 - R /var/www/ proper permission for Lamp

i am trying to give below permission sudo 775 - R /var/www/ all folders and all files permission for www folder of lamp for sudo user.Is it good for system.
0
votes
0answers
10 views

using Sublime Text 2 without having to open as root

I'm trying to figure out how I can run sublime text 2 without root. I have been told prior to use the command gksu sublime & and that has been working, but all the files that I create from within ...
-2
votes
0answers
14 views

Another fatal: does not appear to be a git reposity question

On my local repo I added and committed all my code into a master branch that I am trying to push to a remote repo. When I enter git push engFormula master. I get a does not appear to be a git ...
0
votes
1answer
49 views

Getting permission denied error

I have written one bash script and it is run on the background, inside this script I have use the following command: sshpass -p prakash123 ssh -t -p $1 prakash@localhost './update_script.sh > ...
1
vote
3answers
254 views

/etc/profile permission denied

I'm running an Ubuntu 12.04 LTS partition and I've recently have had issues logging in. From the GUI login screen, when I enter my username and password, it takes me right back to the login screen. ...
0
votes
1answer
42 views

Notify-send won't show notification unless run with sudo

I have just tried to use notify-send on my 13.10 machine and can't get it to work without using sudo with it. I don't know what details can I provide with this issue. My notify-osd version : $ ...
0
votes
2answers
322 views

How to add my user account to admin group (13.10 desktop) [duplicate]

I was trying to extract a web template into the hosting folder /docroot on the web service, which is working, however I do not have permission to complete the action. I cannot stand being locked out ...
1
vote
1answer
39 views

How can I as a root user manage folder owned by other users using ubuntu desktop?

I need to copy files/folder to a folder but that is owned by another user, infact a installed application by me. So how do I get the rights to copy files/folder to that folder ? I want to do it via ...
0
votes
1answer
53 views

sudo nautilus vs su

As i have learnt that being a super-user in linux/ubuntu we can unlock those task which is being hide out from other user so to avoid messing with the files and directories.Now i want to know upto ...
1
vote
1answer
97 views

Cannot install Spark IM 2.6.3, getting permission denied error even though I am root

I am trying to install Spark IM in my Ubuntun VM, however I am running into all kinds of problems. The steps I have taken so far were: Download the tar.gz file from the website Unpack it cd ...
0
votes
1answer
46 views

adding sudo permissions to NIS clienadding sudo permissions to NIS clients

I've configured a couple of ubuntu 12.04 servers with NFS and NIS like it was described in https://help.ubuntu.com/community/SettingUpNISHowTo and in ...
1
vote
0answers
43 views

How to allow local logins, after misconfiguring PAM in AD integration process

Aim: Create an R server that integrates into our Windows environment by setting up AD integration on an Ubuntu box Using: Ubuntu 12.04 LTS Following: ...
1
vote
1answer
357 views

Permission problem with SFTP in FileZilla

Recently, we installed Ubuntu Server on our servers this is very new for us. However, we tried to setup a apache2 server which did work. But the problem is that we can't configure apache and other ...
0
votes
0answers
64 views

How to make a command execuitable without root previlages? [duplicate]

I want to make some commands,such as ntpdate,shutdown etc, to execute without asking me for a password or without using "sudo" for "all users"(even normal users who have no sudo privileges) . I want ...
0
votes
1answer
39 views

I have a problem where sudo does not work can you help me?

Basically I have been following steps on this website to mount my hard-drive properly and now each time I try to follow the first step it says: sudo: effective uid is not 0, is sudo installed setuid ...
1
vote
1answer
486 views

How solve “sudo: must be setuid root” on Joyent server

I have a server Ubuntu 12.04 LTS on joyent . Mistakenly I have changed the /user/* folders permission to 775. After this I cannot able to run any sudo command. Rebooting the system in recovery mode ...
1
vote
1answer
29 views

Ubuntu Button Click Authentication

After upgrading from Windows to Ubuntu, I really like the operating system. The only point I find that is missing is the Windows functionnality to authenticate administrator permissions only by ...
-1
votes
2answers
338 views

How to create a root privilege file for a normal user?

I got a scenario where a customized Ubuntu 12.04 Linux OS has a read only filesystem which doesn't have terminal access. My goal is to create a file with root access using normal users permission. I ...
0
votes
0answers
35 views

How to set the superuser bit?

I have a backup script that contains several "sudo" commands. I don't want to have to type my username and password each time I run this script. So, I tried to add the "SUID" bit like this: sudo ...
2
votes
0answers
119 views

How do I reinstate my admin user privileges to global read/write

I am running Ubuntu 12.04 LTS. I only have the one user which I created when I installed Ubuntu. Everything has been fine - love it - until I updated a software package recently from the command line ...
0
votes
1answer
77 views

Ubuntu Opera works only with root rigths

Opera doesn't start if I don't start it with sudo opera. Which can be the problem???
1
vote
1answer
144 views

Should I use a separate 'admin' user as my “root sudo” or grant sudo to my 'app' user?

I'm still wrapping my brain around the Ubuntu 'nullify root' user management philosophy (and Linux in general) and I'm wondering if I should 'replace' my root user with a user called 'admin' (which ...
2
votes
1answer
3k views

Open file or application as root from GUI

Is it possible to open a file or application as root from the GUI? My ideal would be right-clicking on a file or an application and seeing an "Open as Root" choice in the context menu, after which I ...
0
votes
1answer
134 views

cannot access tor ownership

I've tried the recommended options to gain ownership of tor browser and am still not successful. This is the script I got: sudo chown $USER-Rv~/.tor-browser chown: missing operand after ...
0
votes
1answer
103 views

Unable to change permisions on windows partition disk

I need to change permissions of files in my /media/MAVEN/Projects MAVEN is my windows disk partition. The permissions on the Projects folder are: :/media/MAVEN/Projects$ ls -la \total 340 drwxrwxrwx ...
0
votes
3answers
173 views

why am I being denied my rights in sudo?

why am I being denid my rights to delete directories even I created in sudo now I cannot rid myself of it -- yes it is empty did this to insure I have sudo in the accounts: userz@bw:~$ sudo adduser ...
1
vote
1answer
21 views

Issue with Rosewell network adapter

When running the install.sh script for my roswell network adapter RnX-N180UBE I get an error Cannot change ownership to uid 1007, gid 501: Operation not permitted If anyone has any experience with ...
1
vote
2answers
614 views

How can I change owner back to root?

So, I did a stupid thing... I was installing some software (Java SE 7, if you must know) from a tarball, and I got tired of using sudo, so I went and changed the owner of my /usr directory to myself. ...
0
votes
0answers
144 views

Installed Qt as sudo su, unable to launch IDE

I installed Qt 5.1 by the following commands in Ubuntu 12.04.3 sudo su cd /QtSdk--linux-.run chmod +x QtSdk--linux-.run chown root:root QtSdk--linux-.run ./QtSdk--linux-.run After installation, the ...
0
votes
2answers
2k views

No root privileges when using GUI

So I'm logged in as the user 'Shannon', but can't gain root access through the GUI when I'm prompted to install a program for example. However using sudo su, type in the root password, gain access ...
1
vote
0answers
209 views

sudo -Hu rsyncuser rsync --progress -avz /source/path/ host.org:/destination/path/ - why does it change directory permissions?

here is my setup: on my source machine i created user rsyncuser with reading and writing permissions in /source/path on my destination machine i created user rsyncuser with reading and writing ...
0
votes
3answers
3k views

Not able to install *.run file in Ubuntu? [duplicate]

I am newbie with Ubuntu and I am using Ubuntu 12.04.3 LTS version inside Windows using WUBI. I have to install few softwares in Ubuntu which are as follow: MPLAB X IDE version 1.90 XC8 Compiler and ...
1
vote
0answers
246 views

Running a program as another user without typing a password

I'm trying to mark my browser internet traffic with a DSCP by selecting the packages with a certain owner. In order to do that I have to start my browser with a dummy user. I start my browser by ...
2
votes
1answer
75 views

How to clean up aftermath from rookie ubuntu command

Here are the commands I regretfully run: sudo chgrp root /usr/bin sudo chgrp root /usr/local I had recently added a user to root group and because my user still did not have write permissions, I ...
0
votes
1answer
455 views

Cannot create a new document in /var/www [duplicate]

I'm unable to create a new document in /var/www/ I followed this tutorial :- How to avoid using sudo when working in /var/www? and did as suggested, but still I'm unable to make a new document. Any ...
2
votes
1answer
228 views

Difference between running command as sudo and running command as root?

I know this question has been covered in many contexts but I'm unable to understand and predict when a user added to the sudoers file will not have permission to do something when prepending sudo to a ...
0
votes
0answers
20 views

Reeboot or Shutdown without Password [duplicate]

To run the command poweroff or reboot one needs to be super user. Is there anyway I can run this as a normal user? I just dont want to sudo and enter password everytime I reboot or poweroff.
4
votes
2answers
1k views

Standards accounts are able to get root access using sudo without password request

I have installed a particular software using the installer present using the command sudo ./install.sh. After the installation now all the accounts on my ubuntu laptop can gain root access by ...
1
vote
1answer
943 views

I need to use sudo for any Hadoop operation, how to change permissions?

I am self learning Hadoop, starting yesterday. For the purpose of learning, I have set up Ubuntu 13.04 64-bit on VMWare Fusion on my MacBook Pro. And I am following this excellent tutorial. Before ...
1
vote
3answers
1k views

How to reset default permissions for /etc?

By mistake I have made permission changes for /etc. Now it's giving me the following error message: bash: /etc/bash.bashrc: Permission denied I have no name!@chandan-Inspiron-5520:~$ sudo ...
-1
votes
1answer
343 views

How to get r/w permission for a directory for a particular user?

In my ubuntu server a directory named "softwares" is shared via samba for windows clients. The directory has only read permission. I am the system admin working on the ubuntu server. I am also not ...
1
vote
0answers
138 views

how to recover file and folder permission?

I made this mistake at the /usr directory sudo chmod -R 777 bin The next time i used sudo, it gives me this prompt: sudo must be setuid root What I did is copy and replaced this sudo thinking it ...
66
votes
9answers
6k views

Run same command again but as sudo

Sometimes when I run a command I don't notice that I needed to run it as super user to have enough permission. Is there a way to run the same command again but as a super user?
0
votes
1answer
1k views

ubuntu 13.04 failed to start any GUI application as root

I just installed ubuntu 13.04 in family machine, and I faced strange problem even though my sudo password is correct, I cannot start any GUI application (i.e. bleachBit (as root)) as a root, the ...
14
votes
3answers
5k views

Why doesn't `sudo cd /var/named` work?

I want to cd into /var/named but it gives me a permission denied error, and when I want to use sudo to do this I am not permitted. What is the technical reason for this, and is it possible to do this ...
1
vote
1answer
349 views

problems with /etc/sudoers

I am running ubuntu 12.04 on i3 laptop. By mistake I changed the permissions and changed the user(from root) of /etc folder and I am getting a error when trying to use sudo like: sudo: /etc/sudoers ...
0
votes
3answers
2k views

recovering sudo/recovering root ownership on system directories — how? possible?

I'm trying to find out the default ownership & permissions for my ubuntu install. I'm also trying to figure out whether the wrong-headed granted of file ownership to the user robert to system ...
1
vote
1answer
5k views

Sudoers NOPASSWD for command not working but ALL is

I've been trying to grant www-data to use sudo service apache2 restart without a password but no matter what I try, nothing works. I have read a few hundred posts regarding this issue on different ...
1
vote
1answer
627 views

permission denied as root

I am trying to run chown on a directory and I get a permission denied. I have tried running sudo and also running the command as root. If root doesn't have permission, how can I change the owner of ...