change directory path


 
Thread Tools Search this Thread
Operating Systems HP-UX change directory path
# 1  
Old 06-23-2010
change directory path

Hi,

when ever i login my unix system it is going to root directory....how can i change it specified directory..
# 2  
Old 06-23-2010
Do you get any error messages when you login? I am curious if the home directory exists.
# 3  
Old 06-23-2010
no error messages....
but i can see in passwd file in etc directory

it showing
Code:
menezea:x:702250551:1:GC652378:/home/menezea:/bin/ksh

but /home/menezea is not there..is it cause of problem for this?

---------- Post updated at 09:10 AM ---------- Previous update was at 08:05 AM ----------

please suggest me on this....

Last edited by pludi; 06-23-2010 at 10:11 AM.. Reason: code tags, clean-up
# 4  
Old 06-27-2010
How did you create the user ?

Quote:
Originally Posted by rsivasan
no error messages....
but i can see in passwd file in etc directory

it showing
Code:
menezea:x:702250551:1:GC652378:/home/menezea:/bin/ksh

but /home/menezea is not there..is it cause of problem for this?

---------- Post updated at 09:10 AM ---------- Previous update was at 08:05 AM ----------

please suggest me on this....
Hello,
if you create users with SAM, the option "create users homedir" should be enabled.

Regards
This User Gave Thanks to bdittmar For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

What is the difference ../directory path and ./directory path in ksh?

What is the difference ../directory path and ./directory path in ksh? (1 Reply)
Discussion started by: TestKing
1 Replies

2. UNIX for Beginners Questions & Answers

Convert Relative path to Absolute path, without changing directory to the file location.

Hello, I am creating a file with all the source folders included in my git branch, when i grep for the used source, i found source included as relative path instead of absolute path, how can convert relative path to absolute path without changing directory to that folder and using readlink -f ? ... (4 Replies)
Discussion started by: Sekhar419
4 Replies

3. UNIX for Dummies Questions & Answers

Extract directory name from the full directory path in UNIX using shell scripting

My input is as below : /splunk/scrubbed/rebate/IFIND.REBTE.WROC.txt /splunk/scrubbed/rebate/IFIND.REBTE.WROC.txt /splunk/scrubbed/loyal/IFIND.HELLO.WROC.txt /splunk/scrubbed/triumph/ifind.triumph.txt From the above input I want to extract the file names only . Basically I want to... (5 Replies)
Discussion started by: IshuGupta
5 Replies

4. Shell Programming and Scripting

Change to directory and search some file in that directory in single command

I am trying to do the following task : export ENV=aaa export ENV_PATH=$(cd /apps | ls | grep $ENV) However, it's not working. What's the way to change to directory and search some file in that directory in single command Please help. (2 Replies)
Discussion started by: saurau
2 Replies

5. SuSE

change PATH problem

Hi, I want to add a path to PATH. I added export PATH=$PATH:$HOME/newpath in the ~.profile. I exit the shell and reenter shell. After I type echo $PATH. The new path is not added. I don't know why. Can someone give advice? Thanks! (3 Replies)
Discussion started by: jianma
3 Replies

6. Shell Programming and Scripting

How to change Absolute path to Relative path

Hello, I have a doubt:- --------------------- Current script:- ################################################################################################ prefix=user@my-server: find . -depth -type d -name .git -printf '%h\0' | while read -d "" path ; do ( cd "$path" || exit $?... (4 Replies)
Discussion started by: sahil_jammu
4 Replies

7. Shell Programming and Scripting

how can i change my PATH

1. that you are calling the POSIX UNIX commands located under /usr/xpg4/bin instead of those under /usr/bin 2. that you can run programs from the current directory 3. that your scripts located in the bin directory under your HOME directory can be found and executed from any... (1 Reply)
Discussion started by: vpatel44
1 Replies

8. Shell Programming and Scripting

Retrieve directory path from full file path through sh

Hi, I have a file abcd.txt which has contents in the form of full path file names i.e. $home> vi abcd.txt /a/b/c/r1.txt /q/w/e/r2.txt /z/x/c/r3.txt Now I want to retrieve only the directory path name for each row i.e /a/b/c/ /q/w/e/ How to get the same through shell script?... (7 Replies)
Discussion started by: royzlife
7 Replies

9. Solaris

How to permanatly change PATH

I used set PATH$ but that worked until I closed Terminal , now qouestion is how to put this in... (7 Replies)
Discussion started by: microbot
7 Replies

10. UNIX for Advanced & Expert Users

Change Default Path ?

Dear All When i am telnet' ing to some IP, after logging in, i am into some default path.I want to specify "custom path" , that is after logging in , when i do pwd it should be custom path.For this where i have to change the setting or edit the path already specified. I am having... (4 Replies)
Discussion started by: tkbharani
4 Replies
Login or Register to Ask a Question