Migrating IDs


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Migrating IDs
# 1  
Old 04-06-2007
Migrating IDs

I need a script that will move files and change the ownership from a user's old home directory to a new home directory on multiple NIS+ servers.

Last edited by mackdaddy07; 04-06-2007 at 11:54 AM.. Reason: missing info
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

List of all ids,groups, privilege ids

I wish to pull out a list of all user ids on the system, including the privileged ids, the groups to which they belong to. Sometimes after deleting an id also, its home dir does not get deleted or an entry is left behind in /etc/passwd. Can someone help me with a script to achieve both. (2 Replies)
Discussion started by: ggayathri
2 Replies

2. UNIX for Beginners Questions & Answers

Migrating to UNIX

I am looking for a stable, reliable system to replace my current Windows systems in the home. These are simple systems that I purchased from the local Big Box store. I have heard many good things about Unix and it's various children and it sounds like a good option to me. I have worked... (2 Replies)
Discussion started by: donschurter
2 Replies

3. Linux

Migrating to new server

Hi I configured a full blown Suse Linux server with FTP (VSFTP) server (98 users), Samba as well as secure Ftp on Suse Linux 10 SP4. I need to transfer the whole system to a NEW server that I configured with Ver 11.4 What files need to be backed up and restored to the new server keeping the... (5 Replies)
Discussion started by: Tony.Marshall
5 Replies

4. Shell Programming and Scripting

Migrating to Directories

Hi All, I want some command to migrate between the directories as below: read x cd /export/home/$x Please advise. Cheers, Shazin (11 Replies)
Discussion started by: Shazin
11 Replies

5. HP-UX

Migrating from HP-UX 11 to HP-UX 11.i?

Hi, I want to Migrate my machine from HP-UX 11 to HP-UX 11.i, regarding this i would like to know the difference and the advances b/w these two. If anyone have cookbook HP-UX 11 to HP-UX 11.i, then provide the link to me. Thanks in Advance. Sarwan (3 Replies)
Discussion started by: sarwan
3 Replies

6. HP-UX

When migrating from HP-UX 11.0 to HP-UX 11.i

Hi to all, I am migrating HP-UX 11.0 to HP-UX 11.i, The following list are the components which i used in HP-UX 11.0, Whether I can use this same components in HP-UX 11.i or I should upgrade any of software version with respect to HP-UX 11.i. Oracle 8.1.7 Tuxedo 8.0 BEA Message queue... (0 Replies)
Discussion started by: sweta
0 Replies

7. UNIX for Dummies Questions & Answers

Migrating from HP to Solaris

My company is considering migrating from HP unix to Solaris just to get two more years of support for a particular software product. My question is just how much of an effort is it to do this migration? Are you aware of any migration tools to assist us in this migration? Thanks (1 Reply)
Discussion started by: jkuchar747
1 Replies

8. UNIX for Dummies Questions & Answers

Ids

What's the relationship beteew IDS and informix ? (1 Reply)
Discussion started by: wuhuatao
1 Replies

9. UNIX for Dummies Questions & Answers

migrating from Windows

Hello all, I was given an old computer that has freebsd 4.3 installed. The computer is a HP 4GB 300Mhz built in 1998. Apparently, the computer has not been used as the /home directory is empty of files. I want to migrate away from Micro$oft and learn unix but am not a programmer and finding... (4 Replies)
Discussion started by: phredro
4 Replies

10. UNIX for Dummies Questions & Answers

Migrating from NT to UNIX

I'm looking for a sample plan for migrating my OS from NT to UNIX that I can build a project plan on. Does anyone know of a resource? (2 Replies)
Discussion started by: llehew
2 Replies
Login or Register to Ask a Question
chsh(1) 						      General Commands Manual							   chsh(1)

NAME
chsh - change login shell SYNOPSIS
chsh [-D binddn] [-P path] [-s shell] [-l] [-q] [-u] [-v] [user] DESCRIPTION
chsh is used to change the user login shell. A normal user may only change the login shell for their own account, the super user may change the login shell for any account. If a shell is not given on the command line, chsh operates in an interactive fashion, prompting the user with the current login shell. Enter the new value to change the field, or leave the line blank to use the current value. Enter none to remove the current value. The current value is displayed between a pair of [ ] marks. The only restrictions placed on the login shell is that the command name must be listed in /etc/shells, unless the invoker is the super- user, and then any value may be added. An account with a restricted login shell may not change their login shell. This version of chsh is able to change the shell of local, NIS, NIS+ and LDAP accounts , if the permissions allow it. OPTIONS
-D, --binddn binddn Use the Distinguished Name binddn to bind to the LDAP directory. The user will be prompted for a password for simple authentica- tion. -P, --path path The passwd file is located below the specified directory path. chsh will use this files, not /etc/passwd. This is useful for exam- ple on NIS master servers, where you do not want to give all users in the NIS database automatic access to your NIS server and the NIS map is build from special files. -s, --shell Specify your login shell. -l, --list-shells Print the list of shells listed in /etc/shells and exit. -q, --quite Don't be verbose. -u, --usage Print a usage message and exit. --help Print a more verbose help text and exit. -v, --version Print version information and exit. FILES
/etc/passwd - user account information /etc/shells - list of valid login shells SEE ALSO
chfn(1), passwd(5), shells(5) AUTHOR
Thorsten Kukuk <kukuk@suse.de> pwdutils February 2004 chsh(1)