It depends a lot on how you added your accounts in the first place.
If it was with yaim you could just remove all the accounts and have
yaim readd them
but you will almost definetly need an empty farm to do so.
Steve
On May 18, 2007, at 7:47 PM, Yiannis Ioannou wrote:
> I don't think that there is an automate way, but you can build one.
> It's not very difficult.
>
> First copy all the directories to /grid, for example,
> cp -r /home/* /grid
>
> and change the home directory in the password file, for example,
> cp /etc/passwd /etc/passwd.bak; perl -i -n -e 's/\/home/\/grid/' /
> etc/passwd
>
> I don't know if this will cause any problems with the middleware.
> For example, if the developers have hard coded the /home path, it
> will not work and it will cause a lot of problems.
>
> PS. what's the real motivation behind this? I mean why do you
> really want to do this?
>
> regards,
> Yiannis
>
> On 5/18/07, Pawel Dziekonski <[log in to unmask]> wrote:hi,
>
> I would like to move all grid accounts to some non-standard
> subdirectory, like /grid/ or just /home/grid/. is there any automatic
> way?
>
> thanks in advance, P
>
> --
> Pawel Dziekonski < [log in to unmask]>
> Wroclaw Centre for Networking & Supercomputing, HPC Department
> pl.Grunwaldzki 9, PWr-D2/101, Wroclaw 50-377, POLAND
> phone: +48 71 3202043, fax: +48 71 3225797, http://www.wcss.wroc.pl
>
--
Steve Traylen
[log in to unmask]
CERN, IT-GD-OPS.
|