* [Q] Root home directory setup
@ 1999-07-15 4:00 Ryurick M. Hristev
1999-07-15 4:00 ` Steve Stoddard
1999-07-15 4:00 ` Ed Wensell III aka THE StormRaiser
0 siblings, 2 replies; 6+ messages in thread
From: Ryurick M. Hristev @ 1999-07-15 4:00 UTC (permalink / raw)
Hello all,
Please excuse a very dumb question :-) but could somebody tell me
how do I change the root home directory so something more sane than / ?
(there are several reasons for why I don't like it)
On a side issue: Is there a FAQ for this group ?
Any interesting ftp sites ?
TIA
Cheers,
--
______________________________________________________________________
Ryurick M. Hristev ()..()/^\/^\ -<:-)
R.Hristev@phys.canterbury.ac.nz \/ \#/\#/\) What opinions ?
______________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: [Q] Root home directory setup 1999-07-15 4:00 [Q] Root home directory setup Ryurick M. Hristev @ 1999-07-15 4:00 ` Steve Stoddard 1999-07-15 4:00 ` Ed Wensell III aka THE StormRaiser 1 sibling, 0 replies; 6+ messages in thread From: Steve Stoddard @ 1999-07-15 4:00 UTC (permalink / raw) Ryurick M. Hristev wrote: > Hello all, > > Please excuse a very dumb question :-) but could somebody tell me > how do I change the root home directory so something more sane than / ? > (there are several reasons for why I don't like it) I created /root, then copied every file and directory (cp -r for files; cp -rp for required account directories) that looked like a necessity for superuser into /root (I guessed which ones and haven't noticed any shell or permission problems). I then edited /etc/passwd to show /root for the superuser account, using the CDE text editor. One problem: I had already initiated Netscape in the old location, and Netscape would not recognize or use the copied /root/.netscape directory in the new location. The solution was to create the link .netscape----->/root/.netscape in /. Netscape now executes normally in the new root account. Steve Stoddard ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Q] Root home directory setup 1999-07-15 4:00 [Q] Root home directory setup Ryurick M. Hristev 1999-07-15 4:00 ` Steve Stoddard @ 1999-07-15 4:00 ` Ed Wensell III aka THE StormRaiser 1999-07-16 4:00 ` Ryurick M. Hristev 1 sibling, 1 reply; 6+ messages in thread From: Ed Wensell III aka THE StormRaiser @ 1999-07-15 4:00 UTC (permalink / raw) Ryurick M. Hristev wrote: > > Hello all, > > Please excuse a very dumb question :-) but could somebody tell me > how do I change the root home directory so something more sane than / ? Assuming you mean the home directory for the root account, you might want to do it the manual way. Create the directory where you want root to live, copy/move root's files into it, then change the entry in the passwd file (vipw). You COULD use the graphical account manager, but MAKE SURE the box next to "Move home directory" is unchecked (cringe). > (there are several reasons for why I don't like it) Like when one accidently does a chmod -R... Been there... :) > On a side issue: Is there a FAQ for this group ? > Any interesting ftp sites ? FAQ for the group itself? Dunno... There is a DUNIX/Tru64 UNIX FAQ though. D/Tru64 UNIX FAQ: http://ftp.digital.com/pub/Digital/dec-faq/Digital-UNIX The site itself (ftp.digital.com) might have a few other things for ya. If all else fails, check out the D/Tru64 UNIX web page: http://www.unix.digital.com -- Until soon... Ed Wensell III Systems and Operations Support, Pellissippi State E-mail hint: A college with a dot net domain? ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Q] Root home directory setup 1999-07-15 4:00 ` Ed Wensell III aka THE StormRaiser @ 1999-07-16 4:00 ` Ryurick M. Hristev 1999-07-16 4:00 ` Keith Moodie 1999-07-17 4:00 ` Adam Price 0 siblings, 2 replies; 6+ messages in thread From: Ryurick M. Hristev @ 1999-07-16 4:00 UTC (permalink / raw) Ed Wensell III aka THE StormRaiser <ewensell@pstcc.cc.tn.us.net> writes: > Ryurick M. Hristev wrote: > > > > Hello all, > > > > Please excuse a very dumb question :-) but could somebody tell me > > how do I change the root home directory so something more sane than / ? > > Assuming you mean the home directory for the root account, you might yes > want to do it the manual way. Create the directory where you want root > to live, copy/move root's files into it, then change the entry in the Well, that's exactly the fscking problem: - if I use vi, the entry is ignored; - if I use vipw it doesn't change it, it says: "vipw: you mangled the temp file, /etc/passwd unchanged" So something have to be (sort of) hardwired somewhere (some checks are performed) but where ? (this is why my question is DEC Unix specific and posted here, not Unix in general; I haven't done the install just inherited the damn box ;-) > passwd file (vipw). You COULD use the graphical account manager, but ^^^^^^^^^ No, thanks :-) > MAKE SURE the box next to "Move home directory" is unchecked (cringe). > > > (there are several reasons for why I don't like it) > > Like when one accidently does a chmod -R... Been there... :) That was one of them, another is that I don't like all the dot files/dirs in / , looks messy :-) > D/Tru64 UNIX FAQ: > http://ftp.digital.com/pub/Digital/dec-faq/Digital-UNIX Thanks! > The site itself (ftp.digital.com) might have a few other things for ya. Stone age :-) there is also http://www.dec.com/info/misc/pub-domain-osf1.txt.html but I thought there may be some more up to date ones, e.g. ftp://ftp.cit.nepean.uws.edu.au/unix/X/kde/1.1/ holds KDE 1.1 for Digital Unix. So, are there any sites who store GNU software and alike, already compiled for DEC/alpha ? (e.g. first of all gcc/egcs and make, the DEC make sucks ;) Cheers, -- ______________________________________________________________________ Ryurick M. Hristev ()..()/^\/^\ -<:-) R.Hristev@phys.canterbury.ac.nz \/ \#/\#/\) What opinions ? ______________________________________________________________________ ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Q] Root home directory setup 1999-07-16 4:00 ` Ryurick M. Hristev @ 1999-07-16 4:00 ` Keith Moodie 1999-07-17 4:00 ` Adam Price 1 sibling, 0 replies; 6+ messages in thread From: Keith Moodie @ 1999-07-16 4:00 UTC (permalink / raw) Ryurick M. Hristev wrote: > So, are there any sites who store GNU software and alike, already > compiled for DEC/alpha ? (e.g. first of all gcc/egcs and make, > the DEC make sucks ;) > Try Digitals database http://ftp.digital.com/ Also http://www.digital.com/misc/pub-domain-osf1.txt.html Keith ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Q] Root home directory setup 1999-07-16 4:00 ` Ryurick M. Hristev 1999-07-16 4:00 ` Keith Moodie @ 1999-07-17 4:00 ` Adam Price 1 sibling, 0 replies; 6+ messages in thread From: Adam Price @ 1999-07-17 4:00 UTC (permalink / raw) Ryurick M. Hristev wrote in message ... >Ed Wensell III aka THE StormRaiser <ewensell@pstcc.cc.tn.us.net> writes: > >> Ryurick M. Hristev wrote: >> > >> > Hello all, >> > >> > Please excuse a very dumb question :-) but could somebody tell me >> > how do I change the root home directory so something more sane than / ? >> >> Assuming you mean the home directory for the root account, you might > >yes > >> want to do it the manual way. Create the directory where you want root >> to live, copy/move root's files into it, then change the entry in the > >Well, that's exactly the fscking problem: > - if I use vi, the entry is ignored; > - if I use vipw it doesn't change it, it says: > "vipw: you mangled the temp file, /etc/passwd unchanged" > Have you looked what security mode you are in(secsetup)? Have you looked for passwd.pag and passwd.dir (passwd can be stored in a db to speed access). Either of these may be a reason why edits using vi gets ignored. As to the problem of vipw not working I've never seen it myself. Hope this helps Adam ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~1999-07-17 4:00 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 1999-07-15 4:00 [Q] Root home directory setup Ryurick M. Hristev 1999-07-15 4:00 ` Steve Stoddard 1999-07-15 4:00 ` Ed Wensell III aka THE StormRaiser 1999-07-16 4:00 ` Ryurick M. Hristev 1999-07-16 4:00 ` Keith Moodie 1999-07-17 4:00 ` Adam Price
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox