Can I enable quota management in root(/)?
location: linuxquestions.com - date: September 16, 2003
I have RedHat 9.0 installed on my Linux machine and I want to enable the quota management feature on the root(/) partition. I read some Linux admin book and here's what I have done:
1. Add the "usrquota" optioin in the /etc/fstab file for the root(/) partition.
2. cd /
3. touch quota.user
4. chmod 600 quota.user
Then, as I do "quotacheck -v /", the following error message is displayed:
quotacheck: WARNING - Quotafile //quota.user was probably truncated. Can't save quota settings...
quotacheck: Cannot remount filesystem mounted on / read-only so counted values might not be right.
Please stop all programs writing to filesystem or use -m to force checking.
As I try to do a "convertquota /", it says
convertquota: Quota filenot found or has wrong format.
convertquota: Can't open old format file for users on /
My question is: is it possible for me to enable quota management on the root(/) partition? If it is, what's the prope
How can I change Tomcat6 root directory in Ubuntu server 9.10 ?
location: ubuntuforums.com - date: January 7, 2010
Hello,all ! 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 ).Does anybody know how to do it ? Thank you !
Can't Login to root.
location: ubuntuforums.com - date: June 12, 2013
I just installed Ubuntu Desktop 13.04 on to my laptop. The problem is that neither can I access my account, I can't gain root access. I have tried to change the password of my account and root but it has failed. Thanks, seedeh.
ubuntu, I can no longer become root or have root rights
location: linuxquestions.com - date: March 16, 2005
I installed ubuntu without ever being asked for a root password (afaik).
I created a user named t with password xxx.
I logged onto the system.
I was able to start a "root terminal" specifying t's password xxx.
I could never start a terminal and do a "su".
I used visudo to add t to the sudo users.
I changed the userid t to ts and the password from xxx to yyy.
- Now I can't start a root terminal - it says "child process failed -1".
- I can't sudo because the user t changed to ts and is no longer in the sudoers file.
- I can't "su root" from a terminal window - password fail with both password xxx and yyy.
I need root rights - and I am the only user of the machine, can anyone see a solution ?
The system is Ubuntu with Gnome.
[SOLVED] Can I login into root account in Ubuntu?
location: linuxquestions.com - date: July 20, 2012
Needless to say I am a total newbie on Linux/*NIX platform. After trying a number of distros, finally chose to stick to Ubuntu (12.04 TLS).
My question is: Can I login into the root account? Y'know, I don't want to actually do it, but it seems some tweaks which need to be system-wide (e.g. MS font families installation, editing yum.config file etc.) requires a root login. I can, FYI, get root access (sudo and su) and also set the root password. But I want to be in the account to get unlimited access.
Please help. Thanks in advance.
Enable SSH as root on LAN only + other questions
location: ubuntuforums.com - date: February 2, 2012
Hi! This is not Ubuntu, but ClearOS. I run ClearOS as a gateway server and I have a few questions about security that I hope that I can get help with.
1. I have changed the default SSH port for security reasons (I know that a port scan will show the SSH port, but it's always something.) Now I want to enable SSH as root ONLY on my local LAN and not from the internet. How would I do that?
2. I have another user for myself, ericus, that I run screen + irssi from, and also connect via SSH (SFTP) to add and copy files. But, that user is allowed to become superuser via su -i. How do I disable that?
3. On my normal user, ericus, how do I root that user to /home/ericus? I don't want that user to browse outside of it's home-folder. How do I chroot that user (and disable su as in question number 2)?
This is the things I'd like to fix before enabling SSH on the external network.
Any help would be greatly appreciated. Please do explain as easily as possible since I am a pretty novive
How to enable quota on linux fedora
location: linuxquestions.com - date: March 23, 2008
How can i enable the quota on ?
I see that only 0.2M are used and I have up to 10G.
Can anyone help me ?
Why does "su" reject my password if I can log in as root? wtf?
location: linuxquestions.com - date: December 20, 2006
Just this morning I ssh'd into my gentoo box as my regular user. After I ran "su" to get root access, it said "Authentication failure. Sorry." After retrying my password double-checking that it was correct, I was stumped.
But, I can just go to the machine and log in locally as root, with the same password, and everything works fine? So I'm confused.
My regular user is a member of the wheel group.
My root password has not changed.
I can log in as root from a local terminal.
I can log in as root over ssh (after changing my config file for sshd to initally block root logging in) now.
But if I log in as my regular user and "su" the password fails.
Any tips as to what's going on?
[Iron cannot be run as root] but [You can run iron as root]
location: linuxquestions.com - date: April 6, 2013
[Iron cannot be run as root] but [You can run iron as root]
Dear novice friends,
On Debian-6: In the case you like "iron" browser, but found it refuse to start up if you are playing as root user. You can do a little hack with "hexedit". Debian-6 does not install "hexedit" by default so you need to download and install it using "synaptic package manager". I cannot remember where I found this hack but I can remember how to do it.
Go into directory where the "iron" binary file is on a root console, and:
1) hexedit ./iron (press Enter....This load the iron on hexedit.)
2) Then press: Tab (....This shall send cursor to ascii column on the right side.)
3) Then press: Ctrl + s (....This to start search function.)
4) Then type in a search parameter: "euid" ((without the quote) and press Enter. This shall get the cursor to the highlighted "euid".)
5) Then you just type: "ppid" ((w
No Users Can Log In; Only Root Can
location: linuxquestions.com - date: September 23, 2006
Can't Log In to Linux
I have Fedora Core 5 and at some point in the past few weeks something has changed, to the effect that normal users cannot log in.
(Possibly, something done by a yum update caused this; I was chasing another problem at the time* and cannot be more specific about the source of the trouble.)
I found a detailed discussion on Tech Republic but no resolution to that person's problems. My symptoms are identical:
Root can log it both on GUI or command line. No user other than root can log in.
On a GUI log in attempt, an "Authentication failed" error box pops up. On command line, the error message "Error in service module" appears, very briefly, and the command line interface clears to the next log in attempt.
Interestingly, at the command line the response differs for a valid verus and invalid password attempt:
For the username's valid password, the "Error in service module" appears briefly then the login screen resets to a fir
Page: 1 2 3 4 5 6 7 8 9 10