09-12-2007
User Creation in Sun Solaris
Hi,
I want to create a user who has right to change only root user password,
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Helloo to all...
what is the correct way to assign a password to a new NIS user on a NIS master server?
When I the following:
useradd -s /bin/bash -d /export/home/username -m username
The user get created fine but when I try to assign a password I get:
#passwd username... (0 Replies)
Discussion started by: GLJ@USC
0 Replies
2. UNIX for Dummies Questions & Answers
Hey there,
I am starting a Computer Science Foundation year at the end of this month and am trying to get a little bit ahead of the game. I have always wanted to learn Unix and am currently struggling with creating a boot disc to run Solaris (I have chosen to study this) from as opposed to... (0 Replies)
Discussion started by: Jupiter
0 Replies
3. Solaris
hi, i'm windows user. i want to shift to Sun Solaris. what do u advise me? (2 Replies)
Discussion started by: mellom
2 Replies
4. Shell Programming and Scripting
I want to create a shell script to CLI login to attached SUN 6140 storage from Sun Solaris 9 m/c (instead of using CAM )
but that prompts me for password despite the fact that i am adding them in script .. i am using "expect" feature for this .. however as i never used "expect " before .. so... (0 Replies)
Discussion started by: yogesh29sharma
0 Replies
5. Solaris
Hi,
I am using Solaris 10. How could I find when a solaris user was created?
thanks and regards (4 Replies)
Discussion started by: fahdmirza
4 Replies
6. Solaris
I logon with root user, then ok, but as a user logon is not, it is the login window forever ah, wishes to receive help from members of the forum, thanks very much. (2 Replies)
Discussion started by: tampc
2 Replies
7. UNIX for Advanced & Expert Users
Hi,
This Sun M5000 currently has a single domain (0) created. Solaris 10 is installed on this domain with some local zones. Now we need to add a secondary hardware domain (1) to this M5000. My question: Can we keep the current OS settings on domain 0 when adding the secondary domain 1?
... (0 Replies)
Discussion started by: aixlover
0 Replies
8. Solaris
Hi,
This Sun M5000 currently has a single domain (0) created. Solaris 10 is installed on this domain with some local zones. Now we need to add a secondary hardware domain (1) to this M5000. My question: Can we keep the current OS settings on domain 0 when adding the secondary domain 1?
Thank... (5 Replies)
Discussion started by: aixlover
5 Replies
9. UNIX for Advanced & Expert Users
Hi,
I am using Solaris 10 OS and Bash shell.Is there any way can we automate User creation and setting passwords through a script or any freeware tool.
Advance thanks for your response. (1 Reply)
Discussion started by: muraliinfy04
1 Replies
10. Shell Programming and Scripting
Hi All,
I am new to shell scripting and have a task which need to be completed ASAP.
I have searched all the forum and couln't find excat script which could run on solaris.can someone give me the fully working script for below.
Bash shell script to create user account with paraments as... (1 Reply)
Discussion started by: sintilash
1 Replies
LEARN ABOUT OPENSOLARIS
sulogin
sulogin(1M) System Administration Commands sulogin(1M)
NAME
sulogin - access single-user mode
SYNOPSIS
sulogin
DESCRIPTION
The sulogin utility is automatically invoked by init when the system is first started. It prompts the user to type a user name and password
to enter system maintenance mode (single-user mode) or to type EOF (typically CTRL-D) for normal startup (multi-user mode). The user should
never directly invoke sulogin. The user must have the solaris.system.maintenance authorization.
The sulogin utility can prompt the user to enter the root password on a variable number of serial console devices, in addition to the tra-
ditional console device. See consadm(1M) and msglog(7D) for a description of how to configure a serial device to display the single-user
login prompt.
FILES
/etc/default/sulogin
Default value can be set for the following flag:
PASSREQ
Determines if login requires a password. Default is PASSREQ=YES.
/etc/default/login
Default value can be set for the following flag:
SLEEPTIME
If present, sets the number of seconds to wait before login failure is printed to the screen and another login attempt is allowed.
Default is 4 seconds. Minimum is 0 seconds. Maximum is 5 seconds.
Both su(1M) and login(1) are affected by the value of SLEEPTIME.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsr |
+-----------------------------+-----------------------------+
SEE ALSO
auths(1), login(1), consadm(1M), init(1M), su(1M), attributes(5), msglog(7D)
NOTES
By default, the root user has all authorizations.
Granting the solaris.system.maintenance authorization to the Console User Rights Profile may have an undesirable side effect of granting
the currently logged in user maintenance mode access. The solaris.system.maintenance authorization should be directly granted to appropri-
ate users rather than through the Console User Rights Profile.
SunOS 5.11 21 Aug 2008 sulogin(1M)