useradd - size of login name


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers useradd - size of login name
# 1  
Old 08-06-2001
PHP useradd - size of login name

Is there a way to bypass the limit of 8 characters which is mentioned when you use "useradd" on Solaris 7x?

The Man pages mention following sentence:
QUOTE:
The login field (login) is a string no more than eight bytes
consisting of characters from the set of alphabetic charac-
ters, numeric characters, period (.), underscore (_), and
hypen (-). The first character should be alphabetic and the
field should contain at least one lower case alphabetic
character. A warning message will be written if these res-
trictions are not met. A future Solaris release may refuse
to accept login fields that do not meet these requirements.
The login field must contain at least one character and must
not contain a colon (Smilie or a newline (\n).
:ETOUQ

Rgds
Bernard
# 2  
Old 08-06-2001
Not that I know of. However, if you are mostly interested in email, you can aliase the user name to longer names in the /etc/aliases file. That is what we do.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Resizing Terminal Size Upon Login?

Hello All, PC: CuBox-i OS: OpenSuSE 13.1 uname: Linux CuBox 3.14.14-cubox-i #1 SMP Sat Sep 13 03:48:24 UTC 2014 armv7l armv7l armv7l GNU/Linux Shell: Bash So I was trying to see if there was a way to resize the terminal dynamically upon logging into a remote PC. How I login now is to use... (3 Replies)
Discussion started by: mrm5102
3 Replies

2. Solaris

useradd

I want to creat a 27 logins in solaris.Can anyone tell me how to write a script for that so that i create at a time for all 27 people. Thanks to guide me. (6 Replies)
Discussion started by: kkalyan
6 Replies

3. Solaris

useradd

if useradd command is deleted in solaris how do we add user (3 Replies)
Discussion started by: vivek_ng
3 Replies

4. UNIX for Advanced & Expert Users

useradd?

Hi Experts, when using useradd command, what are the necessary options/arguments to be included? Please advice. (4 Replies)
Discussion started by: etcpasswd
4 Replies

5. Shell Programming and Scripting

useradd

Gurus, I need to add a user to all the machines. I need a script to do this. I did one but it does not allow me to su to root within a ssh session i open. It exists saying su: Sorry. Please let me know how i can do it. I do not have the freedom of using sudo either. Regards (4 Replies)
Discussion started by: earlysame55
4 Replies

6. UNIX for Dummies Questions & Answers

[ksh] useradd

Hi, I would like to add a user on my system. If i type : #useradd chodaboy It displays : ksh:command unknown Does anybody know what is the ksh command to create a user ? Thanks for reply. (3 Replies)
Discussion started by: chodaboy
3 Replies

7. Solaris

useradd

Hi, I need to add a new user who will only be able to access one single folder on my Solaris 9 system. Can this be achieved by using just useradd or do i need to fiddle with auth_attr table? TIA, Selma (4 Replies)
Discussion started by: Selma
4 Replies

8. Solaris

ioctl() fails to get window size from console login

Hi, I need to get the console window size for an application, for which I used ioctl() by passing the TIOCGWINSZ parameter. The ioctl() function does not fail (returns non zero), but it could not get the window size (gets 0x0). When I tried to verify the window size by the stty -a command, the... (2 Replies)
Discussion started by: diganta
2 Replies

9. UNIX for Advanced & Expert Users

useradd

Hi. due to some needs i gave a user the premission to use useradd command with sudo. i want to know if there is a way to let him set the initial password, without giving him the premission to use passwd command as root (sudo). maybe a way to set a default password for all the new users that... (2 Replies)
Discussion started by: dorilevy
2 Replies

10. UNIX for Dummies Questions & Answers

useradd

I work on some hp ux 11.00 Servers. i have to add an user. i use the useradd command like follows: useradd -u 72022 -g 71095 -c " comment " -d /PACKAGE_NAME/home/username -s /usr/bin/sh username The command returns with error 3. The manpage means value number 3: Invalid argument supplied to an... (6 Replies)
Discussion started by: ortsvorsteher
6 Replies
Login or Register to Ask a Question