1
vote
1answer
53 views

How to retrive root password, when someone has changed it? [on hold]

The fact that, In my Lab, one of the user who is in sodoers list has changed the root password, is there any way to reveal the password he has set? I know how to change it by editing from GRUB but ...
0
votes
1answer
37 views

Need to copy firmware files at /usr/lib to /lib using terminal

I have a Cubox-i4Pro and I'm running Xubuntu on it. In order to get Wi-Fi working I have to copy the firmware folder "brcm" from /usr/lib/firmware/brcm and make the folder /lib/firmware/brcm. Refer ...
1
vote
0answers
74 views

Cannot chown or chmod using sudo anymore

I was trying to make an adjustment to the /etc/sudoers file, and I accidentally corrupted it. I restored it via the grub and using the Ubuntu 14.04 default. But now it seems I can change ownership ...
1
vote
0answers
32 views

How does a keylogger respond when the user switches profiles

I'm wanting to log keystrokes on this ubuntu computer and I was wondering how a keylogger program responds when the user goes from a default user account and then logs in as root or vice versa. For ...
3
votes
2answers
128 views

add alias to root

I need to execute a command for my system to search for new sd cards and to be able to execute it I need to me logged on as root. Simply using sudo with the command does not work. This is not a ...
0
votes
0answers
49 views

listing permissions

I'm a biomedical scientist and I'm having trouble running a custom data analysis pipeline written by one of our collaborators. His script crashes with /bin/sh: 1: ...
0
votes
2answers
70 views

What is sudo -i [duplicate]

What does this command? sudo -i? I'm not sure if I should have made a post with just this question, but since I'm a Linux newbie and I have a lot more questions and doubts, I decided to go ahead and ...
-3
votes
1answer
148 views

How to login in terminal as root anytime when I open terminal?

I don't want to type sudo and my password everytime.I think it is really annoying.Is there any command or option which will consider you root user when you open terminal,everytime When you open ...
3
votes
1answer
190 views

Why don't the commands 'sudo bash' or 'sudo -s' ask for a password? [duplicate]

Even when I am logged in as a non-admin user, when I enter sudo bash or sudo -s, the system does not ask for any password. In the command history, I have not entered any password for sudo earlier ...
1
vote
0answers
22 views

root login password when I never set it? [duplicate]

Sorry for too many duplicate questions about this. But I don't think any of the answers to these kind of question has the solution for me. As some users might have asked, how to set root login ...
2
votes
1answer
121 views

Drop to root shell (security vulnerability?) [duplicate]

I've known about the ability to drop to a root shell for quite a while. You just hold shift and select (recovery mode) from the list of kernels presented. I would mess up an install, then drop to ...
0
votes
3answers
63 views

Quit from the middle of password setting process

I try to check whether my root has password or not. I run this command; sudo passwd root Later on it responses as; Enter new UNIX password: Based on that response, I have an indication that my ...
0
votes
1answer
77 views

Locale reverts to old locale after exiting root?

Heyo~ I am having an issue whenever I change locale. At present, I am getting this error whenever I run the locale command. locale: Cannot set LC_ALL to default locale: No such file or directory ...
1
vote
1answer
200 views

Cron job creating empty files in root

My cron job, command looks similar to this: wget -q http://whatever-url/ It is running correctly (every minute). Problem is that it is creating empty php files at my root for every minute it runs. ...
0
votes
2answers
747 views

What is the answer to “are you root” when installing packages? [duplicate]

What is the answer to "are you root" in Ubuntu 12.10. I was installing the restricted extras for the 12.10 when I got this message after typing my password. I typed yes and now all I see are y in the ...
-1
votes
0answers
3k views

Recovering root password in vmware for ubuntu 12.10

I have installed Ubuntu 12.10 in vmware, and I am not able to understand why is it rejecting root password upon entering it on in the terminal. So I would like to have a new password instead. Can ...
0
votes
0answers
25 views

When I go in the Ctrl+Alt+F1-F6, the password doesn't work [duplicate]

I can't do commands in the Ctrl+Alt+F1-F6. When I do a command, it asks me my password. When I write it, it doesn't work. I've tried it enough times to know that it's broken/there's a problem.
0
votes
2answers
3k views

Change the terminal prompt [duplicate]

This can be really trivial,but it helps in ways of making it more comfortable while coding and sending commands to terminal. My terminal source/bash/root name(my apologies, I dunno which is the right ...
1
vote
2answers
2k views

How do i change the password of root, using webmin in one command line?

I have lost root password of one old server, where i can only have normal user login and via webmin login. Via webmin interface i have one option to execute command, i have been trying the following ...
0
votes
3answers
287 views

What does the dd command do?

Someone rooted my box and executed a command, help! dd if=/dev/urandom of=.huehuehue what does this command do?
-1
votes
2answers
150 views

Alt+F2 to run terminal fails to do anything

Using Alt+F2, I type: sudo Terminal But nothing happens. I am not aware of making any changes and this used to work. I am using Ubuntu 12.04 LTS 64 bit.
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.
0
votes
1answer
787 views

~/.profile OR ~/.bashrc OR ~/.pam_environment

Please which one of these should I edit to give me required result of the path to my programs both in normal user and as root. I have added in normal user and as root but there is error as quoted ...
4
votes
1answer
2k views

No effective root

I wanted to login as a user, but when I typed in login usr (usr is just a placeholder for the user name) the system returned: login: Cannot possibly work without effective root. How can I fix ...
4
votes
2answers
242 views

what does mean // directory?

i was working in my terminal, and than i misspelled when cd to root / accidentally i typed // and i got that in terminal as : root@weblocalhost://# when i type pwd, i get response // but when i ...
0
votes
1answer
176 views

Admin to root privileges

I'm trying to put up a CS:S(srcds) server, but when I use the given instructions, the terminal says that I don't have the permission to change it. My account is an admin account right now. Can I give ...
3
votes
1answer
113 views

Bash - Get Sudoer Username?

Say I have the following bash script: #!/bin/bash echo $( whoami ) This is what it outputs with and without sudo: alix@netbook:~$ ./test.sh alix alix@netbook:~$ sudo ./test.sh root The script ...
2
votes
0answers
456 views

How to mount an external hard drive as root?

I recently changed my external hard drive so that it can be read/edited by all, not just myself. In doing so I think I made it so only the root user can mount it. When I tried to mount it today I got ...
6
votes
2answers
142 views

When running `ll`, what does `root root` mean in an entry?

I'm curious what the meaning is for the two root entries on terminal when you enter the ll command. I know one is the user but not sure which one. What do both mean and in which order? For example, ...
2
votes
2answers
285 views

Does sudo really make you root for a while?

On Ubuntu, in what kind of situations, if any, running a command as a non-root to access a file/folder or create/delete a file/folder using sudo may result in "permission denied" while running the ...
8
votes
3answers
95k views

How do I set the root password so I can use su instead of sudo? [duplicate]

Possible Duplicate: How to know my root password? Instead of letting you set a password for root during install Ubuntu set it to * for no password and disables the actual account login, ...
38
votes
4answers
61k views

Execute sudo without Password?

Inspired by this question.... I am the sole person using my system with 12.04. Every time I issue a sudo command; the system asks for the user password (which is good in its own way). However I was ...
0
votes
1answer
134 views

Strange thing happening in command prompt

I'm using Ubuntu in command line mode, no GUI. I'm new to UNIX, so I'm a bit confused by something that just happened. I accidentally typed "suspend" instead of "pm-suspend", and my root~#: prompt ...
5
votes
3answers
34k views

How to run a .run file as root?

I downloaded a .run file for a Nvidia driver, but when I run it in the terminal it tells me it must be run as root. I'm a complete noob and I barely even know what root is. I think it's somewhere ...
0
votes
0answers
383 views

How to change the root password on Ubuntu 11.10? [duplicate]

Possible Duplicate: How to know my root password? I am using Bash. I have a freshly installed Ubuntu 11.10 and I need to change the password.
4
votes
1answer
61 views

Making Existing Userlevel program root?

Is it possible to give root to an already running application which runs at userspace? Like x program is running, I did some unsaveable work on x program, But it needs root to complete. I do not want ...
2
votes
3answers
621 views

Cannot find /usr/bin/ in nautilus

I'm trying to get the program "Desktop Drapes" to run on startup, and so far the only guide that's gotten me anywhere is this one: http://ubuntuforums.org/showthread.php?p=8810911#post8810911 Things ...
14
votes
3answers
31k views

What is the difference between 'su -' , 'sudo bash' and 'sudo sh'?

I would like to know what is the difference between su - sudo bash sudo sh I cannot login as root while doing su - because I do not have the root password - I mean I have my user password with ...
2
votes
1answer
894 views

How to open a file in gedit with zenity --file-selection as root

I try to open a file in gedit with the file-selection option of zenity. It's very easy to do it for file that i can access in normal mode, but I wanna open too some configuration files (as for exemple ...
0
votes
1answer
928 views

How to work around the home directory changing to /root when using sudo?

With Natty coming out soon, I've been at work updating my deployment and self-config script to make my desktop on 11.04 run and look the way I want it to. One bummer is that dbus seems to have ...
2
votes
2answers
3k views

Auto-login to console as root - no Xserver

I'm setting up a PC for a very specific purpose. It's going to do some stuff deep underwater... round about 3km. We don't fear fish hijacking the box locally ;). I'm trying to set up a login: no ...