Re: [osol-discuss] Compiling sysbench on Solaris 10 with MySQL
My bad. Please ignore my mail. Didn't see your full posting (thought the rest was error messages). -Siva On Thursday 11 November 2010 10:08 AM, Sivakumar Shanmugasundaram wrote: Try to use the installed Studio CC. Make sure the Studio is in the PATH. Then try with ./congiure CC=cc Regards Siva On Wednesday 10 November 2010 10:58 PM, Nancy wrote: I had seen the thread made 4 years ago about compiling sysbench on solaris 10 and tried to follow the steps but it hasn't helped. I have been trying for days and nothing has worked. It was difficult enough trying to install sysbench without mysql. I have downloaded and installed mysql from sunfreeware website but haven't gone any configurations of it for users - I don't know where are the instructions for it. Below is all I have attempted - I have also downloaded and installed sun studio 12 tools - http://hub.opensolaris.org/bin/view/Community+Group+tools/sun_studio_12_tools When I try to compile with 'make' after running './configure', I get this error msg: - gcc -DHAVE_CONFIG_H -I. -I../../../config -I/usr/sfw/include/mysql -xstrconst -mt -D_REENTRANT -D_XOPEN_SOURCE=500 -D_GNU_SOURCE -I../../../sysbench -D_REENTRANT -g -O2 -MT libsbmysql_a-drv_mysql.o -MD -MP -MF .deps/libsbmysql_a-drv_mysql.Tpo -c -o libsbmysql_a-drv_mysql.o `test -f 'drv_mysql.c' || echo './'`drv_mysql.c gcc: language strconst not recognized gcc: drv_mysql.c: linker input file unused because linking not done mv -f .deps/libsbmysql_a-drv_mysql.Tpo .deps/libsbmysql_a-drv_mysql.Po mv: cannot access .deps/libsbmysql_a-drv_mysql.Tpo make[3]: *** [libsbmysql_a-drv_mysql.o] Error 2 --- When I try this again after removing all occurrances of '-xstrconst -mt' from all Makefiles with: perl -pi -e "s/-xstrconst -mt//g" $(find . -name Makefile) after running './configure; make' - I get this instead gcc -DHAVE_CONFIG_H -I. -I../config -D_REENTRANT -D_XOPEN_SOURCE=500 -D_GNU_SOURCE -I../sysbench -D_REENTRANT -g -O2 -MT sysbench.o -MD -MP -MF .deps/sysbench.Tpo -c -o sysbench.o sysbench.c mv -f .deps/sysbench.Tpo .deps/sysbench.Po gcc -DHAVE_CONFIG_H -I. -I../config -D_REENTRANT -D_XOPEN_SOURCE=500 -D_GNU_SOURCE -I../sysbench -D_REENTRANT -g -O2 -MT sb_timer.o -MD -MP -MF .deps/sb_timer.Tpo -c -o sb_timer.o sb_timer.c mv -f .deps/sb_timer.Tpo .deps/sb_timer.Po gcc -DHAVE_CONFIG_H -I. -I../config -D_REENTRANT -D_XOPEN_SOURCE=500 -D_GNU_SOURCE -I../sysbench -D_REENTRANT -g -O2 -MT sb_options.o -MD -MP -MF .deps/sb_options.Tpo -c -o sb_options.o sb_options.c mv -f .deps/sb_options.Tpo .deps/sb_options.Po gcc -DHAVE_CONFIG_H -I. -I../config -D_REENTRANT -D_XOPEN_SOURCE=500 -D_GNU_SOURCE -I../sysbench -D_REENTRANT -g -O2 -MT sb_logger.o -MD -MP -MF .deps/sb_logger.Tpo -c -o sb_logger.o sb_logger.c mv -f .deps/sb_logger.Tpo .deps/sb_logger.Po gcc -DHAVE_CONFIG_H -I. -I../config -D_REENTRANT -D_XOPEN_SOURCE=500 -D_GNU_SOURCE -I../sysbench -D_REENTRANT -g -O2 -MT db_driver.o -MD -MP -MF .deps/db_driver.Tpo -c -o db_driver.o db_driver.c mv -f .deps/db_driver.Tpo .deps/db_driver.Po /bin/bash ../libtool --tag=CC --mode=link gcc -D_REENTRANT -g -O2 -lumem -o sysbench sysbench.o sb_timer.o sb_options.o sb_logger.o db_driver.o tests/fileio/libsbfileio.a tests/threads/libsbthreads.a tests/memory/libsbmemory.a tests/cpu/libsbcpu.a tests/oltp/libsboltp.a tests/mutex/libsbmutex.a drivers/mysql/libsbmysql.a -R/usr/sfw/lib -R/usr/sfw/lib/mysql -L/usr/sfw/lib -L/usr/sfw/lib/mysql -lmysqlclient_r -lz -lposix4 -lcrypt -lgen -lsocket -lnsl -lm -lrt -lm libtool: link: gcc -D_REENTRANT -g -O2 -o sysbench sysbench.o sb_timer.o sb_options.o sb_logger.o db_driver.o -lumem tests/fileio/libsbfileio.a tests/threads/libsbthreads.a tests/memory/libsbmemory.a tests/cpu/libsbcpu.a tests/oltp/libsboltp.a tests/mutex/libsbmutex.a drivers/mysql/libsbmysql.a -L/usr/sfw/lib -L/usr/sfw/lib/mysql -lmysqlclient_r -lz -lposix4 -lcrypt -lgen -lsocket -lnsl -lrt -lm -R/usr/sfw/lib -R/usr/sfw/lib/mysql Undefined first referenced symbol in file mysql_library_end drivers/mysql/libsbmysql.a(libsbmysql_a-drv_mysql.o) mysql_library_init drivers/mysql/libsbmysql.a(libsbmysql_a-drv_mysql.o) ld: fatal: Symbol referencing errors. No output written to sysbench collect2: ld returned 1 exit status make[2]: *** [sysbench] Error 1 When I compile after running this './configure --with-mysql-libs=/usr/local/mysql/lib/ --with-mysql-includes=/usr/local/mysql/include/' - I get this --- gcc -DHAVE_CONFIG_H -I. -I../../../config -I/usr/local/mysql/include/ -D_REENTRANT -D_XOPEN_SOURCE=500 -D_GNU_SOURCE -I../../../sysbench -D_REENTRANT -g -O2 -MT libsbmysql_a-drv_mysql.o -MD -MP -MF .deps/libsbmysql_a-drv_mysql.Tpo -c -o libsbmysql_a-drv_mys
Re: [osol-discuss] Compiling sysbench on Solaris 10 with MySQL
Try to use the installed Studio CC. Make sure the Studio is in the PATH. Then try with ./congiure CC=cc Regards Siva On Wednesday 10 November 2010 10:58 PM, Nancy wrote: I had seen the thread made 4 years ago about compiling sysbench on solaris 10 and tried to follow the steps but it hasn't helped. I have been trying for days and nothing has worked. It was difficult enough trying to install sysbench without mysql. I have downloaded and installed mysql from sunfreeware website but haven't gone any configurations of it for users - I don't know where are the instructions for it. Below is all I have attempted - I have also downloaded and installed sun studio 12 tools - http://hub.opensolaris.org/bin/view/Community+Group+tools/sun_studio_12_tools When I try to compile with 'make' after running './configure', I get this error msg: - gcc -DHAVE_CONFIG_H -I. -I../../../config -I/usr/sfw/include/mysql -xstrconst -mt -D_REENTRANT -D_XOPEN_SOURCE=500 -D_GNU_SOURCE -I../../../sysbench -D_REENTRANT -g -O2 -MT libsbmysql_a-drv_mysql.o -MD -MP -MF .deps/libsbmysql_a-drv_mysql.Tpo -c -o libsbmysql_a-drv_mysql.o `test -f 'drv_mysql.c' || echo './'`drv_mysql.c gcc: language strconst not recognized gcc: drv_mysql.c: linker input file unused because linking not done mv -f .deps/libsbmysql_a-drv_mysql.Tpo .deps/libsbmysql_a-drv_mysql.Po mv: cannot access .deps/libsbmysql_a-drv_mysql.Tpo make[3]: *** [libsbmysql_a-drv_mysql.o] Error 2 --- When I try this again after removing all occurrances of '-xstrconst -mt' from all Makefiles with: perl -pi -e "s/-xstrconst -mt//g" $(find . -name Makefile) after running './configure; make' - I get this instead gcc -DHAVE_CONFIG_H -I. -I../config -D_REENTRANT -D_XOPEN_SOURCE=500 -D_GNU_SOURCE -I../sysbench -D_REENTRANT -g -O2 -MT sysbench.o -MD -MP -MF .deps/sysbench.Tpo -c -o sysbench.o sysbench.c mv -f .deps/sysbench.Tpo .deps/sysbench.Po gcc -DHAVE_CONFIG_H -I. -I../config -D_REENTRANT -D_XOPEN_SOURCE=500 -D_GNU_SOURCE -I../sysbench -D_REENTRANT -g -O2 -MT sb_timer.o -MD -MP -MF .deps/sb_timer.Tpo -c -o sb_timer.o sb_timer.c mv -f .deps/sb_timer.Tpo .deps/sb_timer.Po gcc -DHAVE_CONFIG_H -I. -I../config -D_REENTRANT -D_XOPEN_SOURCE=500 -D_GNU_SOURCE -I../sysbench -D_REENTRANT -g -O2 -MT sb_options.o -MD -MP -MF .deps/sb_options.Tpo -c -o sb_options.o sb_options.c mv -f .deps/sb_options.Tpo .deps/sb_options.Po gcc -DHAVE_CONFIG_H -I. -I../config -D_REENTRANT -D_XOPEN_SOURCE=500 -D_GNU_SOURCE -I../sysbench -D_REENTRANT -g -O2 -MT sb_logger.o -MD -MP -MF .deps/sb_logger.Tpo -c -o sb_logger.o sb_logger.c mv -f .deps/sb_logger.Tpo .deps/sb_logger.Po gcc -DHAVE_CONFIG_H -I. -I../config -D_REENTRANT -D_XOPEN_SOURCE=500 -D_GNU_SOURCE -I../sysbench -D_REENTRANT -g -O2 -MT db_driver.o -MD -MP -MF .deps/db_driver.Tpo -c -o db_driver.o db_driver.c mv -f .deps/db_driver.Tpo .deps/db_driver.Po /bin/bash ../libtool --tag=CC --mode=link gcc -D_REENTRANT -g -O2 -lumem -o sysbench sysbench.o sb_timer.o sb_options.o sb_logger.o db_driver.o tests/fileio/libsbfileio.a tests/threads/libsbthreads.a tests/memory/libsbmemory.a tests/cpu/libsbcpu.a tests/oltp/libsboltp.a tests/mutex/libsbmutex.a drivers/mysql/libsbmysql.a -R/usr/sfw/lib -R/usr/sfw/lib/mysql -L/usr/sfw/lib -L/usr/sfw/lib/mysql -lmysqlclient_r -lz -lposix4 -lcrypt -lgen -lsocket -lnsl -lm -lrt -lm libtool: link: gcc -D_REENTRANT -g -O2 -o sysbench sysbench.o sb_timer.o sb_options.o sb_logger.o db_driver.o -lumem tests/fileio/libsbfileio.a tests/threads/libsbthreads.a tests/memory/libsbmemory.a tests/cpu/libsbcpu.a tests/oltp/libsboltp.a tests/mutex/libsbmutex.a drivers/mysql/libsbmysql.a -L/usr/sfw/lib -L/usr/sfw/lib/mysql -lmysqlclient_r -lz -lposix4 -lcrypt -lgen -lsocket -lnsl -lrt -lm -R/usr/sfw/lib -R/usr/sfw/lib/mysql Undefined first referenced symbol in file mysql_library_end drivers/mysql/libsbmysql.a(libsbmysql_a-drv_mysql.o) mysql_library_init drivers/mysql/libsbmysql.a(libsbmysql_a-drv_mysql.o) ld: fatal: Symbol referencing errors. No output written to sysbench collect2: ld returned 1 exit status make[2]: *** [sysbench] Error 1 When I compile after running this './configure --with-mysql-libs=/usr/local/mysql/lib/ --with-mysql-includes=/usr/local/mysql/include/' - I get this --- gcc -DHAVE_CONFIG_H -I. -I../../../config -I/usr/local/mysql/include/ -D_REENTRANT -D_XOPEN_SOURCE=500 -D_GNU_SOURCE -I../../../sysbench -D_REENTRANT -g -O2 -MT libsbmysql_a-drv_mysql.o -MD -MP -MF .deps/libsbmysql_a-drv_mysql.Tpo -c -o libsbmysql_a-drv_mysql.o `test -f 'drv_mysql.c' || echo './'`drv_mysql.c drv_mysql.c:35:19: mysql.h: No such file or directory drv_mysql.c:36:26: mysqld_error.h: No such file or directory drv_mysql.c: In function `mysq
Re: [osol-discuss] [OpenIndiana-discuss] Can this scenario be accomplished?
> On the dead machine there are 3 sets of mirrored zpools (6 discs). > The one I mainly want access to now is 2 750GB sata drives. > > So I manage to connect one or both to a running os (livecd) > > ( How might that be achieved? ) If it were me, I would go the USB adapter/enclosure route. > Then the running os will see the discs and the zpool in it/them > along with the zfs filesystems? After a zpool import of the attached zpool, the zpool and associated zfs filesystems will be visible and accessible. > If that is right so far then I would have access to the data and could > even copy some piece of it to somewhere else on the network? Yes. You might need to modify the of the zpool (which can be done via the zpool import command) if it conflicts with an already existing zpool (you can't have two zpools named rpool, for instance). Then you might need to adjust the mountpoint attribute for the particular zfs filesystems that you wish to pull data off of so you can get to it using commands such as cp or rsync. > Lets say I don't really have room for the full zpool, but I could > still retrieve the needed bits by simple copy commands or rsync? Yes, assuming you've mounted the zfs filesystem(s) that you want to copy data off of. > Where my imagination gets in trouble is trying to visualize how the > new OS will see this disk... That is, will it see a zpool and have > immediate access? Like I could cd into some directory on it? You might want to look at the zpool manpage, but basically zpool import allows the storage pool and all of its associated filesystems to be accessible to the system. To get at the filesystems, i.e. to cd into some directory, you need to adjust the mountpoint attribute of the relevant zfs filesystems, and then just navigate to the now mounted filesystem. > But is there some reason NOT to hookup one of the actual discs to the > running OS (be it live cd or osol running in a VM) > > That is, is there a good chance of harming the disc in so doing? So long as you don't so something silly like zfs or zpool destroy, there isn't any real danger. Personally, I find it easier to actually learn a procedure and become comfortable with it when I don't have a real or imagined fear that I might accidentally make an unrecoverable mistake. > Any ideas how one would hook a raw internal disc up to an opensolaris > OS running on a laptop? The laptop has all modern connectors, esata, > usb, firewire. > > Is there some kind of adaptors or external housing available to make > such a connection? USB enclosures are extremely common, and while not the fastest option, the interface tends to be well supported across lots of different hardware. Hope that helps. -Sean ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] Can this scenario be accomplished?
> Would the newly installed OS recognize the data and zpool/zfs > structures enough to retrieve the data or copy it over. > > Like if you made this external disk a zpool, would it just be erased > or would the OS see the data and file structure? > You just need to import the zpool(s). If there is someplace on the network where you can copy the data to, there isn't even a need to install OpenSolaris/Indiana, you can just boot up from the LiveCD and go from there. It would be a good idea to first experiment with the procedure before trying it out on your real drives, gather up a few USB thumbdrives and do the same operations. Once you're confident that your procedure is good, then carry on with the real drives. -Sean ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
[osol-discuss] Can this scenario be accomplished?
I have a dead or dieing machine I wondered if something bizarre like this scenario that follows could be done. The machine was running b 133 Fire up a new install in a vm. Take the discs (one by one) from the brokedown machine, and install them in somekind of external enclosure. (I only have a laptop to do this with) Then assign that disc to the vm version of osol in some manner. (discs are sata) Would the newly installed OS recognize the data and zpool/zfs structures enough to retrieve the data or copy it over. Like if you made this external disk a zpool, would it just be erased or would the OS see the data and file structure? I'm thinking maybe an esata connection or some other... I have no real grasp on whats available... and not sure if this might not be a ridiculous and far from possible scheme. ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] How to permanently change a machines name
+-- | On 2010-11-10 17:41:26, Harry Putnam wrote: | | b 134 | How can I change a machines name permanently... not the IP numeric | address just the alphanumeric name? | | I managed it at least one other time but have now forgotten what all I | did. | | Is there a sort of starndard way? Or place where a new name can be | inserted and start being used on reboot, or after hostname ? /etc/nodename /etc/hosts -- bdha cyberpunk is dead. long live cyberpunk. ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
[osol-discuss] How to permanently change a machines name
b 134 How can I change a machines name permanently... not the IP numeric address just the alphanumeric name? I managed it at least one other time but have now forgotten what all I did. Is there a sort of starndard way? Or place where a new name can be inserted and start being used on reboot, or after hostname ? ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
[osol-discuss] Compiling sysbench on Solaris 10 with MySQL
I had seen the thread made 4 years ago about compiling sysbench on solaris 10 and tried to follow the steps but it hasn't helped. I have been trying for days and nothing has worked. It was difficult enough trying to install sysbench without mysql. I have downloaded and installed mysql from sunfreeware website but haven't gone any configurations of it for users - I don't know where are the instructions for it. Below is all I have attempted - I have also downloaded and installed sun studio 12 tools - http://hub.opensolaris.org/bin/view/Community+Group+tools/sun_studio_12_tools When I try to compile with 'make' after running './configure', I get this error msg: - gcc -DHAVE_CONFIG_H -I. -I../../../config -I/usr/sfw/include/mysql -xstrconst -mt -D_REENTRANT -D_XOPEN_SOURCE=500 -D_GNU_SOURCE -I../../../sysbench -D_REENTRANT -g -O2 -MT libsbmysql_a-drv_mysql.o -MD -MP -MF .deps/libsbmysql_a-drv_mysql.Tpo -c -o libsbmysql_a-drv_mysql.o `test -f 'drv_mysql.c' || echo './'`drv_mysql.c gcc: language strconst not recognized gcc: drv_mysql.c: linker input file unused because linking not done mv -f .deps/libsbmysql_a-drv_mysql.Tpo .deps/libsbmysql_a-drv_mysql.Po mv: cannot access .deps/libsbmysql_a-drv_mysql.Tpo make[3]: *** [libsbmysql_a-drv_mysql.o] Error 2 --- When I try this again after removing all occurrances of '-xstrconst -mt' from all Makefiles with: perl -pi -e "s/-xstrconst -mt//g" $(find . -name Makefile) after running './configure; make' - I get this instead gcc -DHAVE_CONFIG_H -I. -I../config -D_REENTRANT -D_XOPEN_SOURCE=500 -D_GNU_SOURCE -I../sysbench -D_REENTRANT -g -O2 -MT sysbench.o -MD -MP -MF .deps/sysbench.Tpo -c -o sysbench.o sysbench.c mv -f .deps/sysbench.Tpo .deps/sysbench.Po gcc -DHAVE_CONFIG_H -I. -I../config -D_REENTRANT -D_XOPEN_SOURCE=500 -D_GNU_SOURCE -I../sysbench -D_REENTRANT -g -O2 -MT sb_timer.o -MD -MP -MF .deps/sb_timer.Tpo -c -o sb_timer.o sb_timer.c mv -f .deps/sb_timer.Tpo .deps/sb_timer.Po gcc -DHAVE_CONFIG_H -I. -I../config -D_REENTRANT -D_XOPEN_SOURCE=500 -D_GNU_SOURCE -I../sysbench -D_REENTRANT -g -O2 -MT sb_options.o -MD -MP -MF .deps/sb_options.Tpo -c -o sb_options.o sb_options.c mv -f .deps/sb_options.Tpo .deps/sb_options.Po gcc -DHAVE_CONFIG_H -I. -I../config -D_REENTRANT -D_XOPEN_SOURCE=500 -D_GNU_SOURCE -I../sysbench -D_REENTRANT -g -O2 -MT sb_logger.o -MD -MP -MF .deps/sb_logger.Tpo -c -o sb_logger.o sb_logger.c mv -f .deps/sb_logger.Tpo .deps/sb_logger.Po gcc -DHAVE_CONFIG_H -I. -I../config -D_REENTRANT -D_XOPEN_SOURCE=500 -D_GNU_SOURCE -I../sysbench -D_REENTRANT -g -O2 -MT db_driver.o -MD -MP -MF .deps/db_driver.Tpo -c -o db_driver.o db_driver.c mv -f .deps/db_driver.Tpo .deps/db_driver.Po /bin/bash ../libtool --tag=CC --mode=link gcc -D_REENTRANT -g -O2 -lumem -o sysbench sysbench.o sb_timer.o sb_options.o sb_logger.o db_driver.o tests/fileio/libsbfileio.a tests/threads/libsbthreads.a tests/memory/libsbmemory.a tests/cpu/libsbcpu.a tests/oltp/libsboltp.a tests/mutex/libsbmutex.a drivers/mysql/libsbmysql.a -R/usr/sfw/lib -R/usr/sfw/lib/mysql -L/usr/sfw/lib -L/usr/sfw/lib/mysql -lmysqlclient_r -lz -lposix4 -lcrypt -lgen -lsocket -lnsl -lm -lrt -lm libtool: link: gcc -D_REENTRANT -g -O2 -o sysbench sysbench.o sb_timer.o sb_options.o sb_logger.o db_driver.o -lumem tests/fileio/libsbfileio.a tests/threads/libsbthreads.a tests/memory/libsbmemory.a tests/cpu/libsbcpu.a tests/oltp/libsboltp.a tests/mutex/libsbmutex.a drivers/mysql/libsbmysql.a -L/usr/sfw/lib -L/usr/sfw/lib/mysql -lmysqlclient_r -lz -lposix4 -lcrypt -lgen -lsocket -lnsl -lrt -lm -R/usr/sfw/lib -R/usr/sfw/lib/mysql Undefined first referenced symbol in file mysql_library_end drivers/mysql/libsbmysql.a(libsbmysql_a-drv_mysql.o) mysql_library_init drivers/mysql/libsbmysql.a(libsbmysql_a-drv_mysql.o) ld: fatal: Symbol referencing errors. No output written to sysbench collect2: ld returned 1 exit status make[2]: *** [sysbench] Error 1 When I compile after running this './configure --with-mysql-libs=/usr/local/mysql/lib/ --with-mysql-includes=/usr/local/mysql/include/' - I get this --- gcc -DHAVE_CONFIG_H -I. -I../../../config -I/usr/local/mysql/include/ -D_REENTRANT -D_XOPEN_SOURCE=500 -D_GNU_SOURCE -I../../../sysbench -D_REENTRANT -g -O2 -MT libsbmysql_a-drv_mysql.o -MD -MP -MF .deps/libsbmysql_a-drv_mysql.Tpo -c -o libsbmysql_a-drv_mysql.o `test -f 'drv_mysql.c' || echo './'`drv_mysql.c drv_mysql.c:35:19: mysql.h: No such file or directory drv_mysql.c:36:26: mysqld_error.h: No such file or directory drv_mysql.c: In function `mysql_drv_describe': drv_mysql.c:284: error: `MYSQL_RES' undeclared (first use in this function) drv_mysql.c:284: error: (Each undeclared identifier is reported only once drv_mysql
Re: [osol-discuss] Changing Username Default Length from 8 to 32 or more
joerg.schill...@fokus.fraunhofer.de wrote: > Since Solaris removed /var/adm/?tmp and only /var/adm/?tmpx are present now, > the number os utilities that still use a lower limit may be close to 0. Not close enough - see all the "Related bug" entries on: http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=4109819 and the details of the proposal to fix them at: http://www.opensolaris.org/os/community/security/library/long_usernames/ -- -Alan Coopersmith-alan.coopersm...@oracle.com Oracle Solaris Platform Engineering: X Window System ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] Changing Username Default Length from 8 to 32 or more
"Richard L. Hamilton" wrote: > > Hi, I have researched online in order to solve this > > and didn't find any information. [b]Could you please > > how can I create a new username (numbers based) eg. > > -?[/b] > > > > please let me know, I'll apretiate your kindly > > help!!! > > > > bergmp at gmail dot com > > Accounts can be created with the "useradd" command. > > Limits on the username are listed in passwd(4): > > http://docs.sun.com/app/docs/doc/819-2251/passwd-4?l=en&a=view > > The format you desire exceeds the recommendations, if not the > absolute limits, on both length and characters used. > > That said, _most_ software will probably work anyway with anything 32 > characters or less (and not permitting colon or newline characters within > the username), but older software (or software that exchanges the > information with other systems) may not. > > Some older programs may assume that > /usr/include/stdio.h:#define L_cuserid 9 > could specify the size of an array of characters (including null terminator) > sufficient to hold a username. POSIX.1-1988 did already mention a limit of 32 chars for user and group names in TAR headers. At that time, all traditional UNIX utilities used a limit of 8 chars. Since Solaris removed /var/adm/?tmp and only /var/adm/?tmpx are present now, the number os utilities that still use a lower limit may be close to 0. Jörg -- EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin j...@cs.tu-berlin.de(uni) joerg.schill...@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org