Sponsored Content
Full Discussion: Update OpenBoot Prom from CD
Operating Systems Solaris Update OpenBoot Prom from CD Post 302890611 by pvibien on Thursday 27th of February 2014 02:13:22 PM
Old 02-27-2014
okay got that to work and finally got Solaris installed.

Now i have a general unix question, in the root account when i open the terminal i get a pound sign #

But when i login into an account that i create with useradd -d /export/home/user -m user

i only get the $ instead is it only posible to get the # with the root account??
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Prom

Is there any place where i can look for the commands that can be used on the ok> prompt (3 Replies)
Discussion started by: Jai
3 Replies

2. UNIX for Advanced & Expert Users

Having PROM Env remotely !

My workstation's graphic card had problem so unitl it's fixing if i want to have PROM env & run some commands like OK probe-scsi or ..... what should i do ? Rgrds Nikk (1 Reply)
Discussion started by: nikk
1 Replies

3. UNIX for Advanced & Expert Users

PROM password

I have a query. Its about the PROM password on a SUN ULTRA5. I am the administrator of a UNIX network, which is actually a private network within the company that I work for. The IT department who supplied the workstations will not remove the PROM passwords - I need it removed in order to do... (1 Reply)
Discussion started by: Kanu77
1 Replies

4. UNIX for Dummies Questions & Answers

PROM password for UNIX workstation.

Can someone give me the reason why PROM passwords are put on UNIX machines??? Is there a genuinely good, sane and reasonable decision for this??? (1 Reply)
Discussion started by: Kanu77
1 Replies

5. Solaris

Disable Network cards under boot Prom

Hi, I'm looking for a command to be able to disable a network card under the boot PROM. I need it to force my Jumpstart to use the Ethernet card of my server (V880) instead of my fiber card (gem0). Thanks, Fabien (6 Replies)
Discussion started by: unclefab
6 Replies

6. Solaris

Get openboot version without going to PROM

Hi there How do i get the openboot version from within solaris 8-sparc. i cant seem to run "banner" or ".version" using eeprom cheers (2 Replies)
Discussion started by: hcclnoodles
2 Replies

7. Solaris

upgrading Openboot PROM

Hi there, I have a Sunfire v210 running solaris 8 and the PROM banner shows that the openboot version is 4.11.4, I have nbeen asked to make sure that the PROM is at the latest version. Does anybody know the procedure for upgrading openboot, and indeed , where i can get the software from any... (6 Replies)
Discussion started by: hcclnoodles
6 Replies

8. Shell Programming and Scripting

prom in deleting a pattern

hi guys, i have a directory.inside that so many directories and files are there.i want to search the complete directory for a pattern in all the .txt files.if i will find that pattern then i want to delete that pattern from that file. please help me out. i want it urgent (18 Replies)
Discussion started by: suvendu4urs
18 Replies

9. Solaris

OpenBoot Simulator

Hi, I would like to know if it's possible find a openboot simulator for solaris to can practice some exercices Thanks a lot and sorry for my english! (11 Replies)
Discussion started by: mierdatuti
11 Replies

10. Solaris

Openboot does not display

Hey guys I just inherited a sun netra 210 from an old Avaya system we had setup and I want to use i for studying for my SCSA/OCA exams but I'm running into alot of problems installing SOL 10 on here. I have no experience with SUN hardware at all but familiar with Solaris. It has SOL 9 but no one... (7 Replies)
Discussion started by: blackmantis
7 Replies
useradd(8)						      System Manager's Manual							useradd(8)

NAME
useradd - create a new user account SYNOPSIS
useradd [-D binddn] [-P path] [-c comment] [-d homedir] [-e expire] [-f inactive] [-G group,...] [-g gid] [-m [-k skeldir]] [-o] [-p password] [-u uid] [-U umask] [-r] [-s shell] [--service service] [--help] [--usage] [-v] [--preferred-uid uid] account useradd --show-defaults useradd --save-defaults [-d homedir] [-e expire] [-f inactive] [-g gid] [-G group,...] [-k skeldir] [-U umask] [-s shell] DESCRIPTION
useradd creates a new user account using the default values from /etc/default/useradd and the specified on the command line. Depending on the command line options the new account will be added to the system files or LDAP database, the home directory will be created and the initial default files and directories will be copied. The account name must begin with an alphabetic character and the rest of the string should be from the POSIX portable character class ([A- Za-z_][A-Za-z0-9_-.]*[A-Za-z0-9_-.$]). OPTIONS
-c, --comment comment This option specifies the users finger information. -d, --home homedir This option specifies the users home directory. If not specified, the default from /etc/default/useradd is used. -e, --expire expire With this option the date when the account will be expired can be changed. expiredate has to be specified as number of days since January 1st, 1970. The date may also be expressed in the format YYYY-MM-DD. If not specified, the default from /etc/default/useradd is used. -f, --inactive inactive This option is used to set the number of days of inactivity after a password has expired before the account is locked. A user whose account is locked must contact the system administrator before being able to use the account again. A value of -1 disables this feature. If not specified, the default from /etc/default/useradd is used. -G, --groups group,... With this option a list of supplementary groups can be specified, which the user should become a member of. Each group is separated from the next one only by a comma, without whitespace. If not specified, the default from /etc/default/useradd is used. -g, --gid gid The group name or number of the user's main group. The group name or number must refer to an already existing group. If not speci- fied, the default from /etc/default/useradd is used. -k, --skel skeldir Specify an alternative skel directory. This option is only valid, if the home directory for the new user should be created, too. If not specified, the default from /etc/default/useradd or /etc/skel is used. -m, --create-home Create home directory for new user account. -o, --non-unique Allow duplicate (non-unique) User IDs. -p, --password password Encrypted password as returned by crypt(3) for the new account. The default is to disable the account. -U, --umask umask The permission mask is initialized to this value. It is used by useradd for creating new home directories. The default is taken from /etc/default/useradd. -u, --uid uid Force the new userid to be the given number. This value must be positive and unique. The default is to use the first free ID after the greatest used one. The range from which the user ID is chosen can be specified in /etc/login.defs. --preferred-uid uid Set the new userid to the specified value if possible. If that value is already in use the first free ID will be chosen as described above. -r, --system Create a system account. A system account is an user with an UID between SYSTEM_UID_MIN and SYSTEM_UID_MAX as defined in /etc/login.defs, if no UID is specified. The GROUPS entry in /etc/default/useradd is ignored, too. -s, --shell shell Specify user's login shell. The default for normal user accounts is taken from /etc/default/useradd, the default for system accounts is /bin/false. --service service Add the account to a special directory. The default is files, but ldap is also valid. -D, --binddn binddn Use the Distinguished Name binddn to bind to the LDAP directory. The user will be prompted for a password for simple authentica- tion. -P, --path path The passwd and shadow files are located below the specified directory path. useradd will use this files, not /etc/passwd and /etc/shadow. --help Print a list of valid options with a short description. --usage Print a short list of valid options. -v, --version Print the version number and exit. FILES
/etc/passwd - user account information /etc/shadow - shadow user account information /etc/group - group information /etc/default/useradd - default values for account creation /etc/skel - directory containing default files SEE ALSO
passwd(1), login.defs(5), passwd(5), shadow(5), userdel(8), usermod(8) AUTHOR
Thorsten Kukuk <kukuk@suse.de> pwdutils May 2010 useradd(8)
All times are GMT -4. The time now is 09:39 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy