4
votes
1answer
51 views

How to automatically opening terminal windows & tabs, ssh and sudo su?

When I start my day in front of my computer, I first have to do the following: In workspace 1: Open a new terminal window, ssh loginserver, then ssh serverA1 and sudo su account00 Open a new ...
2
votes
2answers
64 views

can't run sudo from terminal

I'm having an issue where I can't even run sudo from the command line, like for example I need to see or edit a file that required the use of sudo with nano or some other sudo nano /path/to/file But ...
0
votes
2answers
54 views

gedit problem when open by terminal

when I open terminal and run the command sudo gedit first.cpp it shows this error in terminal: (gedit:24589): IBUS-WARNING **: The owner of /home/bonny/.config/ibus/bus is not root! (gedit:24589): ...
1
vote
1answer
93 views

what is the meaning of ax in ps ax

I know when you type sudo ps ax, that list all of the running process on the system. But want to know what is ax? what ax stand for? Is that abbreviation ?
3
votes
1answer
78 views

Creating executable file with password included in a script

How can I execute a sudo command by double clicking an icon ( password should be part of the script). Please help! Excuse if question is a blunder. My gnome-ppp is not detecting my BSNL modem when I ...
3
votes
2answers
66 views

Issue when sudo something after a hostname change

I was tired of my system's name so i decided to change it. I gksudo gedit /etc/hostname and changed my first and never touched computer name to a new one. Then now when i sudo something like sudo ...
25
votes
4answers
6k views

How to get out of “sudo -s” command in Terminal?

I entered sudo -s command in terminal, and the it changed from shameek@shameek-K55VD:~$ to root@shameek-K55VD:~#. Now when I click on the close terminal window icon it says, "There is still ...
0
votes
1answer
587 views

Linux Basic Commands [duplicate]

I'm new here. I just want to learn the basics of Ubuntu Terminal ! I know the very basic commands like changing directory, renaming, creating & deleting files. I'm looking for commands like ...
1
vote
1answer
291 views

sudo refuses my password

I've just installed Ubuntu 12.04 and now that I want to install a program through the terminal with a command starting with sudo, the terminal says Sorry, try again. I just don't get it, this is my ...
2
votes
2answers
1k views

How to pass arguments in a script using gnome-terminal

As part of a script I have gnome-terminal -e "process involving another user" Once executed this line, I have to write in the terminal 3 times the password of this user. I wonder how can I automate ...
15
votes
5answers
8k views

su command + authentication failure

I am having problems with the su command. I know my password and I am typing it correctly but su indicates authentication failure. So I checked on the internet and then went into recovery mode and ...
10
votes
1answer
827 views

Why does sudo ask for a password in window after I've just authenticated in a different one?

If I am using the command line in xterm, gnome-terminal, etc., I can keep sudo from re-prompting for a password, within some limits, or I can disable it. As a compromise between usability and ...