- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- useradd in format of firstname.lastname
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2008 11:56 AM
03-06-2008 11:56 AM
useradd in format of firstname.lastname
If not is there another way to make this happen?
$ useradd joe.smith
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2008 12:13 PM
03-06-2008 12:13 PM
Re: useradd in format of firstname.lastname
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2008 12:16 PM
03-06-2008 12:16 PM
Re: useradd in format of firstname.lastname
If you mean:
# useradd -u 3000 -c "First.Last" someuser
However, you cannot create a login name like "some.user". The login name must begin with an alpha character and may only contain alphanumeric and underscore characters.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2008 12:19 PM
03-06-2008 12:19 PM
Re: useradd in format of firstname.lastname
see this post
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=110703
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2008 12:26 PM
03-06-2008 12:26 PM
Re: useradd in format of firstname.lastname
$useradd firstname.lastname
but through sam it did not work on 11.11.
However I did this to get around it.
$useradd test
$vi /etc/passwd
changed line from test to test.tes.
login did work however cant get around 8 char limit.
thank you!
derek
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2008 12:27 PM
03-06-2008 12:27 PM
Re: useradd in format of firstname.lastname
$useradd firstname.lastname
but through sam it did not work on 11.11.
However I did this to get around it.
$useradd test
$vi /etc/passwd
changed line from test to test.tes
login did work however cant get around 8 char limit.
thank you!
derek
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2008 12:27 PM
03-06-2008 12:27 PM
Re: useradd in format of firstname.lastname
"The useradd command may be used with the login argument, where login is the new login name, specified as a string of printable characters. It may not contain a colon (:) or a newline (\n)."
the problem isn't the ".", that works fine. (I've a bunch of users with x.y logins). the issue is that sam and useradd limit the login id to 8 characters...which is the standard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2008 12:55 PM
03-06-2008 12:55 PM
Re: useradd in format of firstname.lastname
http://docs.hp.com/en/B3921-60631/lugadmin.1M.html
Pay careful attention to the warnings section - not all applications or commands will work as expected with long user names, so make sure to do plenty of testing...
HTH
Duncan
I am an HPE Employee
