command for substituting user i.e. logging to a session as a different user.

learn more… | top users | synonyms

3
votes
1answer
37 views

LibreOffice4.2 Fatal Error

Does it mean to say that I am not the root user ? But I am the root and have both sudo and su access. So why don't I have the sufficient access to open Libre Office?
0
votes
0answers
30 views

Couldn't Start Dropbox

Always displays this error saying permission but don't works well even after I provide the super user password.
0
votes
1answer
32 views

Is there a way to have the login password different from the su password? [duplicate]

I have a friend that's running Debian and his computer login password is different from the superuser password. I was wondering if there's a way to do this in Ubuntu?
0
votes
1answer
56 views

“su” or “whoami” not working

I am connected to an Ubuntu 14 via ssh with user "nuri". I am trying to change the user with "su" command and no success. Below i enter the password for deneme2 correctly and check whoami. Afterwards ...
0
votes
1answer
89 views

Authentication Failure while accessing super-user privilege

I get the root privilege when I type sudo. But when su asks for the Password, which I type in, the terminal says su: Authentication Failure
0
votes
3answers
52 views

sudo -s works but su does not in ubuntu?

I have Linux Virtual machine (ubuntu 12.04) installed on my Mac OS. On my terminal, user@192.78.0.1:~$ su password: su : Authentication failure user@192.78.0.1:~$ ls -lth /bin/su -rwsr-sr-x 1 root ...
0
votes
2answers
126 views

What is the root user

If you use sudo su - or sudo -s you will get the full root certification "likewise a root user ". Is this user an official user or is it from canonical? ~$ sudo su - [sudo] password for username: ...
-1
votes
1answer
65 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 ...
1
vote
1answer
32 views

Re-disabling the root account

In ubuntu by default the su (root) password is not not set. I have set it by using the sudo passwd (see link). But I didn't like it. Can I go back to my original state.
0
votes
1answer
47 views

No command '“alias' found

Recently, Ubuntu stopped detecting my android device when I plugged it in with USB, so I was looking to fix the problem. In the process, I found this thread and I followed the steps on it. Only on the ...
0
votes
1answer
49 views

Setup SSH keys to login as super user

I have a random question. I am new to SysAdmin side, so not sure if I am doing it right way or not. We have a sudo user setup called wladmin an host1. I login to host 1 as myself, then do following ...
0
votes
0answers
11 views

How to gain root access to UEC image?

When openstack creates an instance from a UEC image (using precise amd64), the SSH public key is successfully injected via cloud-init and I'm able to ssh into the instance via the ubuntu account, but ...
0
votes
1answer
44 views

Ubuntu sudo su and server su clarification

I have a question about root. when i want to change to root in ubuntu have to type: sudo su - i am not allowed to type: su and su - root Howerver it works the other way around on my server, ...
1
vote
1answer
73 views

Running a Screen instance of a program as non-root

I've got a dedicated server (Ubuntu 12.04, no GUI) set up to launch an instance of McMyAdmin and attach it to a screen instance every time I reboot the hardware. I have the command saved to root's ...
0
votes
0answers
178 views

Run script in /etc/rc.local under specific user

I am using portia (https://github.com/scrapinghub/portia) and I have set the following command in my rc.local: cd /home/portia/portia/slyd && twistd slyd Problem here is that the ...
4
votes
4answers
2k views

How to avoid prompt password for sudo?

I know I can go root (super user) via the su command but I have to authorize it after firing the commands. Is there a way I can go root and authorize (with password) in one line
0
votes
1answer
64 views

Wrong Permission to /etc folder [duplicate]

I given wrong permission to the /etc folder wrongly chmod -R 777 /etc While i want to login as root it gives me error and gives the following output. How can i give the correct permission and fix ...
0
votes
1answer
654 views

PAM USB on 14.04 su “username” = “no passwd entry for user 'Thornton'”

I followed the directions located here http://linuxconfig.org/linux-authentication-login-with-usb-device Once I reached step 4 I found that the changed authorizations did nothing, so I reverted back, ...
1
vote
5answers
243 views

Why does su fail with “authentication error”? [duplicate]

I tried to su to root so I could install lights, but I get an authentication error when I try: user@host:~$ su Password: su: Authentication failure
0
votes
1answer
48 views

su to different user no longer working in 12.04 LTS

I want to log on as tomcat7 user in a different bash command shell. I used to be able to do this by doing the following: sudo su - tomcat7 But when I enter this command now I get returned to the ...
0
votes
1answer
94 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 > ...
2
votes
2answers
116 views

What is the difference between sudo -i and su? [duplicate]

It seems as if there is no difference whatsoever. When the whoami or id commands are run, they all yield root credentials. Is this an illusion? If the root account is disabled by default in Ubuntu, ...
0
votes
1answer
53 views

Can not enter password [closed]

Am new at ubuntu i tried to install a kdeplasmadesktop addons, and by typing su -c 'yum update kdeplasma-addons' from the terminal it ask for password but can not type any in. Thanks.
0
votes
0answers
14 views

Two different versions in root and in public

I am starting out with ubuntu so forgive me for the beginner's question. I tried to look for it here and I found nothing... I installed anaconda for all the python packages and I had some of them ...
0
votes
0answers
14 views

how to disable/remove call to pam_authenticate for Su

i am using following Ubuntu Linux ubuntu 3.11.0-12-generic #19-Ubuntu SMP Wed Oct 9 16:12:00 UTC 2013 i686 i686 i686 GNU/Linux I want to disable call to pam_authenticate in Su utility for my ...
1
vote
0answers
20 views

permission to write in root/usr/share/kde4/apps [duplicate]

i am trying to just do basic theming.. there isnt an install button for "Desktop Theme" so i am trying to copy the files to root/usr/share/kde4/apps/desktoptheme but get access denied message every ...
1
vote
3answers
41 views

Reassigning su command

I accidentally linked my "su" command to Sublime Text binary (that's what you get when you trust hitting tab without looking...) Now, "su" just opens a SublimeTExt session. Does anybody know how can I ...
2
votes
1answer
199 views

Why can't I use `su --session-command` on Ubuntu?

In trying to solve a problem, I discovered the --session-command argument to su, as documented here. I tried to use it on my Ubuntu 12.04 system at work, but got an 'unrecognized option' error. Sure ...
0
votes
1answer
2k views

How do I allow only one user to su to another account?

I have user-a and user-b on my box. How do I do a no-password su - user-b as user-a?
2
votes
1answer
4k views

Sudo command not found (su login not working)

I had a system crash and now my Ubuntu runs into low-graphics mode. All the fixes require running commands with sudo. When I try this I get sudo: command not found. When I try logging in with su - I ...
0
votes
1answer
379 views

Can't install xampp for linux

I'm trying to install xampp as shown here, with the following line: su chmod 755 xampp-linux-1.8.3-installer.run ./xampp-linux-1.8.3-installer.run Su goes well, but the terminal doesn't run the ...
0
votes
2answers
719 views

What is the command to switch to normal user? [duplicate]

I am trying to "su/sudo" command to switch to a regular user. It asks me password and I enter admin password then it says su: Authentication failure. How can I switch to regular user, what is the ...
0
votes
0answers
133 views

Oracle Database 11g on 12.04 issues

I've been attempting to setup Oracle on 12.04, but I've run into some issues. I've been using http://geeksharing.blogspot.com/2011/02/installing-oracle-database-11gr2-on.html as a guide and it has ...
2
votes
1answer
810 views

Where's runuser?

I'm making an upstart job, and I need to run an executable as another user. Nothing fancy like su provides, and none of the mixed-up SELinux contexts that come along with it. A quick internet search ...
1
vote
1answer
190 views

Why does the “who” command not show “root” as a logged in user?

When I log in as root from gnome-terminal using the command: sudo su it logs me in as the root user. Isn't this switching a user considered as a log in? Also, which command can show me all the ...
19
votes
1answer
28k views

'sudo su -' vs 'sudo -i' vs 'sudo /bin/bash' - when does it matter which is used, or does it matter at all?

When I'm doing something that requires root be typed in dozens of times in a row, I prefer to switch my session to a root session. In the various tutorials and instructions I have used on the ...
0
votes
1answer
154 views

Accessing sudo from a non-administrator profile

I have had Ubuntu for a few months by now, and I have set up an administrator profile and a 'normal' account, which I use for everyday work. Sometimes I need the admin profile, e.g. to install ...
1
vote
0answers
2k views

Is there a single line command to do `su`?

I can do an su with su <username> and it asks for my password. Is there a password parameter for su such that i wont be prompted for a password? e.g. su <username> -p <password>
1
vote
1answer
1k views

Sudo su setting default password automatique [duplicate]

I'm a newbie linux (Ubuntu) user and i have a question to sudo su, I always like use the root in the shell for no annoying privilgies errors :) But the problem is sudo su always ask me for a password ...
1
vote
0answers
255 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 ...
2
votes
2answers
122 views

root@mickey:/#su goofy && ssh goofy.com — why does this fail?

mickey (who is logged in as root) tries to use goofy's account to ssh into goofy.com. root@mickey:/#su goofy && ssh goofy.com however this fails to login goofy on goofy.com, instead: ...
3
votes
1answer
134 views

su not properly logged when using byobu [closed]

We're seeing varations in our logs when a user su's from a byobu session vs. a regular shell session. When using a regular session the lines in /var/log/auth.log look like this: root@delta:/var/log# ...
0
votes
3answers
6k views

Make directory command not working

I am new to the Ubuntu. I have logged in as guest then switch to namu user and want to make directory but get error as follows: gest@ubuntu:~$ su namu Password: namu@ubuntu:/home/gest$ cd .. ...
0
votes
2answers
4k views

su: Authentication failure

I have downloaded the Eset Nod32 Antivirus from its website, and I got a eset_nod32av_64bit_en.linux file. I have right-clicked on it, Properties - Permissions, and checked the Allow executing file as ...
0
votes
1answer
96 views

SU, SUDO and Upgrade problem

i have a big problem with my Ubuntu PC. When i try sometigng need sudo or su, nothing is working and the OS Upgrade too, when i write the root password to the su command i have a "autentication ...
0
votes
1answer
417 views

problem with PATH when using $su

OK, I'm having a bit of an issue with PATH and running a process as another user under Ubuntu. First, we check where the bin is: root@host:~# whereis start-stop-daemon start-stop-daemon: ...
0
votes
1answer
824 views

Unable to SU with root: `/bin/bash: permission denied`

root@frankfurt:~# sudo adduser newuser Adding user `newuser' ... Adding new group `newuser' (1001) ... Adding new user `newuser' (1001) with group `newuser' ... Creating home directory ...
2
votes
2answers
1k views

What does the script /dev/null do?

I was sued into another user to run screen, but I got the error Cannot open your terminal '/dev/pts/4' - please check. I found a solution: script /dev/null and after that I can use screen. Why does ...
1
vote
2answers
1k views

'root' user does not exist?

When I run the su command, the terminal returns: user 'su' does not exist.How do I add the root user? Can anyone answer this? I tried sudo adduser su, but after this, I get the same problem.
1
vote
1answer
755 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 ...