Username with more than 8 Characters


 
Thread Tools Search this Thread
Operating Systems AIX Username with more than 8 Characters
# 1  
Old 03-10-2008
Username with more than 8 Characters

Hey,

i'm using AIX 5.3 which authenticates against a Microsoft Active Directory.
Everything works fine but like everytime there's a problem.

I created users with usernames with more than 8 characters.

Now i tried do login on AIX with these users, which didn't work. The login-window prohibits the entry of more than 8 characters. Trying to login by shell succeeds.
Same behaviour using the ls-command. Only 8 characters are displayed. In my opinion the backround works allright because... (see exmaple)

Example:
users: testuser & testuser2
--> chown testuser2 folder
--> ls -altr shows: drwxrwxrwx testuser ....
Trying to open the folder as testuser collapses.
Trying to open folder as testuser2 succeeds.


Most important is the problem with the login-window. how can i permit typing more than 8 characters??

Thx
# 2  
Old 03-10-2008
For a pretty long time 8 characters were a limit in AIX. Everything in excess were not being taken into account. This has changed in one of the 5.x versions (i'm not sure in which one), but it may well be that "dtlogin" (or "dtgreet" respectively) doesn't reflect this change. In this case you should open a PMR at IBM and get some corrective services from them.

As an aside: it may be that user names with more than 8 characters are now allowed but i would - for reasons like your problem - generally avoid going to such limits. It should be possible to create a naming convention for which 8 characters suffice and i'd suggest using that instead of other measures which may as well create similar problems with the next system you are trying to interconnect with.

I hope this helps.

bakunin
# 3  
Old 03-11-2008
Beginning with 5.3 AIX can use usernames up to a length of 255 chars. Unfortunately this has to be configured as the default is still 8 chars (AIX does not complain if your login name is longer - however everything after the eighth char is not used for login name validation but ignored). Use smitty chgsys and change the "Max login name length at boot time" to the value you need. Mind that you need to add 1 to that number because of the extra char for the terminating NULL char. Reboot and try again.

Last edited by shockneck; 03-11-2008 at 04:52 AM..
# 4  
Old 03-11-2008
thanks a lot for your answers.

Your solution-suggestion works absolutly fine, shockneck.


I think the ls-problem will open a PMR.

If you want to, i'll post the answer (in case of a wise answer).
But if somebody knows how to abolish the problem, please post it.


Greetz
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Why does "ps -[u|U] username" not list processes when username is numeric?

Greetings, The title pretty much says it all. I've snooped everywhere and can't find anything on this. Since our organization went to numeric usernames, using the u|U option for ps returns no processes. Example passwd entry: 320074:DjZAJKXun8HBs:10129:6006:Joe Y:/cadhome/analysis/jy:/bin/bash... (4 Replies)
Discussion started by: crimso
4 Replies

2. Shell Programming and Scripting

Outputting characters after a given string and reporting the characters in the row below --sed

I have this fastq file: @M04961:22:000000000-B5VGJ:1:1101:9280:7106 1:N:0:86 GGGGGGGGGGGGCATGAAAACATACAAACCGTCTTTCCAGAAATTGTTCCAAGTATCGGCAACAGCTTTATCAATACCATGAAAAATATCAACCACACCA +test-1 GGGGGGGGGGGGGGGGGCCGGGGGFF,EDFFGEDFG,@DGGCGGEGGG7DCGGGF68CGFFFGGGG@CGDGFFDFEFEFF:30CGAFFDFEFF8CAF;;8... (10 Replies)
Discussion started by: Xterra
10 Replies

3. Solaris

Su -i username not working why

Hi all, System is Solaris10 There is one script which i was able to execute with following entry:- su user1 -c "/u01/scripts/mfg/_db-start.all" But when I do this, which asked to do with -i option su -i user1 -c "/u01/scripts/mfg/_db-start.all" It gives following message:-... (1 Reply)
Discussion started by: manalisharmabe
1 Replies

4. Shell Programming and Scripting

sed replacing specific characters and control characters by escaping

sed -e "s// /g" old.txt > new.txt While I do know some control characters need to be escaped, can normal characters also be escaped and still work the same way? Basically I do not know all control characters that have a special meaning, for example, ?, ., % have a meaning and have to be escaped... (11 Replies)
Discussion started by: ijustneeda
11 Replies

5. Shell Programming and Scripting

Replace special characters with Escape characters?

i need to replace the any special characters with escape characters like below. test!=123-> test\!\=123 !@#$%^&*()-= to be replaced by \!\@\#\$\%\^\&\*\(\)\-\= (8 Replies)
Discussion started by: laknar
8 Replies

6. Post Here to Contact Site Administrators and Moderators

Change Username

Hello, I'd like to change my username if possible. The reason is that it is my actual name, and I'd like to remove it from search engines. If it is possible, I'd like to change it to creeps. Thanks in advance! (1 Reply)
Discussion started by: cezar.elnazli
1 Replies

7. Post Here to Contact Site Administrators and Moderators

username

Is it possible to change my username in this site or is thre a way to delete my account and then create a new one with a diffrent user name (2 Replies)
Discussion started by: floresr
2 Replies

8. Solaris

Using all numeric for username

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 (5 Replies)
Discussion started by: aryamahzar
5 Replies

9. Linux

username logner than 8 characters

Hi ! I'm using Fedora Core 6, commands like "who", "users" show correct username but "last" command is truncated to 8 characters. How can I make "last" command show long username? (0 Replies)
Discussion started by: fongthai
0 Replies
Login or Register to Ask a Question