useradd: ERROR: Path must not start with '/home/'.


 
Thread Tools Search this Thread
Operating Systems Solaris useradd: ERROR: Path must not start with '/home/'.
# 1  
Old 12-03-2011
useradd: ERROR: Path must not start with '/home/'.

root@solaris11express:/home# useradd -d /home/oracle oracle

UX: useradd: ERROR: Path must not start with '/home/'.

and the user oracle is not being created...
# 2  
Old 12-03-2011
Home directories in Solaris are under /export/home. Use:
Code:
useradd -d /export/home/oracle oracle

# 3  
Old 12-21-2011
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Migrate /export/home from storage path to local

I am newbies in solaris, hope u guys can help me, I need to transfer /export/home directory that currently mount at storage and migrate into local disk. may i know the best way to do it? Thanks (6 Replies)
Discussion started by: Deeo
6 Replies

2. OS X (Apple)

Compiling fails due to space in path to home folder

I seem to have issues compiling software and I think I've narrowed it down to something having to do with having a space in the path name to my Home folder (which contains "Macintosh HD"). The reason I think this is shown here: $ echo $HOME /Volumes/Macintosh HD/Users/Tom $ cd $HOME -sh:... (7 Replies)
Discussion started by: tdgrant1
7 Replies

3. Solaris

Error in useradd cmd

Thanks to explain how to resolve this error: useradd -d /export/home/kish -m -s /bin/ksh -c "kkalyan" UX: useradd: ERROR: invalid syntax. usage: useradd | -g group | -G group...] | -d dir | -s shell | -c comment | -m | -f inactive | -e expire | -A... (4 Replies)
Discussion started by: kkalyan
4 Replies

4. UNIX for Dummies Questions & Answers

useradd on bash gives me error

Hi everyone, On executing the following command i always get this error >useradd -c 'none' -s # -u 5001 -f 100 -m -g 'wheel' -d /home/phildpop useradd: option requires an argument -- s Try `useradd --help' or `useradd --usage' for more information. (1 Reply)
Discussion started by: phildpop
1 Replies

5. Shell Programming and Scripting

Setting path for a stand alone library in home directory

Hi all, This is probably a basic question. I had installed a stand-alone library called szip in my home directory, as I don't have the necessary root permission. I tried to set an environment for both include and lib files in my .cshrc script as setenv /home/szip/lib setenv... (3 Replies)
Discussion started by: alamcheril
3 Replies

6. UNIX for Dummies Questions & Answers

home directories not being created by useradd

greetings. I'm using debian lenny, bash shell environment. It is my understanding that by default, the useradd command should create subdirectories under the /home directory, with the same name as the user being created, but this is not happening. I checked useradd -D and it showed, among... (2 Replies)
Discussion started by: fguy
2 Replies

7. UNIX for Dummies Questions & Answers

echo $PATH doesn't match $HOME/.profile

This is on a Solaris 9 box, but I feel like a noob, so I am posting here. When I echo $PATH I get a lot of duplicate paths and extra stuff I don't need. What I want is just what I set up in my home dir under .profile My login shell=/bin/bash I checked the following and there are no path... (1 Reply)
Discussion started by: Veestan
1 Replies

8. UNIX for Advanced & Expert Users

Useradd Error

Seems that I'm having issues adding a user on our AIX Version 5.1 server. When I added the user dh I get the following error: # useradd dh 3004-721 Could not create user. 3004-703 Check "/usr/lib/security/mkuser.sys" file. 3004-687 User "dh" does not exist. The /etc/passwd gets the... (1 Reply)
Discussion started by: Nico
1 Replies

9. UNIX for Dummies Questions & Answers

I need a path to install UNIX on my home PC

I have searched through the FAQ's and other posts on this board but haven't found what I need. I need to help installing UNIX on my home PC, then help on how to use it. I also want to learn how to program in UNIX / C. See? I don't even know any lingo. I am fairly experienced in mainframe... (6 Replies)
Discussion started by: chutt
6 Replies

10. UNIX for Dummies Questions & Answers

home directory in search path

Is it unsafe to put your own home directory (a regular user) in your search path? I am writing useful shell scripts, but don't have the permissions to put them in /usr/bin. (Korn shell) thanks (2 Replies)
Discussion started by: jpprial
2 Replies
Login or Register to Ask a Question