0
votes
0answers
31 views

My ubuntu is broken, error with gksu!

I keep getting this when is use gksu nautilus: shonn@shonn-Satellite-A505:~$ gksu nautilus Nautilus-Share-Message: Called "net usershare info" but it failed: 'net usershare' returned error 255: net ...
5
votes
0answers
122 views

Access to /dev/ttyUSB0 and sudo

This is my first question here. I am running Ubuntu 12.04 and have an application accessing the USB port of computer. My Ubuntu username is gadu. Until today, i've always used the following command: ...
0
votes
1answer
39 views

How do i get permission to edit a file in /etc/? [duplicate]

I'm trying to modify a file from /etc/ but I can't, because the file I want to modify require root permission and I accidentally erase it. I tried to use some sudo commands but I can't because every ...
1
vote
1answer
92 views

Why does node.js need administrative permissions to access my windows share even though the share's premission is 0777

I have Ubuntu 14.04 running as a VMware guest on my Windows 8.1 host. I have shared a folder on my Windows Host and it is mounted in the Ubuntu guest on startup using this entry in fstab: ...
0
votes
2answers
27 views

How to change permission of a drive in an external hard disk?

I had an old laptop. When it got complaint I removed its hard drive and started using it as external hard disk. It has an 80 GB of memory allocation for the windows C drive partition. But now i don't ...
1
vote
1answer
62 views

How to get root permission inside qt program?

I run my QT app without sudo permission but during running phase of the app I need to install the .deb so I am running the command dpkg -i mydeb.deb with qprocess in QT or some other commands which ...
0
votes
1answer
57 views

Superuser 'permission denied'

I wish to run a script in the root directory. The script is /opt/poky/1.6/xx If I log in as a superuser in Ubuntu 14.04 using sudo -i and my own password, I can see this file using ls /opt/poky/1.6/. ...
-1
votes
2answers
103 views

account blocked by changing the /etc/passwd : how to revert or gain access again

To get root access to my existing account in ubuntu i followed this post. But even after following the steps mentioned i wasn't able to create/modify file or directory without using the sudo keyword. ...
-1
votes
1answer
83 views

Nano edit, permission denied

I am trying to edit a index.php by using sudo nano index.php. Nano opens me into index.php, then i add the code into the file, save and try to exit but it says permission denied. I am using ssh ...
-3
votes
1answer
64 views

Enabling root privileges permanently and have no password

I want to enable root privileges permanently so that, for example, I never need to type sudo. I also want a blank password. I found a thread addressing this with link Always Sudo Privileges. Exactly ...
1
vote
0answers
21 views

Lost premisssions after editing sudoers file [duplicate]

Please, can someone help me. The problem: I would like to give permissions to reboot for users not from admin group. On the Internet I found the advice to change the "sudoers" file with command ...
0
votes
1answer
36 views

Lost the root privilege after try to add the user to a group

My user lost root privilege after try to add the user to a group. It's looks like the "usermod xxxx --groups ..." change the from the root group to the new one, it's a mistake but the thing is my user ...
1
vote
1answer
70 views

Ubuntu no longer prompts for root privilege (but doesn't give it either)

So on 14.04 LTS I was playing around with some settings to solve another problem, and somehow managed to screw things up and now Ubuntu no longer asks for root privileges before trying to perform ...
0
votes
0answers
19 views

Get Access Problem as admin user

I want to access "sudoers" file and also access "su -" but I fail and get following error please check terminal output that I have tried. I am m-usman(admin) but not allow to edit or access ? :( ...
2
votes
0answers
1k views

Allow chown command to www-data user

Is there a way to allow chown command to be run by www-data but limiting it in a way that the files owner can be changed only to uids greator than that of www-data user? I already researched a lot ...
-1
votes
1answer
80 views

How to make everything run as root in ubuntu? [duplicate]

I have setup a virtual machine for compiling software for linux which I develop on Windows. I setup to automount a windows folder, run compilation scripts and then just shutdown. The machine isn't ...
0
votes
0answers
25 views

How to skip entering password for sudo i.e. prepare script with permissions? [duplicate]

For work and other situations as well I'm running all sorts of sudo commands. Thank god (and devs), they can be run from Unity Laucher :) . But as a lazy timesaver I want these commands permanently ...
0
votes
0answers
36 views

Generally-accepted way of giving a user rwx permissions to /etc

I need a non-root user (say, myuser) to be able to have unbridled, recursive rwx access to /etc and anything underneath it. Hence if I execute, say: mkdir /etc/fizz I shouldn't receive any ...
0
votes
1answer
35 views

don't have permission or doesn't exist

I'm trying to configure an Oculus rift and I have a configuration script that needs to be executed: GLADOS@deathbox:~/Desktop/OculusSDK/Tools/OculusConfigUtil$ ./OculusConfigUtil_i386 bash: ...
2
votes
1answer
218 views

Permission denied error after SSH login

I am having Permission denied errors after logging with non root user (which has permissions to do "sudo -i" command). I get these errors: -bash: /bin/uname: Permission denied -bash: [: =: unary ...
0
votes
1answer
127 views

I don't have permission to access this device on iftop and need to be root to run NetHogs

I have two dilemma's here: One is, I tried using iftop but it said I don't have permission to capture on that device (socket: operation not permitted) I can use ifconfig just fine. Also, I installed ...
3
votes
2answers
239 views

Sudo error, setuid [duplicate]

I'm using Ubuntu 14.04 and I run some command series on Terminal. But at one time I ran sudo chmod 777 /usr/bin/ -R And giving some permissions on this directory. After that, I'm continue my work, ...
2
votes
1answer
61 views

Sudo is also user login password - why? how to change?

When installing Ubuntu I can create a user with an encrypted folder, what I always do. Now after the installation the login password for this user is also the sudo password. Is that how it should be? ...
-1
votes
1answer
36 views

Small Modification turned into a huge problem - I think my system has been hacked [closed]

I'll try to keep this brief, but I set the permissions for /usr/bin/ to -R using chown. I later read when I couldn't seem to log in as su that this may have compromised my complete system security. ...
1
vote
2answers
41 views

I can only execute calibre as root (with sudo). What should I do to be able to execute it without root privileges?

I have installed calibre, but now I can only execute it with sudo calibre What should I do to be able to execute it without root privileges, that is, without sudo? Another problem associated ...
2
votes
1answer
17 views

permission propagation when dumping text into file

If I do: sudo mysqldump --default-character-set=utf8 -u root -pwelcome1 mydb > dump.sql I get: -bash: dump.sql: Permission non accordée However if I sudo to su first, it works fine. It seems ...
0
votes
1answer
2k views

sudo: unable to stat /etc/sudoers.d/README: No such file or directory

Whenever i use sudo command i get this message: sudo: unable to stat /etc/sudoers.d/README: No such file or directory i ran into this trouble when i was strugling with chmod using which i changed ...
0
votes
1answer
71 views

What does the 'sudo -s' command do, and how is it used in this example?

I have the following doubt. In a tutorial related to a software installation that I am following say that I have to execute the following commands (I am doing it into an ssh shell, so this list of ...
1
vote
1answer
81 views

Changes to sudoers have no effect. Following basic Ubuntu tutorial

I'm following along the Ubuntu sudoers tutorial. Here's my exact /etc/sudoers file (screenshot instead of code block because the formatting was getting messed up). Notice the lines at the bottom ...
0
votes
0answers
268 views

sudo not working after rsync - unable to open /etc/sudoers: Permission denied

Bought a new drive. Formatted to ext4, mounted the partition and ran sudo rsync -aAX --delete /* /mnt/ --exclude={/dev/*,/proc/*,/sys/*,/tmp/*,/run/*,/mnt/*,/media/*,/lost+found} This moved all my ...
0
votes
1answer
42 views

Repair filesystem permission

I accidentally executed sudo chmod -R 777 / I was actually trying to change a specific folder permission recursively, btw i did stop the command before it changed everything. But now, i can't ...
1
vote
0answers
33 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
1answer
127 views

Correct permissions for sudo LAMP /var/www directory

I am trying to set permissions with sudo 775 - R /var/www/ on all folders and all files in the www folder of lamp for sudo user. Is this the correct way to set up the system?
0
votes
1answer
106 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
2k 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
99 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
2k 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
58 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
83 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
418 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
98 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
58 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
1k 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
65 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
45 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
739 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
31 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
540 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
1answer
74 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
148 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 ...