04-08-2008
Hi,
I forgot to mention, i would like to know how to incorporate it into a script..
I mean how to give input to $HOME so that depending upon the username the $HOME gives me the home dir...
I must also mention, i will not be running as root...
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi everybody,
How can I forbid a user to go up his home directory ?
Thanks
MarcoW (2 Replies)
Discussion started by: MarcoW
2 Replies
2. UNIX for Dummies Questions & Answers
The home directory for me on my system is on /home/kwon. It was created using "useradd kwon"
When i go to change the home directory for a user doing a usermod -d /home/test when they log on it gives them messages saying to generate new ssh keys, and it does. It gives me a thing that says... (1 Reply)
Discussion started by: BangYourWallnut
1 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I am running Solaris 10 and I am using the ftp server that comes with it. I would like to specify a specific directory as ftp user's home directory.
For example, if "ftpuserx" ftps into my solaris machine, they will automatically be taken to "/space/web" directory, even though there... (0 Replies)
Discussion started by: annointed3
0 Replies
4. Solaris
Hi,
I've created solaris user which has both FTP and SFTP Access. Using the "ftpaccess" configuration file options "guest-root" and "restricted-uid", i can restrict the user to a specific directory. But I'm unable to restrict the user when the user is logged in using SFTP.
The aim is to... (1 Reply)
Discussion started by: sftpuser
1 Replies
5. Red Hat
Hi,
By default user's home directory will be /home/$user.
I want to change it to /javauser/$user. How can I do it?
Thanks
Jeevan. (5 Replies)
Discussion started by: jredx
5 Replies
6. Solaris
Hello all,
I am Installing Oracle 11g on my Solaris OS.
I created the below oracle user:
# /usr/sbin/useradd -g oinstall -G dba oracle
but when i am trying to to su - oracle it give me the below error
No directory
Do i have to setup a home directory for oracle user? and how can i do... (1 Reply)
Discussion started by: beayni33
1 Replies
7. UNIX for Dummies Questions & Answers
I found this old closed thread:
I can do these things, but how to I change someone's profile - where do I find the profile? I'm running Centos 5.6
~~~~~~~~~
providing you have the password shell set to ksh,
you can put this in his .profile:
cd /opt/load
alias -x cd=: (6 Replies)
Discussion started by: jjj0923
6 Replies
8. UNIX for Dummies Questions & Answers
I am trying to create Oracle user. I will install oracle after that. But my problem is /home/oracle directory is not being created.
bash-3.2# useradd -g oinstall -G dba,oper -d /home/oracle -m oracle
cp: /home/oracle: Operation not applicable
chown: /home/oracle: No such file or directory
... (3 Replies)
Discussion started by: hubatuwang
3 Replies
9. Shell Programming and Scripting
Good Afternoon,
I'm trying userdel -r username on Solaris 9 and getting
UX: userdel: ERROR: unable to find status about home directory: No such file or directory
I see the user's home directory and getent passwd shows the user
Anybody know what's causing it? (2 Replies)
Discussion started by: Stellaman1977
2 Replies
10. Solaris
Hello,
I've just started using a Solaris machine with SunOS 5.10.
After the machine is turned on, I open a Console window and at the prompt, if I execute a pwd command, it tells me I'm at my home directory (someone configured "myuser" as default user after init).
... (2 Replies)
Discussion started by: egyassun
2 Replies
HOME(8) System Manager's Manual HOME(8)
NAME
home, 40meg, 80meg, personalize, update, Disclabel - administration for local file systems
SYNOPSIS
gnot/home
gnot/personalize
gnot/update
magnum/home
magnum/personalize
magnum/update
pc/40meg
pc/80meg
pc/personalize
pc/update
nextstation/home
nextstation/update
DESCRIPTION
These programs help maintain a file system on a local disk for a private machine.
Home partitions a disk, copies the appropriate kernel to the disk, and makes a new file system on the disk. To do this, it overwrites the
vendor-supplied software on the disk with a copy of Plan 9. 40meg, 80meg, and 100meg configure disks and make file systems for disks of
the appropriate size.
Update copies the current kernel to the disk and updates files on the local file system. It only updates those files put there by the home
program.
Personalize removes the contents of the /usr directory on the local disk and copies a minimal set of files for the user who runs the com-
mand.
The file /rc/bin/nextstation/Disclabel, despite its name, is not an rc(1) script. It contains the second stage bootstrap program for
Nextstations booting from local disk. Before booting a Plan 9 Nextstation from disk, it should be installed in the partition
/dev/hd1label; this is normally done by nexstation/home.
FILES
/lib/proto/portproto
Mkfs prototype files for magnum/home, magnum/update, gnot/home, and gnot/update.
/lib/proto/386proto
Mkfs prototype files for pc/40meg, pc/80meg, and pc/update.
SOURCE
/rc/bin/gnot/*
/rc/bin/magnum/*
/rc/bin/pc/*
/rc/bin/nextstation/*
SEE ALSO
kfs(4), mkfs(8), prep(8), wren(3)
``Installing the Plan 9 Distribution''.
HOME(8)