How do you make a superuser?


 
Thread Tools Search this Thread
Operating Systems Solaris How do you make a superuser?
# 8  
Old 09-16-2017
The urtwn driver (port from BSD) might support the TPLINK device but it looks like it is difficult to find its source code or binaries on the Internet.
# 9  
Old 09-17-2017
You can boot your system into single-user mode by adding '-S' to your GRUB boot command (either on a temporary basis or on a permanent basis).

Solaris 10 (x86/x64) : How to boot into single user mode from the Grub boot loader

Search this forum or Google for:

'Solaris x86 boot single user' for more information.

I don't know why the 'rolemod' command was not found when you tried it. However, try again when in superuser (su) mode with a # prompt.
It should definitely (using Solaris 11) allow you to revert 'root' to a standard account so you can login to it directly. You might need to run

Code:
# passwd root

command to set/change the root password (again whilst superuser).
This User Gave Thanks to hicksd8 For This Post:
# 10  
Old 09-17-2017
Beware that with the current Solaris 11 release, GRUB2 is used instead of GRUB 0.97 (a.k.a. Legacy GRUB) so some of the information provided in the Solaris 10 link is obsolete and wouldn't apply.

See:

x86: Introducing GRUB 2 - Booting and Shutting Down Oracle Solaris 11.1 Systems and

How to Upgrade Your GRUB Legacy System to a Release That Supports GRUB 2 - Booting and Shutting Down Oracle(R) Solaris 11.3 Systems

The rolemod command was not found because it is located in /usr/sbin, so not in the path of a regular, not root user.
These 2 Users Gave Thanks to jlliagre For This Post:
# 11  
Old 09-17-2017
Well i have only run a few commands, but apparently enough to screw something up. Solaris won't let me in to NETWORK settings now. When I try a lil window pops up asking for a 'user' or 'role'. If I put my username in it disappears but the settings don't come up. If I enter root it ask for a password.

I was looking at 'USER MANAGER' and it has my user listed as 'STAFF'. Not only can I not change the group or permissions for 'STAFF', I can't add a new user. It says I'm not authorized.

I think I'll delete the partition and re-install. Then I take a closer look at "rolemod" and single user boot.

Did re-install but it didn't improve much. I still can't change my user or create new user. I can get to network settings now but it won't klet me make changes. I can log on to the router but when I go to places/network/windows network it says "failed to retrieve share list from server". Looks like I'm going to have to learn 'ipadm' and 'dladm' commnads. Doesn't make since that I can't do this from the console.





Guess I'll start here Solaris 10 (x86/x64) : How to boot into single user mode from the Grub boot loader.

I tried the temp solution because /boot/grub didn't have a menu.lst file. My GBL didn't look like the one in the link. But I did find a line that mentioned multiboot and added a space and "-s" to the end of it and pressed F10. It booted to service maintenance something? and dropped me at a root# prompt. Not knowing what to do I entered "exit" CR. then it requested that I log on to console. I was still blocked from areas in the console.

I guess this is what I need. x86: Customizing the GRUB Configuration - Booting and Shutting Down Oracle Solaris 11.1 Systems
Quote:
The grub.cfg file contains most of the GRUB configuration. An additional, editable file named custom.cfg can be used if you want to add more complex constructs, for example, menu entries or other scripting, to the GRUB configuration. This file does not exist on the system by default. You must create the file, and it must reside in the same location as the grub.cfg and menu.conf files, which is in /pool-name/boot/grub/. GRUB processes the commands and any customizations that are in the custom.cfg file through the following code that is located at the end of the grub.cfg file: "

Code:
if [ -f  $prefix/custom.cfg ]; then source $prefix/custom.cfg; fi

But it doesn't help until I know how to use it. Going to see if I can change my user permissions.

Last edited by kkeevv; 09-18-2017 at 03:09 AM..
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

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. 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

7. 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

8. 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

9. 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
Login or Register to Ask a Question