Username lenght more then 8 characters



  • 1. subscribe
    how do i subscribe to this group and comp.unix.solaris?
  • 2. Password Aging for System Accounts
    Password aging works wonderfully. However, if it's the root account, and you don't log on and change it before it expires, you can wind in a heap of trouble! Not being able to use the root account (su -) creates all kinds of problems, both with current activities, as well as taking systems down to recover the account. Being that we're sysadmins with ultimate authority on the systems we maintain (we are in fact the ones who implement the aging policy), and that our company has entrusted us to secure passwords, does anyone have a policy where they don't age their root passwords? We're trying to sell this one exception to the general policy to our IT managers, but they want a "best practice" document to show that it's somewhat common in the industry. Has anyone seen anything out there by Sun or any security sites that might help us sell this? TIA
  • 3. Solaris equivalent commands for HP and AIX
    Hello all, I am a Solaris administrator who has been given the task of remotely gathering information on the raw disk capacity of a bunch of SUN ,HP and AIX machines. I am trying to avoid counting disks twice when thy are shared by many machines and clusters. I am also want to avoid missing disks that might be mirrors or otherwise associated with logical volumes or RAIDS of any type. For Solaris boxes I plan to use format to capture all of the disks that an individual server can see and then do an iostat to capture disk manufacture and serial numbers. It seems that I can then just processes all of the results and eliminate duplicate entries for disks (via serial number) that are shared among machines. My question is how can I capture the same information on the AIX and HP boxes? I cannot find any commands the correspond directly to format and iostat for these environments. Any help or suggestions would be greatly appreciated. Thanks in advance, Dave
  • 4. Question on SGID at dir level
    I am not positive I'm reading my book correctly so here's the issue... I have a directory with the following permissions: drwsrwsr-t 2 produser prodgrp 16384 Feb 17 17:27 ./ drwxrwsr-x 6 blah more blah 4096 Feb 13 13:01 ../ -rw-rw---- 1 userA prodgrp 455 Feb 17 14:50 8aOUS -rw-rw---- 1 userA prodgrp 455 Feb 17 14:49 fa4rS Now, If I read my book correctly when someone who is a member of prodgrp tries to remove any of the files in this directory they have their groups set to the groups of the directory owner; in this case produser. Is this the case? My actual problem is that users who are a member of prodgrp can create new files and modify exising ones but cannot delete files. My guess is that when they do this they take on the group id's of produser, who just so happens to not be a member of prodgrp. It looks to me like this being the case they would not be able to do anything in the directory but I'm just taking a stab in the dark. Thanks. ~F

Username lenght more then 8 characters

Postby subodh » Fri, 20 Jan 2006 11:48:28 GMT


I have created a 9 character User name in Solaris 2.6,it gave me a
warning but created the user.When I try to login using that username
after putting the password it says the user does not exists & shows
only 8 characters of the username.
Can someone tell me any work around.
I am using ssh to login to the server.

Re: Username lenght more then 8 characters

Postby Michael Vilain » Fri, 20 Jan 2006 14:12:13 GMT

In article < XXXX@XXXXX.COM >,

The UNIX standard length limit for usernames, groups, and passwords is 8 
characters.  This limit is very much in place in Solaris 2.6 but less of 
a problem with Solaris 10.  

On a 2.6 system, some things won't work right.  ps and ls -l for one.  
You didn't mention what type of authentication you were doing--local 
files or NIS or god forbid, NIS+.  If you're using local files, check 
/etc/passwd for the entry.  It may have been truncated in which case 
you'll have to edit the file by hand.  I have no information on whether 
NIS or NIS+ can cope with 8-character usernames or groups.  All these 
systems don't look beyond 8 characters for passwords, period, so that's 
pretty much that.

If this is really important, why not upgrade to Solaris 10?  If it's 
not, then change the usernames to 8 characters and live with the 

DeeDee, don't press that button!  DeeDee!  NO!  Dee...

Similar Threads:

1.SN#12997 Enhancing Java[TM] Technology Code to Accommodate Supplementary Characters

2.Displaying cyrillic characters in title bar


I want to be able to render cyrillic characters correctly in window
title bars.  At the moment, if I run (say) firefox and browse to a
Russian website, the content renders correctly but the title bar
displays as "????????".

I've installed the package SUNW1251f, but this provides fonts under a
specific locale (ru.ansi-1251).  I don't want to run everything in a
Russian locale; merely render fonts correctly where they are available.
 My current locale is en_GB.ISO8859-1.

Thanks for any help
- Ian

Ian Chard, Senior Unix and Network Admin  |  E:  XXXX@XXXXX.COM 
Systems and Electronic Resources Service  |  T:  80587 / (01865) 280587
Oxford University Library Services        |  F:          (01865) 242287

3.HELP: serial port spitting out strange characters with tip


I'm hoping someone can shed some light on this situation. I have two
db-9 rj-12 female connectors that I am using for a console connection
to a SB-100 connected via the T3 silver satin cable to my laptop. I've
crossed pins 2 & 3 and used 5 for ground, via a multi-meter.

Here's a sample of the output I am getting. This happens in Windows
with CRT and also in Linux with Minicom:

root@bladeeri0 # clear
cle\377ar: not found
root@bladeeri0 # clear

root@bladeeri0 # 
\377\377: not found
root@bladeeri0 # 
root@bladeeri0 # 
root@bladeeri0 # 
root@bladeeri0 # 

As you can see, strange looking () chars are being displayed over the
terminal, and I am not sure why this is happening. It seems to me its
the cable because its not laptop specific or sun system specific.

I've also tried enabling/disabling software flow control and hardware
flow control, this makes no difference.

Any ideas or thoughts would be greatly appreciated, also cc: if
possible, thanks in advance.


4.Problem: Sun Ray 1 seems to loose characters

5.Changing a username

I have an Ultra 80 as a home computer, which has 'davek' as my login
name. This used to be my login at work too, but due to spam reasons I
had my username at work changed to something else (say foobar).

I often ssh to work from home, but keep putting the username

ssh -l foobar work_machine

which gets a bit tedious. Overall, I think it would be less hassle if
usernames the same on both machines.

Hence I'd like to change the home machine's username from davek to
foobar. What's the simplist way to do this? Delete user davek, then
create user foobar with the same UID as davek had? Edit manually
/etc/passwd and /etc/shadow. Both seem if they will work to me, but
I'd like to know of any 'gotchas' before doing it.

dave k

6. Solaris 9 LDAP client cannot find username / groupname for non-root accounts

7. Start a process as boot with username != root

8. Problem with enviroment variables with su - username -c on Solaris 8

Return to sun


Who is online

Users browsing this forum: No registered users and 51 guest