Ubuntu :: How To Go For ROOT Directory

Jul 12, 2010

I installed Ubuntu by Selecting "Install inside windows" options.

Now by default when I login, and goto Terminal, it will be:

nani@ubuntu:~$

I want to go to Roor directory. What is the command for that?

View 9 Replies


ADVERTISEMENT

Ubuntu :: Root User Directory Does Not Exist, Root Password Not Recognised?

Oct 26, 2010

I no longer have access to my root desktop. On a session I attempted to change the root username but i apparently assigned it a wrong directory that does not exist. When I rebooted with my new root username, i was instead recognised as a simple user (no root privileges). I tried the console to change to "old" root but root password is not accepted and there is no way to access to sudoer files. it seems that inserting a new username requires root privileges and i am back to square one. Simply logging with old root username and password after restart gives me a blank screen with nothing on it and cannot even reboot.

View 9 Replies View Related

Security :: Secure FTP - Root Privileges After Logging In Form A Macintosh And Could Browse The Root Directory

Apr 12, 2010

I run ProFTPd with TLS authentication on my Debian Lenny server. My problem is that despite of the fact that my users connect chrooted, one of my friends had root privileges after logging in form a Macintosh and could browse the root directory, too.

View 1 Replies View Related

General :: Installing As Non-root In A Root Owned Directory

Mar 8, 2011

I have a machine which has only /opt with some decent amount of space where I can install a software. /opt belongs to root:root. The software I want to install cannot be installed as root user.

So lets say I create a directory called /opt/install1 and then chown -R install1 to belong to user1. And now I install the software under /opt/install1 with user as user1.

Is this a best practice violation? There could potentially be just /opt/install1 belong to user1 and in future everything else created under /opt belonging to root..

View 2 Replies View Related

Ubuntu :: How To Put Index.php In Root Directory

Jul 27, 2010

How do I put index.php in my root directory, since I think because of a missing index.php or index.html, I am getting a forbidden 403 error.

View 1 Replies View Related

Ubuntu :: Links In Root Directory ?

Oct 3, 2010

Code:

The lines highlighted in red are symbolic links to the boot files. Yet, they are not used and, if deleted, the system still works.

Anyone know why they are there? Is it a leftover from Linux days gone by, or does SOMETHING use them?

View 2 Replies View Related

Ubuntu :: .Trash Folder In The /root Directory?

Feb 26, 2010

.Trash folder in the /root directory. If I'm using gksudo nautilus, where can i access this cause It may have trash I can delete. (Trying to free up space , and I already used wacktomack's guide)

View 3 Replies View Related

Ubuntu Servers :: Change Tomcat6 Root Directory In 9.10?

Jan 6, 2010

I have newly installed Ubuntu server 9.10 in my server machine.And it has tomcat6 in itself.My friend have built a Java software in Fedora ,and he wants to move it to the new server.But problem is the directory structure is different between two systems.He has to either change his directory setting in his software or change the default tomcat6 ROOT directory. But I have not find any configuration file can do this job(change the tomcat default ROOT directory ).

View 3 Replies View Related

Ubuntu Security :: Hidden Folders In Root Directory?

Jan 27, 2010

What, if any, significance is there to the following message shown in the rkhunter.log?

Code:

[21:11:58] Checking for hidden files and directories [ Warning ]
[21:11:58] Warning: Hidden directory found: /etc/.java
[21:11:58] Warning: Hidden directory found: /dev/.udev
[21:11:58] Warning: Hidden directory found: /dev/.initramfs

What need would there be for hidden directories to exist in /?

View 3 Replies View Related

Ubuntu :: Terminal Starts In Root Directory Instead Of Home?

May 2, 2010

After upgrading to Lucid, gnome-terminal and xterm both start in the root directory (/); I'd like for them to start in my home directory instead. I had added "cd /home/myname" to the end of .bashrc, and this worked well as a temporary fix, but was never necessary in Karmic. Furthermore, modifying .bashrc in this way renders Nautilus' "Open in Terminal" menu item useless, as it still opens the home directory instead of the folder Nautilus was viewing.

View 9 Replies View Related

Ubuntu :: Checking If File In /root Directory Exists?

Jun 6, 2010

I want to create a file in the /root directory and then make sure it exists. The following code keeps telling me that the file doesn't exist even though it does.

Code:
#!/bin/bash
echo -e "username=someusername
passwordsomepassword" | sudo tee /root/.credentials
if [ -e /root/.credentials ]; then
echo "File exists!"

[Code]...

[Edit] Added second double quotation mark at the end of "somepassword"

View 5 Replies View Related

Ubuntu Servers :: Increase Size Of Root Directory?

Sep 27, 2010

Is it possible to increase the size of the root directory / on ubuntu 9.10?

View 5 Replies View Related

Ubuntu :: UNR 10.10 - Change To The Root Directory In The Files And Folders?

Oct 13, 2010

I've been using Ubuntu for over 5 years. This time I decided to upgrade UNR to the latest 10.10. I am now running it from USB to try it before installing. Excuse my ignorance, but whatever happened to the Terminal? I cannot find it anywhere! I think this release is not going in the right direction if one of the most important tools in Ubuntu is hidden from an average user.

Also, how do I change to the root directory in the files and folders? or at least to the higher directory structure.I won't be installing UNR 10.10 unless I figure out these BASIC things.

View 2 Replies View Related

Ubuntu Servers :: Apache/PHP Set Root Directory Of Website?

Nov 27, 2010

In my website, I'm putting shared files in a "/global" folder. Both "styles.css" and "library.php" are in this global folder. HTML code seems to be working ok - the following bit works great to pick up a style sheet:

Code:
<link rel="stylesheet" type="text/css" href="/global/styles.css" /> However PHP does not seem to understand my root directory. Using the following does not work:
Code:
include_once("/global/library.php");

I receive a "failed to open stream: No such file or directory" error.Spelling out the entire full path works, like so:

Code:
include_once("/srv/www/mysite/global/library.php");

But this type of code is no good as I may change servers in the future. I have my "DocumentRoot" set correctly in my sites-available file. It seems as if PHP is ignoring it. Is there a config file someplace (htaccess? Local php.ini?) where I should update my root directory for this site only? Or am I following bad form and there's a better way to do this? Relative paths don't seem like the answer here though...

View 5 Replies View Related

Ubuntu :: Sftp Sending Users To Root Directory?

Dec 3, 2010

I have an ftp server and normal login works fine as well as ftps but for some reason sftp sends all my accounts to the root directory of the entire server (not good). Been searching around but can't find a fix.

View 6 Replies View Related

Ubuntu :: Setting Home / Root And Swap Directory

May 15, 2011

I've set a side 80GB on a separate partition, I have 4GB of RAM. I know it will ask me to set /home /root and /swap. How much should I set each one to be with my partition size and RAM.

View 2 Replies View Related

Ubuntu Installation :: Reinstall Grub2 To Root Directory

May 17, 2011

I was dual booting Ubuntu and Windows, had to reinstall Windows, it wiped out grub, need to reinstall it now. Was following this: [URL]

Trying to reinstall grub with:
Code:
sudo grub-install --root-directory=/media/d566e91e-941f-4433-8dea-05d3bffb5669 /dev/sda6
Gives me the following error:
Code:
/usr/sbin/grub-setup: warn: Attempting to install GRUB to a partition instead of the MBR. This is a BAD idea..
/usr/sbin/grub-setup: warn: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are unreliable and their use is discouraged..
/usr/sbin/grub-setup: error: if you really want blocklists, use --force.
*edit more info* Ubuntu is installed on /dev/sda6 on a 50GB partition.

Code:
Device Boot Start End Blocks Id System
/dev/sda1 26 56830 456280064 7 HPFS/NTFS
/dev/sda2 * 56830 56843 102400 7 HPFS/NTFS
/dev/sda3 56843 70981 113561600 7 HPFS/NTFS
/dev/sda4 70981 77826 54979585 5 Extended
/dev/sda5 77096 77826 5859328 82 Linux swap / Solaris
/dev/sda6 70981 77096 49120256 83 Linux

Partition table entries are not in disk order So, I didn't want to do anything and screw things up. I want to boot with grub and not MBR. What should I do?

View 6 Replies View Related

Fedora :: Get Root Privileges In Www Directory?

Sep 21, 2010

Tell me how I can I login as root?I want to get root privileges in www directory because I have a web server and I want to put there my site and I can not do that

View 6 Replies View Related

Fedora :: No Space In Root Directory

Nov 25, 2010

I am using fedora 12. I got "no space in root directory" warning from the system. When I went through it, I found many of the space has been occupied by /var/log/httpd/error-log file. So I just deleted the file but when I check the space with "df -h" command. It shows 0% availability. The same problem occurred before but it solved when I restarted the system. But how to regain the space without restarting the system?

View 5 Replies View Related

Fedora :: Cannot Change Directory To Root

Dec 25, 2010

Yesterday I installed Fedora 14 on my computer. I was able to log in as root on a terminal fine until this morning. Now when I log in I get this:

Code:
[Silverback@Vanessa ~]$ su -
Password:
su: warning: cannot change directory to /root: No such file or directory
-bash-4.1#

I haven't deleted any files, so I have no idea how to fix this.

View 4 Replies View Related

OpenSUSE :: Extracting From Tar To Root Directory?

Sep 12, 2010

I have a little problem extracting or making any files in root directory.I'd like to extract invoicing software to /opt and /usr directory and run the software from there. It's possible only as root

View 9 Replies View Related

General :: How Does Kernel Know The Root Directory

Mar 26, 2010

how the kernel knows the root directory. For example, in grub menu.lst file we specify root=/dev/hda1. This tells the kernel to find mount the root directory from /dev/hda1. But to read /dev/had1 it should first know where is '/' . I couldn't understand how this is being done.

View 3 Replies View Related

Red Hat / Fedora :: Where Is The Directory That The Root Trash Goes To

Feb 8, 2010

I deleted a bunch of things with root (old home folders) but now I can't empty the trash....where is the directory that the root trash goes to? I'll do a terminal delete from there but I can't seem to find it.

View 8 Replies View Related

General :: How Does Kernel Know The Root Directory?

Mar 25, 2010

How the kernel knows the root directory. For example, in grub menu.lst file we specify root=/dev/hda1. This tells the kernel to find mount the root directory from /dev/hda1. But to read /dev/had1 it should first know where is '/' . I couldn't understand how this is being done.

View 5 Replies View Related

General :: No Space In Root Directory ?

Nov 25, 2010

I am using fedora 12. i got "no space in root directory" warning from the system..when i went through it, i found many of the space has been occupied by /var/log/httpd/error-log file. so i just deleted the file..but when i check the space with "df -h" command.it shows 0% availability..the same problem occured before...but it solved when i restarted the system..but how to regain the space wihtout restarting the system?

View 7 Replies View Related

General :: Root Directory 100 Percent Used?

Dec 31, 2010

I have assigned 4G for my "/" directory, on slacware 10.2, and have not installed the GUI either. I am not sure what files to look for that have been growing over time that has completely depleted my space. Think it would be log files, but don't know where to find them.

View 10 Replies View Related

General :: Parent Directory For Root In F13?

Jul 28, 2010

I am using fedora 13. When I list the root directory with the command: 'ls -la'. I see the parent directory symbol as '..' So, which is the parent directory for root directory?

View 2 Replies View Related

Server :: Mod_rewrite .php And _ To / In Root Directory Only

Jan 22, 2010

I would like to use mod_rewrite to rewrite all instances of .php and _ in file names in the root directory

So far I have:

But this throws out error 500. Could someone correct my code?

View 1 Replies View Related

Server :: Root Inode Is Not A Directory?

Nov 25, 2010

The filesytem is (or was ) 500Gb ext3. We had a small electrical power failure yesterday, the server do not stop but the disk array (SCSI Raid 5 disk system) restarted. This morning, the filesystem was not available (I/O error) so I reboot the front end. The fsck failed with the message: root inode is not a directory There are nearly 400Gb of data on this filesystem. Any idea to solve the problem ? Google always point to a commercial software or windows software...

View 2 Replies View Related

Slackware :: Session_mm_apache2handler0.sem In Root Directory

Mar 12, 2011

I installed Slackware 13.37 and when i configured the LAMP, I now have a file session_mm_apache2handler0.sem in root(/) directory. I searched in the internet and found this:

[URL]

any way to fix it here in 13.37?

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved