The name of the main administrative user commonly used in *nix based systems.

learn more… | top users | synonyms

2
votes
2answers
2k views

MySQL root user missing, fresh installation

I have a fresh installation of MySQL (5.0.75-0ubuntu10.5) which I installed using apt-get. During the setup I was prompted for my MySQL root password which I set. Ever since, I have tried logging in ...
4
votes
1answer
1k views

How can I use sed in /etc/apache2/sites-available?

I'm attempting to write a script that uses sed to copy the default file for apache and writes a new file, replacing /var/www ($DOC_ROOT below) with my own directory, $NEW_SITES_DIR. However, sed isn't ...
0
votes
1answer
2k views

Can't change owner/group to root:wheel on certain stubborn files

SOLVED: Turns out at one point while trying to copy files over to the thumb drive it must not have been mounted by OS X, and since I was root, it made the same mount point directory and copied into ...
6
votes
6answers
13k views

How can I find out which user logged in as root?

We have a couple of servers which are managed by a large group of admins. They usually log in as service users (say hudson) and then switch to root to make some small fix. This means we often can't ...
0
votes
7answers
26k views

How to change the root directory for a Linux user?

For a user on a Linux host, I need to make everything inaccessible besides his home directory. I have heard that this is usually done by changing the root directory for the user (and setting it to ...
1
vote
1answer
255 views

Sharing configuration (.*rc files) between a normal user account and root

On a Fedora Core box, I have a normal non-privileged user and I also have sole access to the root account. Because I am the only administrator of this box, I frequently su over to root for ...
1
vote
1answer
659 views

On Linux, is root privilege required to send a wake-on-lan magic packet?

On Linux, is root privilege required to send a wake-on-lan magic packet? If it depends on how you send the magic packet, please let me know under what situation root is required.
1
vote
1answer
908 views

Cannot change Ubuntu root password

I've tried to use this to change my Ubuntu 10.04 password sudo passwd The process goes fine, I type the new password and the get the message on successfull completion. However, nothing actually ...
1
vote
2answers
440 views

Cannot login as super user anymore

I have an issue with login as root with in ubuntu. I've mistakely assigning my user to a group as primary group and it is not anymore in sudoers. Consequently I cannot use "sudo" anymore. I tried to ...
1
vote
3answers
7k views

LINUX : How to Log in as Root (Ubuntu 10.04)

I want to use the whole operating system as an administrator. I know I can log in as a root in the Terminal by typing this: su Password But in this way I'm logged in only in the terminal. I want ...
0
votes
4answers
202 views

Problem with changing user to root

I tried to make my account root by editing etc/group: root:x:0:oneat daemon:x:1: bin:x:2: sys:x:3: adm:x:4:oneat ... But it didn't succeed. What can I do more?
2
votes
1answer
2k views

cron.weekly and cron.monthly run times

What day of the week does cron.weekly run on What day of the month does cron.monthly run on?
2
votes
5answers
1k views

How could my Ubuntu root password change without my knowledge and how do I regain control?

Lo and behold, I log into my machine today, as every day, su root and it doesn't accept my root password any more. How could that possibly happen, assuming I didn't sleepwalk over to my machine during ...
3
votes
2answers
6k views

Are root password changes logged?

Long story short, after a recent company "reorg" the root password on all of our servers was mysteriously changed. I need to figure out first how to regain root access, but second how to figure out ...
1
vote
1answer
1k views

Salix root password not accepted in terminal, is accepted in GUI boxes

When I click a program that requires root password, I enter it and it works. When I go to the terminal and need to do something that requires the password, it gets rejected. I've tried many ...
1
vote
3answers
4k views

Some programs unable to access C:\ drive root - Windows 7 x64

Yesterday I noticed Komodo Edit (32-bit) being unable to create new folders in the Open File dialog; I got a Windows shell "Access denied" message box with "C:\ is not accessible. Access is denied.". ...
0
votes
2answers
668 views

Used recursive chown on the root directory

I'm going to need some help restoring my ssh settings as I screwed everything up by calling this command: chown -R user / At the moment im not able to access the site through ssh/ftp since the ...
0
votes
2answers
164 views

How do we specify our configuration for vim without editing vimrc?

Since I am not the root user I cannot edit the /etc/vimrc file. I need to specify some vim parameters for my account. for example set number; how can i set these variables to my user account ...
5
votes
4answers
40k views

How to log in as root in linux shell?

How to login as root in linux shell?
13
votes
4answers
13k views

How do I make sudo ask for the root password?

When I run sudo as a normal unprivileged user, it asks for my password, not the root password. That's often convenient, but it reduces the amount of information someone would have to have in order to ...
5
votes
1answer
2k views

In Linux, is working as su the same as working as root?

I thought that using su as a regular user made you root temporarily, but encountered an issue where I get "bash: usermod: command not found" when I try to perform a usermod with su, whereas the ...
2
votes
2answers
2k views

Help with running crontab from root

I'm using Mac OS X and having trouble getting a cron job to run. I type the following: $ sudo -i $ crontab -e I then enter: * * * * * root ifconfig en0 down > /dev/null 0 19 * * * root ifconfig ...
14
votes
3answers
15k views

UNIX - mount: only root can do that

I need to allow a non-root user to mount/unmount a device. I am a total noob when it comes to UNIX, so please dumb it down for me. I've been looking all over teh interwebz to find an answer and it ...
0
votes
1answer
127 views

User account that is not allowed to edit one file on Ubuntu

I wanted to ask if it is possible to create a user account on Ubuntu so that it had all powers and rights of root account except it would be impossible to edit a certain file. What I intend to do is ...
4
votes
2answers
800 views

Modify root password on MacOS X

On a Mac I do not have the root password, but I have a user with administrative privileges. Can I use it to reset the root password? Thank's. MacOS X 10.6.3
8
votes
4answers
3k views

Concern over running WireShark as root

I started WireShark on my Ubuntu machine and discovered that there were no interfaces I could listen to. So I launched it as root. This gave me access to all the interfaces, but gave me a warning: ...
0
votes
0answers
517 views

How to add an item to the gnome menu that starts gedit as root?

I right clicked the gnome menu and clicked on "Edit menus" Then I clicked on "New item". Type: Application Name: gedit as root Command: gksudo gedit Comment: Launch gedit as root. When I click it,...
2
votes
3answers
3k views

I tried installing Ubuntu 10.04 and I got this message - any ideas on what to do? [duplicate]

Possible Duplicate: I tried installing Ubuntu 10.04 and I got this message - any ideas on what to do? No root file system defined. Please correct this from the partition menu. This message ...
1
vote
1answer
608 views

How to set the subversion repository root in Debian?

I have just switched from an old Fedora Core server to Debian Linux v5.0.4. Having migrated the old repository and configured access through svn+ssh, I now want to be able to access the repository ...
0
votes
2answers
559 views

Error activating XKB configuration (Ubuntu 9.10)?

I'm absolutely new on Ubuntu. I was gonna learn Ubuntu, so I installed VMware 7.0.1 build-227600 on my Win7 x64, afterward I've installed Ubuntu 9.10 on it as a Virtual Machine. I just enabled root ...
3
votes
1answer
2k views

CentOS, sudo Doesn't Accept root Password, but Logging in as root Works

I am new to Linux and I have CentOS running on a dual boot system. I was trying to edit a file requiring root permissions, so I used sudo. I typed the root password and it failed. This happened ...
3
votes
1answer
310 views

Why is the reported user “root” when a “normal user” executes “ps ux” on OS X? Is this normal behaviour?

I am running OS X 10.6.1 . When i am logged in as a normal user of group staff and do a ps ux it lists my ps ux command as being run by root: snies 181 0.0 0.3 2774328 12500 ?? S 6:...
0
votes
3answers
12k views

Root directory permissions on Mac OS X 10.6?

I was wondering if it's normal that the root directory / should be owned by “root”. I get asked for my password every time I want to do something there (e.g. save a file, create a directory) and I don'...
3
votes
2answers
3k views

What is the default root password for DSLinux?

What's the default root password in DSLinux, or in any Linux distribution? I didn't set it.
22
votes
8answers
130k views

User not in the sudoers file. This incident will be reported

I need to install a package. For that I need root access. However the system says that I am not in sudoers file. When trying to edit one, it complains alike! How am I supposed to add myself to the ...
1
vote
3answers
28k views

Need some help with Terminal Emulator (Android app) commands. (Similar to Linux commands)

I'm trying to follow this tutorial to install Mobile Defense as a system application on my Motorola Droid. I want to use Terminal Emulator and the commands are basically the same. The only two ...
4
votes
1answer
2k views

Unset the system immutable bit in Mac OS X

In theory I believe you can unlock and remove the system immutable bit with: chflags noschg /Path/To/File But how can you do this when you've set the bit as root? I have a file that is locked, and ...
0
votes
7answers
2k views

How to enable Ubuntu 9.10 root login?

How can root login be enabled in Ubuntu 9.10?
1
vote
3answers
6k views

root directory - www or public_html

Is the root directory where all files are kept (directly from accessing from FTP) always "www" or "public_html" depending on what OS? Or is it possible to rename this folder? And if so, what would be ...
15
votes
4answers
14k views

removing write permission does not prevent root from writing to the file

I just noticed on my Ubuntu machine (ext3 filesystem) that removing write permissions from a file does not keep root from writing to it. Is this a general rule of UNIX file permissions? Or specific ...
5
votes
2answers
3k views

Specify root dir inside tarball

Is there a way to execute tar cjvf foo.tar.bz2 project-root Such that when the tarball is extracted, it doesn't extract to project-root, but instead extracts to something else? i.e. tar xjvf foo....
0
votes
1answer
876 views

GUI root in Linux

I'm using the newest Kubuntu, is there a way to have root privilages in the GUI? I don't like have to use the terminal, bacome root then use commands like cp, mv ,ln just to put something in a folder ...
2
votes
2answers
2k views

Lost shell password: change user password from root

I recently accidentally forgot my user password to my shell. I know the root password. How do I change the user password? I figure it's something like $su root $passwd -[something] username but ...
0
votes
3answers
5k views

Ubuntu error “Gave up waiting for root device” on 9.10 Netbook Remix

So I installed Ubuntu Netbook Remix 9.10 onto my Asus EeePC 1008HA netbook. It worked perfectly and was pretty quick. Restarting, suspending and hibernating worked just fine but the very first time I ...
2
votes
3answers
2k views

Why can't Unix users renice downwards?

I know that non-root users can renice a process up, but not renice a process priority down. $ nice yes >/dev/null & p=$! $ renice 15 -p $p 8414: old priority 10, new priority 15 $ renice 12 -...
3
votes
2answers
3k views

Ubuntu: Accidentally changed root user to nonexistent shell

I tried to change my user's shell, but used "sudo chsh", and changed the root shell to "bash" instead of "/bin/bash". Now when I try to change it I get "chsh: PAM authentication failed" and it seems ...
12
votes
3answers
14k views

How can I install DropBox without root privileges?

Is it possible to install Dropbox without root privileges in Linux? I've tried to install it at my university, using the sources found here, but I seem to need to enter the root password (which of ...
2
votes
3answers
6k views

root can't write or modify /bin, /usr/bin, /sbin, /usr/sbin

On a debian system, I'm logged in as root. I cannot create any files in /bin, /usr/bin, /sbin or /usr/sbin. I can create files in /, /usr, /usr/local, /usr/share, etc, etc. All these directories ...
2
votes
6answers
1k views

How do I create a new user account on an Ubuntu Hardy server?

logged in as root, environmental variables are great. I typed "set" I did: useradd -m alex su alex For some reason, everything is gone when I type "set". How do I make it so that alex has all the ...
170
votes
7answers
162k views

chown is not changing symbolic link

I'm trying to change the user/group of a symbolic link with the command: $ chown -h myuser:mygroup mysymbolic/ But it's not changing. I'm logged in as root. The current user/group is set to root:...