March 3, 201214 yr {OOPS, if this ought to be in the other area, mods please move} Ok, all is working well with my previous 'trials' with getting my system stable. (D#!#%#!# SIL3132 card!) Am now on 5.0-beta14 -- have run the "permissions" utility. Originally, I had the user "root" only. That is the ONLY user that appeared in my "Users" tab. Now I've tried to add the user "Chuck" -- failed. Thinking it was adding ANY new user, I fought a bit with it. Tried a test... added "testuser" -- volia! Worked Tried adding "Chuck" -- failed again... Tried to add "testuser2" -- volia! Worked.... So what am I doing wrong -- seems that "former" users can't be added. Did I miss a step? ...Chuck testuser added OK - Mar 2 18:56:29 unraid emhttp: shcmd (27): useradd -g users -d / -s /bin/false -c 'testuser' testuser |$stuff$ logger (Other emhttp) Mar 2 18:56:29 unraid useradd[2900]: new user: name=testuser, UID=1000, GID=100, home=/, shell=/bin/false Mar 2 18:56:29 unraid emhttp: shcmd (28): chpasswd <<< testuser:"*****" (Other emhttp) Mar 2 18:56:29 unraid emhttp: shcmd (29): smbpasswd -L -s -a testuser <<< "*****"$'\n'"*****" (Other emhttp) Mar 2 18:56:29 unraid emhttp: shcmd (30): cp /etc/passwd /etc/shadow /etc/samba/private/smbpasswd /boot/config (Other emhttp) Mar 2 18:56:29 unraid emhttp: shcmd (31): rmmod md-mod |$stuff$ logger (Other emhttp) Mar 2 18:56:29 unraid emhttp: shcmd (32): udevadm settle (Other emhttp) Adding user Chuck failed Mar 2 18:56:55 unraid emhttp: shcmd (43): useradd -g users -d / -s /bin/false -c 'Chuck' Chuck |$stuff$ logger (Other emhttp) [color=red][b]Mar 2 18:56:55 unraid logger: useradd: invalid user name 'Chuck'[/b][/color] Mar 2 18:56:55 unraid emhttp: shcmd (44): chpasswd <<< Chuck:"*****" (Other emhttp) Mar 2 18:56:55 unraid emhttp: _shcmd: shcmd (44): exit status: 1 (Other emhttp) Mar 2 18:56:55 unraid emhttp: shcmd (45): smbpasswd -L -s -a Chuck <<< "*****"$'\n'"*****" (Other emhttp) Mar 2 18:56:55 unraid emhttp: _shcmd: shcmd (45): exit status: 1 (Other emhttp) Mar 2 18:56:55 unraid emhttp: shcmd (46): cp /etc/passwd /etc/shadow /etc/samba/private/smbpasswd /boot/config (Other emhttp) Mar 2 18:56:56 unraid emhttp: shcmd (47): rmmod md-mod |$stuff$ logger (Other emhttp) Mar 2 18:56:56 unraid emhttp: shcmd (48): udevadm settle (Other emhttp) Adding testuser2 -- no problems... Mar 2 18:58:18 unraid emhttp: shcmd (75): useradd -g users -d / -s /bin/false -c 'testuser2' testuser2 |$stuff$ logger (Other emhttp) Mar 2 18:58:18 unraid useradd[3659]: new user: name=testuser2, UID=1001, GID=100, home=/, shell=/bin/false Mar 2 18:58:18 unraid emhttp: shcmd (76): chpasswd <<< testuser2:"*****" (Other emhttp) Mar 2 18:58:18 unraid emhttp: shcmd (77): smbpasswd -L -s -a testuser2 <<< "*****"$'\n'"*****" (Other emhttp) Mar 2 18:58:18 unraid emhttp: shcmd (78): cp /etc/passwd /etc/shadow /etc/samba/private/smbpasswd /boot/config (Other emhttp) Mar 2 18:58:19 unraid emhttp: shcmd (79): rmmod md-mod |$stuff$ logger (Other emhttp) Mar 2 18:58:19 unraid emhttp: shcmd (80): udevadm settle (Other emhttp) Full syslog attached. syslog-2012-03-02.txt
March 3, 201214 yr Author Try all lower case. I think capital letters don't work. Gosh, that seems too easy. (Or lacking an error message that makes sense) Just tried it -- Yep.. it let me add the lower-case "chuck". It let me, without problems. Now, is that because of the Upper case attempt? Or because "Chuck" existed before, and "chuck" doesn't. Nope, just tried creating a user "Testcaps" -- failed Mar 2 19:23:13 unraid emhttp: shcmd (135): useradd -g users -d / -s /bin/false -c 'Testcaps' Testcaps |$stuff$ logger (Other emhttp) Mar 2 19:23:13 unraid logger: useradd: invalid user name 'Testcaps' Mar 2 19:23:13 unraid emhttp: shcmd (136): chpasswd <<< Testcaps:"*****" (Other emhttp) Mar 2 19:23:13 unraid emhttp: _shcmd: shcmd (136): exit status: 1 (Other emhttp) Mar 2 19:23:13 unraid emhttp: shcmd (137): smbpasswd -L -s -a Testcaps <<< "*****"$'\n'"*****" (Other emhttp) Mar 2 19:23:13 unraid emhttp: _shcmd: shcmd (137): exit status: 1 (Other emhttp) Mar 2 19:23:13 unraid emhttp: shcmd (138): cp /etc/passwd /etc/shadow /etc/samba/private/smbpasswd /boot/config (Other emhttp) Mar 2 19:23:13 unraid emhttp: shcmd (139): rmmod md-mod |$stuff$ logger (Other emhttp) Mar 2 19:23:13 unraid emhttp: shcmd (140): udevadm settle (Other emhttp) It does seem to not like capital letters. Ugh. Musta missed that somewhere. Ugh. I think (I want to remember) that all my former user names were mixed case, or at least capitalized. Oh well. Unless I run into something else related to this, I will mark it {solved} shortly. (Or if anybody has any other input...) Geeze... I feel semi-dumb here. ...Chuck
March 3, 201214 yr They might have been mixed case on Windows, but unRAID has always only allowed lower case. I agree, an error message is all it would take to eliminate the frustration and loss of hair. Joe L.
Archived
This topic is now archived and is closed to further replies.