02-27-2014
Yep, that's exactly right. The # prompt reminds you that you are root; whether you logged in as root or su'd up to root.
Other users get the $ prompt.
You can modify your prompt to 'root@<nodename>' which is even better for reminding you what rights you have.
Many administrators spend their time switching between accounts, and/or su'ing to root to do specific tasks.
On most flavors of Unix/Linux the root user by-passes ALL security so one mistake as root can blow up the system whereas other users will get caught by security if the try to do something stupid.
The # reminds you that you are root (ie, god) and anything you say goes; no questions asked; literally!!!!
---------- Post updated at 07:45 PM ---------- Previous update was at 07:33 PM ----------
If you're a sysadmin with multiple systems on your network setting a prompt of 'root@<nodename>' also reminds you which system you are on as you move about your different systems.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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
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
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
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
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
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
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
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
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
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
LEARN ABOUT OSX
dsenableroot
dsenableroot(8) BSD System Manager's Manual dsenableroot(8)
NAME
dsenableroot -- enables or disables the root account.
SYNOPSIS
dsenableroot [-d] [-u username] [-p password] [-r rootPassword]
DESCRIPTION
dsenableroot sets the password for the root account if enabling the root user account. Otherwise, if disable [-d] is chosen, the root
account passwords are removed and the root user is disabled.
A list of flags and their descriptions:
-u username
Username of a user that has administrative privileges on this computer.
-p password
Password to use in conjunction with the specified username. If this is not specified, you will be prompted for entry.
-r rootPassword
Password to be used for the root account. If this is not specified for enabling, you will be prompted for entry.
EXAMPLES
-dsenableroot
Your username will be used and you will be queried for both your password and the new root password to be set to enable the root
account.
-dsenableroot -d
Your username will be used and you will be queried for only your password to disable the root account.
-dsenableroot -u username -p userpassword -r rootpassword
The supplied arguments will be used to enable the root account.
-dsenableroot -d -u username -p userpassword
The supplied arguments will be used to disable the root account.
Mac OS August 08 2003 Mac OS