LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 09-02-2005, 07:42 AM   #1
reply2vinay
Member
 
Registered: Jul 2005
Posts: 42

Rep: Reputation: 15
How can change user profile directory


Hai all,
I created user and given the path -d /opt/....
After creating the user i want to change the user directory path iam given this command
usermod -g -d /home/......

command is successfully excuting
but after logging the user giving some error...
 
Old 09-02-2005, 07:51 AM   #2
nixcraft
Member
 
Registered: Nov 2004
Location: BIOS
Distribution: RHEL3.0, FreeBSD 5.x, Debian 3.x, Soaris x86 v10
Posts: 379

Rep: Reputation: 30
Have you used -m option while using useradd command?
 
Old 09-02-2005, 07:59 AM   #3
reply2vinay
Member
 
Registered: Jul 2005
Posts: 42

Original Poster
Rep: Reputation: 15
no

No i dont't know that command pls tell me how to use.....

I want to change the directory of exicting user..
 
Old 09-02-2005, 08:33 AM   #4
reply2vinay
Member
 
Registered: Jul 2005
Posts: 42

Original Poster
Rep: Reputation: 15
My Problem Solved

Iam not changing the ownership of that directory....
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Load kde profile from /mnt/removable/user instead of /home/user preacher.ca Linux - General 3 12-02-2005 03:00 PM
change profile to show current directory jpolachak Linux - Newbie 2 01-20-2005 07:36 PM
How do I change my profile? corbis_demon LQ Suggestions & Feedback 2 10-07-2004 03:35 PM
Letting normal user change apache directory nivek7 Linux - General 9 05-04-2004 06:58 PM
WindowMaker Profile Change - Root to User SML Linux - Newbie 1 03-16-2004 03:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 01:42 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration