The su tag has no wiki summary.
1
vote
2answers
90 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
74 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 ...
1
vote
1answer
33 views
How can I load gui applications under an su session?
When I log into gnome in Ubuntu 12.04, I can type the following on the command line to open a pdf:
evince mypdf.pdf
However, the following does not work.
su
evince mypdf.pdf
That gives the ...
1
vote
0answers
28 views
How can I perform the su command to switch to a network user without a password?
I have a local user and a network user (authenticated over LDAP) that I frequently use su to switch to for certain tasks. I'm wondering how I can avoid typing the password for the network user every ...
3
votes
1answer
178 views
segmentation fault when using su or sudo
example of the problem:
$ su
Segmentation fault
$ sudo ls
Segmentation fault
I tried to compile sqlite3 from source earlier. I don't know what libraries it installed. This may be the reason why ...
1
vote
1answer
14 views
switching to new user limits console capabilities
I'm creating a new user:
groupadd sybase
useradd -g sybase -d /opt/sybase sybase
passwd sybase
chown sybase:sybase /opt/sybase
chown sybase:sybase /var/sybase
then switch to this user:
su - sybase
...
1
vote
1answer
116 views
sudo su doesn't change users for mysql
On a Ubuntu 11.10 ubuntu-server:
Last night, on my server, I did:
sudo su - mysql
to change to the mysql user so I could run the mysql client, which is set up so it will only authenticate from the ...
3
votes
2answers
679 views
What is the root password for a live usb stick? [duplicate]
ubuntu@ubuntu:~$ su
Password:
su: Authentication failure
I installed Ubuntu to a USB stick. I didn't set any password any time - why can't I use su?
2
votes
1answer
161 views
How to run a command as a user whose login is disabled?
I am trying to use the su command to run an application as another user
In this case I am trying to run irssi
blah@ubuntu: su - [username] irssi
(enter password)
blah@ubuntu:
(nothing happens)
...
1
vote
2answers
143 views
Changed account to auto login, now su password does not work
I have one user account on my laptop, and it has the same password as the su password. I changed the user account to an auto login account, and now the user password is not accepted (i.e. ...
0
votes
4answers
148 views
How do I avoid su-ing to root
I need to install Symantec Antivirus for Linux on my computer.
According to its README file, it says:
Debian and Ubuntu users should use sudo
For installation and when you execute Symantec ...
1
vote
3answers
2k views
Best practices for using 'sudo su'
I have been using the terminal for a while now and sometimes (actually, a lot of times) I use a command, like:
cp /etc/test ~/testFolder/
and I get this error:
cp: cannot open `/etc/test` for ...
28
votes
3answers
2k views
What are the differences between sudo, su, visudo, chroot, and gksu?
What are the differences between sudo, su, visudo, chroot, and gksu ?
6
votes
1answer
154 views
Can I set Superuser Inside the Launcher?
I have a script that I run every time I boot up my laptop (to reset the screen brightness). I would like to be able to execute this command using a Launcher:
echo 1500 > ...
3
votes
3answers
907 views
“Successful su for user by root” - suspicious entries in my /var/log/auth.log?
This post on reddit made me go through my logs. That's when I discovered the following entries which appeared on two non-subsequent days. "user" is my user account.
Aug 4 22:50:37 UbuntuSystem sudo: ...
1
vote
1answer
192 views
Why doesn't “su bind” work?
When you do apt-get install bind9, there gets a user bind created.
I'm having some trouble with my bind installation.
See
How can I add file create read write and delete for a specific ...
4
votes
6answers
2k views
How can I run an application with a GUI as super user from a normal user session?
I defined 2 users:
one with admin privilege (lets call it admin) with sudo right.
a 2nd one without any privilege (lets call it normaluser)
and I configure the autologin on this 2nd user normaluser.
...
1
vote
1answer
58 views
CLI looking/acting strange on a BeagleBone
I'm having an issue with the Command Line Interface. I'm running Precise 12.04 armhf on a BeagleBone and all the functionality works fine that I need. I have a 'cosmetic problem' when logged in as the ...
1
vote
2answers
1k views
Passwordless su in a Bash script?
I've run into a dilemma while migrating a Hadoop installation from Oracle Enterprise Linux to Ubuntu. The prior developer put the following command into rc.local within OEL:
su reporter -c "cd ...
2
votes
3answers
177 views
Difference between ~/folder and /home/username/folder when creating a path in /etc/environment
I had an executable script on my ubuntu located on ~/project/ directory and I tried to add that path to /etc/environment . So , I edit the path to this ...
2
votes
4answers
2k views
I can't su as root, my account type is admin BUT am I root? [duplicate]
Possible Duplicate:
su command + authentication failure
i installed ubuntu successfully, but then i tried "su" on terminal and entered my password, authentication failed! and I don't think ...
1
vote
1answer
146 views
How to determine which version of a compiler is installed?
I have the gfortran, but I have been told that gfortran versions 4.2 and older lacked some f90 functionality. How do I determine which version is already installed? Also, can I install the latest ...
1
vote
1answer
302 views
I can't do “sudo”
Let's describe it from the beginning:
I was planning to re-enable the password requirement in LightDM for security reasons. But, since my PC's been sluggish these times, it FC'd the password setup ...
14
votes
4answers
18k views
Difference between “su”, “sudo -s”, “sudo -i”
I already read it from manual but I can't see difference..
su - change user ID or become superuser
sudo -s [command]
The -s (shell) option runs the shell specified by the SHELL environment ...
2
votes
3answers
386 views
how to recover from mounting /usr/ nosuid
I was able to move /usrto an external harddrive. In fstab I mistakenly mounted the drive with nosuid. Now I can't use sudo or su. I can't edit the fstab entry. When I manage to open it I can't do so ...
1
vote
2answers
228 views
sudo, su problems
During the installation process I was asked to set a password. I chose a password (a strong one) and everything goes smoothly every time I log in. Problems arise whenever I resort to "sudo" or "su" ...
