Wesley Parish wrote:
On Wed, 17 Aug 2005 22:30, Glynn Foster wrote:
Heya,
The Genunix site does have gcc for download, as *.tar.bz2 - but the APC
Solaris distro doesn't include GNU tar, which includes the j switch for
handling bzip2 files.
Sure it does - it's in /usr/sfw/bin prefix'd with 'g' to confuse you ;)
Oh well, I've just retarred everything and gzipped it on my Linux box, and
will copy it over tomorrow or so. I've also thrown in the Xen source files,
just so it won't get lonely ;)
I just hope that what I've done with useradd and /etc/passwd and passwd will
mean I cna still get into the Solaris box tomorrow! For some strange reason,
it refused to accept my "useradd -m wesp", insisting that it couldn't make
the required directory.
And the useradd command doesn't appear to be in the source file directories,
either, so I can't debug it. Looks like _it's_ coming out, and getting
replaced by the GNU one, which _does_ work.
Glynn
Wesley Parish
You need to edit /etc/passwd, (possibly) /etc/group, and /etc/shadow,
reset the password then create a home directory with the correct
ownership to add a new user. That'll get you logged in. Either way,
pre-existing accounts shouldn't be affected.
Steve