![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems . |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Numeric Validation | sumesh.abraham | Shell Programming and Scripting | 12 | 08-04-2008 11:10 AM |
| Perl code to differentiate numeric and non-numeric input | Raynon | Shell Programming and Scripting | 11 | 08-04-2007 11:32 AM |
| Checking numeric value | malaymaru | Shell Programming and Scripting | 6 | 05-25-2007 09:42 PM |
| non-numeric argument | TiredOrangeCat | UNIX for Dummies Questions & Answers | 3 | 02-13-2007 02:37 AM |
| Convert string to numeric | kflee2000 | Shell Programming and Scripting | 3 | 11-19-2003 11:21 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Hello,
We have a Solaris 9 machine and recently our client want to create username based on staff numbers (all numeric). Is there any limitation in Solaris regarding creating username with numeric values (eg: 13598029)? Thanks & Regards Aryawarman Mahzar |
|
|||||
|
There will be some problems with this. Consider:
-->
chown $user somefile Code:
chown $user somefile
Quote:
|
|
||||
|
Our company assigns usernames based on staff ID numbers, but prepends a u for "user" or c for "contractor" depending on your status. So employee 12345 is u12345 and contractor 67890 is c67890. Easy, predictable, and avoids the problems perderabo was talking about in his posts. Maybe you could try something like that instead.
|
|
||||
|
Thank you all for replying...
Unfortunately the clien staff numbers is already 8 digit long, so I can't add more character in front of it ![]() I'm still looking for a way to overcome this problem other than saying to the customer that it can't be done , based on little testing, the username with all numeric have problems when the user tries to connect to CDE GUI, an error message appeared in /var/adm/messages:Jun 13 16:23:37 uajkt1 /usr/dt/bin/ttsession[27496]: [ID 848021 daemon.error] _Tt_iceauth::make_auth_cookie(): timeout in locking authority file '/home/13598029/.TTauthority' It seems that DT unable to create .TTauthority in the user's home directory ![]() |
|
|||||
|
I have seen long user names in use on Solaris. Creates problems too, but a different set of problems. I'm not sure what happens if the first 8 characters are not unique. But provided that you are using a local /etc/passwd file, It probably would mostly work.
|
![]() |
| Bookmarks |
| Tags |
| solaris |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|