LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 05-19-2006, 03:44 AM   #1
fredag
LQ Newbie
 
Registered: May 2006
Posts: 2

Rep: Reputation: 0
RHEL 4 can't create local user in /home


I canít create a new user home directory in /home.
I canít touch a file or make a directory in /home as root. What is wrong?
Iím using NIS (/export/home). But I want to create local users.
So what do I do to make this go away?


/fredag
 
Old 05-19-2006, 04:21 AM   #2
fredag
LQ Newbie
 
Registered: May 2006
Posts: 2

Original Poster
Rep: Reputation: 0
[root@lx004 /]# cd home
[root@lx004 home]# ls -la
total 8
drwxrwxrwx 2 root root 0 May 19 10:53 .
drwxr-xr-x 28 root root 4096 May 19 10:53 ..
[root@lx004 home]# who am i
root pts/1 May 19 10:55 (192.168.69.65:0.0)
[root@lx004 home]# mkdir test
mkdir: cannot create directory `test': Permission denied
[root@lx004 home]# touch test
touch: cannot touch `test': Permission denied


/fredag
 
Old 05-23-2006, 01:06 AM   #3
jackylau
LQ Newbie
 
Registered: May 2006
Location: China Beijing
Posts: 7

Rep: Reputation: 0
try run command:ls -l /
 
Old 05-23-2006, 08:34 PM   #4
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 10,170

Rep: Reputation: 2591Reputation: 2591Reputation: 2591Reputation: 2591Reputation: 2591Reputation: 2591Reputation: 2591Reputation: 2591Reputation: 2591Reputation: 2591Reputation: 2591
Is /home an NFS mount? If so, root permission don't necessarily work across mounts like that. See no_root_squash for more details.

--jeremy
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
vsFTPd local user can't create directories nuzzy Linux - Software 11 12-04-2011 10:45 PM
user home dir doesn't create when new user add dev_mohamed Linux - Software 3 01-12-2007 01:08 AM
create ftp user for vsftpd server without home directory cccc Linux - Networking 2 07-30-2005 06:32 AM
HELP! When I create a new user a home dir isn't created lynchpin9 Linux - General 5 01-18-2005 11:05 AM
adding a new user doesn't create a home directory abrakadabra Linux - General 6 08-09-2002 08:11 PM


All times are GMT -5. The time now is 05:20 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration