Log in

No account? Create an account
Linux Community's Journal
[Most Recent Entries] [Calendar View] [Friends View]

Sunday, December 5th, 2004

Time Event
Problem creating directories in /home/
On my LAN at home, I've got one machine that's been running as a dedicated file server. I want to do a few more things on it, some of which require setting up more user accounts.

On trying to add a new user, this happened:

[root@chobits] # adduser fred
adduser: cannot create directory /home/fred

So I navigated to /home/

[root@chobits home] # ls -l
[root@chobits home] #

That means that /home/ is empty. So I tried creating a directory

[root@chobits home] # mkdir fred
mkdir: Cannot create directory `fred': No medium found

Google searches drew a blank (apart from 10,000,000 pages that say to mount the disk... but this is on the same disk as the kernal. Also, I can create directories and files outside /home/ with no problems whatsoever, so I'm pretty sire that the disk is mounted).

The server uses Mandrake 10.0 community, but it's been updated using the MandrakeUpdate command (using an X server running on a Windows-based PC) so it's got all the latest bugfixes, security updates, etc. The last update was last Thursday.

Users home directories are on a separate hard disk, which is mounted fine. That was the solution my friend who helped set the machine up came up with (he knows less Linux than me, and that's saying a lot), so the problem's been there for quite a while. I could leave it like that, but I want the home directories to be in the "right" place, where Linux for Dummies says they should be.

Can anybody help me out here?
Problem solved!
I just want to say thanks to everyone (but especially zambarra) who replied to the post about my problem with creating directories in /home

I've been in tech. communities where people would, at best, post "RTFM!" when faced with such a problem. But thanks to your comments, I've fixed the problem (by manually editing /etc/fstab and rebooting the machine). Also I've learned a bit mroe about Linux filesystems than I knew a couple of hours ago.

Thanks again guys!

Current Mood: accomplished
I'm thinking it'd be fun to set up a small web server for media and what not on an old machine I'm not using.
So I'm wondering if anyone can point me in the direction of a good, fairly easy tutorial on this.
Hi all. Recently, one of the systems I manage was compromised by one of the x-admins who happened to know the current root password. No real damage was done, except for him changing the
password and me arguing over it with him a bit. Eventually, things have been resolved and the password changed. My question is...This system is currently running RH-9.0. I had disabled
password authentication before the compromise, and reverted to use Pubkey authentication. I tested to make sure everything was working, and as a result I got the resulting error that one gets
when trying to login without a private key present in .ssh. Even still, the compromise occured and I saw him logged in as root according to /var/log/utmp. The system is also running quite an
old Openssh (3.4P1 to be exact). In sshd_config, only Ssh2 is set to be used. Does anyone know how he could have possibly logged in? I'm thinking some known/unknown exploit that bipassed
Pubkey entirely, and prompted for a password instead. Any other ideas anyone can think of perhaps? Thanks!

<< Previous Day 2004/12/05
Next Day >>
About LiveJournal.com