Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
01-31-2011, 12:26 AM
|
#16
|
LQ Newbie
Registered: Jan 2011
Posts: 13
Rep:
|
For ZFS, your individual action is Solaris. The Linux ZFS ports aren't fit for echt use yet, and lowest I heard, the FreeBSD ZFS left was nonexistent umpteen features.
|
|
0 members found this post helpful.
|
Click here to see the post LQ members have rated as the most helpful post in this thread.
|
01-31-2011, 08:14 PM
|
#17
|
Member
Registered: Feb 2004
Location: Washington, USA
Distribution: Debian
Posts: 265
Rep:
|
@brokenpromises Might want to keep your eye on this project: http://zfsguru.com/
Rapidly moving and they seem to take feature requests too.
|
|
1 members found this post helpful.
|
02-12-2011, 02:38 AM
|
#18
|
Member
Registered: Jan 2005
Location: NZ
Distribution: Fedora / Debian
Posts: 99
Original Poster
Rep:
|
I'm sorry to dig up this really old thread, but after setting up this system I forgot about it for a few weeks. It's been really stable, possibly one of the most stable boxes on our network.
Unfortunately I now have a problem - no passwords work. I had my user account which I would use to login (I never got a chance to set up another user account), and if I needed to do root stuff I'd just sudo to root at which point I'd get asked for the root password.
Now no password works at all. What gives?! There is _NO_ way I forgot this password. I've tried my username + my password, then root and the root password on the console, and gotten nowhere - just get 'Login Incorrect'.
Also the console is flooded with messages stating
Code:
smbd[18094]: [2011/02/13 09:19:51, 0] printing/print_cups.c:103(cups_connect)
smbd[18094]: Unable to connecto CUPS server localhost:631 - connection refused
I'm sure it's not related, but I thought I'd put it up anyway.
What gives? I am 110% positive I didn't forget the password (yes, I've checked caps lock). I even went so far as to the password in the username field to ensure it wasn't a messed up keyboard layout causing the issue.
I'm starting to think my account has gotten locked out somehow... no idea how that would happen though.
HELP!
Last edited by brokenpromises; 02-12-2011 at 02:43 AM.
|
|
|
02-12-2011, 06:19 PM
|
#19
|
Member
Registered: Aug 2005
Location: D.i.t.h.o, Texas
Distribution: Slackware 13.x, rhel3/5, Solaris 8-10(sparc), HP-UX 11.x (pa-risc)
Posts: 988
|
Greetingz!
A few basic questions first? Besides configuring ZFS+Samba....
a) Did you tweak anything in /etc? (like nsswitch.conf or /etc/default/login)
b) Have you run any type of Security/Lock-Down utility on the system?
c) Was the system patched?
Assuming you can login as root, and you're running Solaris 10, I would suggest a few things;
NOTE: If you're running OpenSolaris, I'm not sure any of this advice would be applicable.
0) Login as root.
1) Shutdown smbd smbd (temporarily).
2) Try to "su - username", what happens? Any errors on the console or in your /var/adm/messages?
If your User-Level Account has a problem.
1) Make sure your user-level account isn't locked-out with "passwd -s username" ("man passwd" for details)
2) Is /etc/passwd sane? ("man pwck" for details).
3) Is /etc/group sane?
4) Does your user-level account exist in /etc/shadow?
|
|
|
02-12-2011, 06:30 PM
|
#20
|
Member
Registered: Feb 2004
Location: Washington, USA
Distribution: Debian
Posts: 265
Rep:
|
Quote:
Originally Posted by xeleema
Assuming you can login as root
|
You missed the dilemma, the text clearly says no. Do you have any advice for root password recovery when the admin has physical access to the machine?
|
|
|
02-12-2011, 07:01 PM
|
#21
|
Member
Registered: Jan 2005
Location: NZ
Distribution: Fedora / Debian
Posts: 99
Original Poster
Rep:
|
OS is Solaris Express 11. Had to go with 11 as 10 was throwing a major hissyfit about my hardware (SATA ports / ethernet not working, didn't want to deal with that).
Quote:
a) Did you tweak anything in /etc? (like nsswitch.conf or /etc/default/login)
|
Yes, as per my earlier post where I outlined what I did, I did the following:
Code:
smbguest:x:525:525:Samba Guest Account:/dev/null:/bin/false
^^^ did have to add this to the last line on /etc/passwd to get my 'anonymous file sharing' to work.
Any configuration changes made are outlined in this post - if it's not in there, I didn't do it, and all settings/files are 100% stock as they would be after installing Solaris 11.
At this stage I have no login into the box at all. I do have physical access to the box. I think I might just format the entire system rather than faff about with this password recovery BS, however I'm concerned it'll just happen again! There is absolutely NO way I 'forgot' this password. Impossible.
Last edited by brokenpromises; 02-12-2011 at 07:12 PM.
|
|
|
02-12-2011, 07:38 PM
|
#22
|
Member
Registered: Aug 2005
Location: D.i.t.h.o, Texas
Distribution: Slackware 13.x, rhel3/5, Solaris 8-10(sparc), HP-UX 11.x (pa-risc)
Posts: 988
|
Quote:
Originally Posted by brokenpromises
OS is Solaris Express 11. Had to go with 11 as 10 was throwing a major hissyfit about my hardware (SATA ports / ethernet not working, didn't want to deal with that).
|
Ah, okay. Well that does happen.
Quote:
Originally Posted by brokenpromises
Code:
smbguest:x:525:525:Samba Guest Account:/dev/null:/bin/false
^^^ did have to add this to the last line on /etc/passwd to get my 'anonymous file sharing' to work.
|
By chance did you add a corresponding /etc/shadow line for that account?
Quote:
Originally Posted by brokenpromises
Any configuration changes made are outlined in this post - if it's not in there, I didn't do it, and all settings/files are 100% stock as they would be after installing Solaris 11.
|
Cool, just wanted to make sure I wasn't missing anything.
Quote:
Originally Posted by brokenpromises
At this stage I have no login into the box at all. I do have physical access to the box. I think I might just format the entire system rather than faff about with this password recovery BS, however I'm concerned it'll just happen again! There is absolutely NO way I 'forgot' this password. Impossible.
|
Well, as the saying goes "If I already have physical access to the server, the SysAdmin's already lost the fight".
This StackOverflow post should have everything you need to get into SingleUserMode on OpenSolaris. I don't have it installed anywhere at the moment, so I cannot confirm nor deny if this works (let me know if it does!)
|
|
|
02-13-2011, 04:52 AM
|
#23
|
Senior Member
Registered: Dec 2004
Location: Marburg, Germany
Distribution: openSUSE 15.2
Posts: 1,339
|
Quote:
Originally Posted by brokenpromises
NAS OSes such as FreeNAS/Openfiler cannot be used because FreeNAS has no support for AD Integration, and Openfiler has AD integration but has no ZFS support.
|
I don't need/use AD, but I thought the entry "Access" => "Active Directory" in FreeNAS would offer this.
Last edited by Reuti; 02-13-2011 at 04:52 AM.
Reason: Typo
|
|
|
02-13-2011, 04:11 PM
|
#24
|
Member
Registered: Jan 2005
Location: NZ
Distribution: Fedora / Debian
Posts: 99
Original Poster
Rep:
|
In the end I ended up completely dropping AD support altogether, and setting permissions for the share to be accessible by 'all'. Perhaps I can go with FreeNAS and see how that works out. Solaris has worked out very well but I'm kind of angry at it for locking out my account
Quote:
Originally Posted by xeleema
Well, as the saying goes "If I already have physical access to the server, the SysAdmin's already lost the fight".
This StackOverflow post should have everything you need to get into SingleUserMode on OpenSolaris. I don't have it installed anywhere at the moment, so I cannot confirm nor deny if this works (let me know if it does!)
|
I'm not on opensolaris though, I'm on Solaris Express 11 - do you think these instructions will still work? Thanks for all the help, I really appreciate the time you've put into this.
Last edited by brokenpromises; 02-13-2011 at 04:12 PM.
|
|
|
02-14-2011, 12:44 AM
|
#25
|
Member
Registered: Aug 2005
Location: D.i.t.h.o, Texas
Distribution: Slackware 13.x, rhel3/5, Solaris 8-10(sparc), HP-UX 11.x (pa-risc)
Posts: 988
|
Quote:
Originally Posted by brokenpromises
Solaris has worked out very well but I'm kind of angry at it for locking out my account 
|
It's probably not Solaris' fault.
Quote:
Originally Posted by brokenpromises
I'm not on opensolaris though, I'm on Solaris Express 11 - do you think these instructions will still work?
|
 That's right, you did mention Solaris Express 11. I would imagine that the instructions would kinda sorta be the same, but give it a shot and let us know how it goes. I personally am very curious about how all of this will pan-out!
Quote:
Originally Posted by brokenpromises
Thanks for all the help, I really appreciate the time you've put into this.
|
You're quite welcome. 
|
|
|
03-04-2011, 07:44 PM
|
#26
|
LQ Newbie
Registered: Mar 2011
Distribution: Ubuntu, Gentoo, Solaris x86, FreeBSD
Posts: 1
Rep:
|
Have you taken a look at: http://napp-it.org/index_en.html
This might fit all your needs?
I only suggest it because from your first post you had the following requirements/needs/would like to have:
1. ZFS (based on first installing Solaris Express 11, OpenIndiana, or Nexenta)
2. AD integration
3. GUI
I am about to install this on some hardware I have and thought I would share my research (and past experience) with you because you have some of the same functionality I am looking for. I have tried FreeNAS 8 RC2, but the Storage Wizard is still buggy and would not locate any volumes on my system even though I manually created a zpool and zfs filesystems. I did try NexentaStor.org, but it is limited to 18TB of data (open source should have NO limitations) plus it did not really like my hardware. My next step this weekend is installing Solaris Express 11 (I have had a lot of success in the past with Solaris 10 for x86) and then install napp-it on top of it as per their instructions.
Hope this information helps you.
Last edited by lorenct; 03-04-2011 at 07:47 PM.
|
|
|
All times are GMT -5. The time now is 05:48 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|