Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

How do i Change my Root Password on UNRAID

Featured Replies

im trying to change my UNRAID root password.

 

Cant seem to change it from the root control menu... it acts like it does... but doesnt.

also you cant get a list of current users, or check to see if a change "took"

The blind control thing is really bothersome if you arent a command line junkie.

And no command ref makes RTFM a bit difficult as well......

Or a basic terminal How To..... for the New UNRAID owner

 

I cant find any directions on how to do this from the terminal window...

and the Linus command refs i have studied dont provide a solution...... that works

not to mention this is an area where you dont want to play games.....

 

Can someone post a link to a command reference that applys to UNRAID's command set?

And can someone give me a "howto" on how to properly set the passwords and or change/delete them from the terminal window?

 

-------------------Terminal Line Commands Helpful for UNRAID-----------------------

Heres the little I have put together:

Unix Command Directory URL

http://www.math.utah.edu/lab/unix/unix-commands.html

This probably doesnt apply all over the place but is a start.

 

http://vimdoc.sourceforge.net/htmldoc/help.html

This will help you figure out how to edit a file from the command line.

 

Samba and Terminal Commands UNRAID: Sometimes the web interface wont come up, or samba stops and needs restart (Probably from the botnets banging at the NAS trying to get in)

 

/etc/rc.d/rc.samba start - START samba

/etc/rc.d/rc.samba stop

 

You can try to see this:

smbstatus

 

To see what samba thinks is configured, type:      NOTE - THIS GIVES GOOD NFO

testparm

 

Samba keeps its own log file.  To see it, look here.

cat /var/log/samba/smbd.log

 

To see if the samba daemon process is running type:

ps -ef | grep smbd | grep -v grep

 

 

UNMENU:

http://code.google.com/p/unraid-unmenu/source/browse/trunk/uu?spec=svn72&r=72

 

Run as before with

cd /boot/unmenu

./uu

passwd should prompt you to change the root password.

passwd should prompt you to change the root password.

Yes, but once you change it that way, you'll need to copy the password file to the flash drive with a command like this:

cp  /etc/passwd  boot/config/passwd

otherwise, next time you boot you'll probably end up with the old password.

You're both forgetting a major step if the user is also a SAMBA user; otherwise the local and the samba passwords will be out of sync.

 

You must perform all of the following steps, replace LOGIN with the username, such as root:

 

smbpasswd -L LOGIN
passwd LOGIN
cp /etc/passwd /etc/samba/private/smbpasswd /boot/config/

 

If you're running the 5.0 beta, then you should use the following steps (additional shadow password file to copy:

 

smbpasswd LOGIN
passwd LOGIN
cp /etc/passwd /etc/shadow /etc/samba/private/smbpasswd /boot/config/

passwd should prompt you to change the root password.

Yes, but once you change it that way, you'll need to copy the password file to the flash drive with a command like this:

cp  /etc/passwd  boot/config/passwd

otherwise, next time you boot you'll probably end up with the old password.

 

Thanks Joel L for correcting that. I keep forgetting about the temp install until reboot.

  • 10 months later...

Thank you.  This is just what I needed after my fat fingers changed the password via the UI.  Luckily I was already logged onto the console so I could preform these steps.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.