- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- useradd problem
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-29-2007 04:31 PM
тАО11-29-2007 04:31 PM
I have faced an unusual behaviour while creating a user on a HPUX box.
I tried creating user account through command line as well as sam, the user got created but it gave an error that "cannot create the home directory"
when i checked the home directory was created but the files contained in the home directory
is owned by some other non existing user...
See the output below....
# ls -alt /home/a128646
total 10
drwxr-xr-x 2 us06439 users 96 Nov 29 20:56 .
-r--r--r-- 1 us06439 users 832 Nov 29 20:56 .cshrc
-r--r--r-- 1 us06439 users 347 Nov 29 20:56 .exrc
-r--r--r-- 1 us06439 users 334 Nov 29 20:56 .login
-r--r--r-- 1 us06439 users 439 Nov 29 20:56 .profile
Regards
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-29-2007 04:33 PM
тАО11-29-2007 04:33 PM
Re: useradd problem
# ls -alt /home/a118014
total 16
-rw------- 1 126 users 1222 Nov 29 05:17 .sh_history
drwxr-xr-x 2 126 users 1024 Nov 6 20:03 .
-r--r--r-- 1 126 users 832 Oct 14 03:40 .cshrc
-r--r--r-- 1 126 users 347 Oct 14 03:40 .exrc
-r--r--r-- 1 126 users 334 Oct 14 03:40 .login
-r--r--r-- 1 126 users 439 Oct 14 03:40 .profile
the user 126 is not there in /etc/passwd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-29-2007 05:20 PM
тАО11-29-2007 05:20 PM
Re: useradd problem
delete these users and recreate using command line.Check etc/passwd file
post out the command.....
BR,
Kapil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-29-2007 05:27 PM
тАО11-29-2007 05:27 PM
Re: useradd problem
# userdel -r a128646
rm: .cshrc not removed. Permission denied
rm: .exrc not removed. Permission denied
rm: .login not removed. Permission denied
rm: .profile not removed. Permission denied
rm: directory /home/a128646 not removed. Permission denied
Cannot delete home directory
after recreating the same thing happenened
i used
userdel -m -d /home/a128646 -s /usr/bin/ksh -c "-----" a128646
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-29-2007 06:57 PM
тАО11-29-2007 06:57 PM
SolutionMark Syder (like the drink but spelt different)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-29-2007 07:07 PM
тАО11-29-2007 07:07 PM
Re: useradd problem
The /home directory was Network file system.
Regards