[techtalk] yet another solaris question ...

Christian MacAuley jellhead at jellspace.net
Fri Jul 7 14:41:45 EST 2000


Hi chix!

While we're discussing the passwd file, i have a problem.  I didn't
really know another way to set my PATH automatically other than
appending it to my shell line in my passwd file, like this:

jellhead:x:100:1::/export/home/jellhead:/usr/local/bin/tcsh;setenv
PATH /usr/sbin:/usr/bin:/usr/local/bin:/usr/ccs/bin

This worked for me in linux in the past, but my Solaris Sparc server
doesn't like it (i can't log in as jellhead anymore).  Does anyone
know a good alternative?  I've considered a few other things, but i'm
a little intimidated by this funky Solaris box ...

# begin horror story
Last time i made changes to my passwd file on this server, i decided i
was really, really tired of using sh, so i decided to set my SHELL in
the passwd file to /usr/local/bin/tcsh.  Unfortunately i mistyped the
path, and it was after i *saved the file and logged off* and tried to
log back in using my new settings that i discovered NO ONE HAS ROOT
ACCESS TO THE THING ANYMORE!!  We had to go over to the rack (this is
a Sun Netra1) and boot the thing off the CD to fix it.  Luckily the
sysadmins involved (i'm not the sysadmin, i'm the webmaster) didn't
give me *too* hard of a time :-)
# end horror story

Thanx!

~Christian

____________________________________________________________________
» Christian MacAuley » jellhead at jellspace.net » http://jellspace.net






More information about the Techtalk mailing list