Sponsored Content
Full Discussion: How do you make a superuser?
Operating Systems Solaris How do you make a superuser? Post 303003540 by hicksd8 on Friday 15th of September 2017 12:32:21 PM
Old 09-15-2017
Re your post#1, in Solaris 11 the root user (superuser) is a 'role' by default and cannot be logged into directly, only su'd to.

This is, of course, for security reasons. However, if you so choose, you can revert user 'root' to a standard user account by issuing:#

Code:
# rolemod -K type=normal root

having previously su'd to gain superuser rights. After that, subject to setting/knowing the root user password you can log directly in as root giving you immediate superuser rights without the need to su.

Another option would be to start your system in single user which brings it up in superuser but without multiuser services such as networking. However, you could soon script yourself something to start the services you require, mount filesystems, and other things whilst you are still in single user. It just depends on whether one single user (from the console) will serve your purpose. Perhaps provide us all with more information so that we can be more specific.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

superuser password change

how can i change the superuser password? the admin left the company, and we want to change the password. to gain su access, i use: # su - password:***** (old password) then, using passwd command it changes my own login password, not the root?? (this is not trying to block anybody's... (4 Replies)
Discussion started by: apalex
4 Replies

2. UNIX for Advanced & Expert Users

No user able to login except root(superuser)

Hi All, Oracle 8.0 database is running on SCO-UNIXWARE 7.0 Operating system. Some how ORACLLE DATABASE has crashed. After rebooting the PC only the SUPER USER could login. No other user is able to login. we need ORACLE user to start the DATABASE again. It is asking for the password, after... (2 Replies)
Discussion started by: konda
2 Replies

3. UNIX for Dummies Questions & Answers

runing a script as superuser

My first post: in /etc/rc2.d i have a startup script: Script1. if you run #>scirpt1 stop/start from any user other than root you will get u must be supper user to run this script. eventhough the rights are 777. Question: how can i get my user_a be able to run this script to stop and start it... (2 Replies)
Discussion started by: bcheaib
2 Replies

4. UNIX for Dummies Questions & Answers

SuperUser

Can I create a superuser account in scoadmin? If not how do I do it via command line (0 Replies)
Discussion started by: maconte
0 Replies

5. Shell Programming and Scripting

to run sql as superuser

hi All, In my script I want to run some drop and select statements in the same host as a different user.I am inputting password for the superuser from the user who will be executing the script. ie , I would be greatfull to you experts if you could suggest me how to proceed. (4 Replies)
Discussion started by: Sreejith_VK
4 Replies

6. Solaris

superuser without prompting for pswd.

I have a korn shell script (main.sh) owned by unix account "A". I want to execute certain lines in the script using another user "B" (with user "B" login profile). I need to do this way for multiple lines to be executed using different unix accounts in main.sh. I was trying to use "su -... (3 Replies)
Discussion started by: Ashok_107
3 Replies

7. Solaris

Solaris superuser login

Hi! Can someone please tell me how to log-in to Solaris as a superuser or as a root? I have tried using "root" as a username, and my superuser password i had set in the terminal for the log-in password but it says "Roles can only be assumed by authorized users". "Permission denied." I'm... (1 Reply)
Discussion started by: CarlosP
1 Replies

8. UNIX for Dummies Questions & Answers

Superuser

Hello! I found this on net: This is the ``prompt''. If you entered you username, or your password incorrectly, you will be greeted by: Login incorrect localhost login: Don't panic, try again. Likely you either mis-typed either your login name, or your password. Try again. You're not... (2 Replies)
Discussion started by: pinklemon
2 Replies

9. UNIX for Dummies Questions & Answers

Adding plesk superuser from SSH

I'm trying to add a superuser (admin) to plesk from SSH (I have root access). Can this be done? I have search over the web but did not find any solution to my problem. My version is Plesk 9.3 (0 Replies)
Discussion started by: galford
0 Replies
keylogin(1)						      General Commands Manual						       keylogin(1)

NAME
keylogin - decrypt and store secret key with keyserv SYNOPSIS
[ ] DESCRIPTION
The command prompts for a password, and uses it to decrypt the user's secret key. The key may be found in the file (see publickey(4)), the NIS map or entries in the LDAP directory in the user's home domain. The sources and their lookup order are specified in the file (see nss- witch.conf(4)). Once decrypted, the user's secret key is stored by the local key server process, This stored key is used when issuing requests to any secure RPC services, such as NFS. The program can be used to delete the key stored by will fail if it cannot get the caller's key, or the password given is incorrect. For a new user or host, a new key can be added using Options Update the file. This file holds the unencrypted secret key of the superuser. Only the superuser may use this option. It is used so that processes running as superuser can issue authenticated requests without requiring that the administrator explicitly run as superuser at system startup time (see keyserv(1M)). The option should be used by the administrator when the host's entry in the publickey database has changed, and the file has become out-of-date with respect to the actual key pair stored in the publickey database. The permissions on the file are such that it may be read and written by the superuser but by no other user on the system. WARNINGS
HP-UX 11i Version 2 is the last HP-UX release on which NIS+ is supported. LDAP is the recommended replacement for NIS+. HP fully supports the industry standard naming services based on LDAP. AUTHOR
was developed by Sun Microsystems, Inc. FILES
Superuser's secret key SEE ALSO
chkey(1), keylogout(1), login(1), keyserv(1M), newkey(1M), publickey(4), nsswitch.conf(4). keylogin(1)
All times are GMT -4. The time now is 09:57 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy