05-04-2010
In case you have something other than pam - maybe autodir will do...
Autodir HOWTO
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
How do I remove a directory named: $HOME
$ rm "$HOME"
rm: $HOME is a directory
$ rmdir "$HOME"
rmdir: directory "/home/bob": Directory is a mount point or in use (4 Replies)
Discussion started by: natter
4 Replies
2. HP-UX
Hello all,
Most of our users have the same home directory, I know it's weird but it has been like this before me and we don't want to change that for now. When creating a new user using command useradd, it is not allowing me to create it because it is using the home directory of someone else. I... (2 Replies)
Discussion started by: qfwfq
2 Replies
3. UNIX for Dummies Questions & Answers
I am little bit confused when the words "root directory" and "home directory" and "parent directory" are used. Can anybody explains the difference.
I am trying to list the names and protections levels and size of visible files in the root directory
would it be correct if I just typed:
ls... (2 Replies)
Discussion started by: hinman
2 Replies
4. Shell Programming and Scripting
when i have a file and directry starting with same letter and i do a ls it does a recursive ls..
example
output of ls -ltr
-rw-r--r-- 1 root system 0 Jul 16 15:26 a
drwxr-xr-x 2 root system 256 Jul 16 15:26 aa
drwxr-xr-x 2 root system 256... (2 Replies)
Discussion started by: pbsrinivas
2 Replies
5. Shell Programming and Scripting
Hi,
I want suggestion about user home directories, checking. how i could calculate this. I have 200 Users.
if home-dir-of-user1 > 250 MB -> print "OK"
fi
if home-dir-of-user1 > 500 MB > Print "Warning"
fi
if home-dir-of-user1 > 1000 MB > Print "Critical"
fi
Thanks,
Bash (4 Replies)
Discussion started by: learnbash
4 Replies
6. Solaris
Hi all
i am using solaris 10, i am creating user with
useradd -d/home/user -m -s /bin/sh user
user is created with in the following path
/export/home/user (auto mount)
i need the user to be created like this
(/home as default home directory )
useradd -d /home/user -m -s /bin/sh... (2 Replies)
Discussion started by: kalyankalyan
2 Replies
7. Shell Programming and Scripting
It is required to rename the home dir of some users specifed in the file ids.csv. But the code is not working as expected.
ids.csv have content in the format
id1,name,id2
It displays the expected message , still it is unable to rename the dirs
Find the code below:
#!/bin/ksh... (3 Replies)
Discussion started by: hiten.r.chauhan
3 Replies
8. Shell Programming and Scripting
Hi Guys ,
I want create files Dire and Sub Dire. as same time using variable.
EX:
x1="/hk/Pt/put/NC/R1.txt"
x2="/hk/pt/Put/Ot/NC/RN.txt"
And i want delete all after done with my script.
Thanks (2 Replies)
Discussion started by: pareshkp
2 Replies
9. Solaris
Hi ,
on my Solaris 10 machine user's home directory ownership is being changed automatically to their UID. can any one please tell me whats the reason behind it .
users are there in /etc/passwd file . /etc/shadow file is also there along with nssswitch.conf file and there is no changes made to... (5 Replies)
Discussion started by: usernew
5 Replies
10. HP-UX
Hi all
I wanted to change the home dir for a user, but when using smh :
SMH->Accounts for Users and Groups->Local Users->Modify User
----------------------------------------------------------------------------------------------------------------------------------------------
* Required... (8 Replies)
Discussion started by: fretagi
8 Replies