LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-30-2011, 11:26 PM   #16
nicktickson122
LQ Newbie
 
Registered: Jan 2011
Posts: 13

Rep: Reputation: 1

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.
Old 01-31-2011, 07:14 PM   #17
elfoozo
Member
 
Registered: Feb 2004
Location: Washington, USA
Distribution: Debian
Posts: 265

Rep: Reputation: 32
@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.
Old 02-12-2011, 01:38 AM   #18
brokenpromises
Member
 
Registered: Jan 2005
Location: NZ
Distribution: Fedora / Debian
Posts: 99

Original Poster
Rep: Reputation: 21
Question

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 01:43 AM.
 
Old 02-12-2011, 05:19 PM   #19
xeleema
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
Blog Entries: 4

Rep: Reputation: 254Reputation: 254Reputation: 254
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?
 
Old 02-12-2011, 05:30 PM   #20
elfoozo
Member
 
Registered: Feb 2004
Location: Washington, USA
Distribution: Debian
Posts: 265

Rep: Reputation: 32
Quote:
Originally Posted by xeleema View Post
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?
 
Old 02-12-2011, 06:01 PM   #21
brokenpromises
Member
 
Registered: Jan 2005
Location: NZ
Distribution: Fedora / Debian
Posts: 99

Original Poster
Rep: Reputation: 21
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 06:12 PM.
 
Old 02-12-2011, 06:38 PM   #22
xeleema
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
Blog Entries: 4

Rep: Reputation: 254Reputation: 254Reputation: 254
Quote:
Originally Posted by brokenpromises View Post
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 View Post
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 View Post
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 View Post
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!)
 
Old 02-13-2011, 03:52 AM   #23
Reuti
Senior Member
 
Registered: Dec 2004
Location: Marburg, Germany
Distribution: openSUSE 15.2
Posts: 1,339

Rep: Reputation: 260Reputation: 260Reputation: 260
Quote:
Originally Posted by brokenpromises View Post
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 03:52 AM. Reason: Typo
 
Old 02-13-2011, 03:11 PM   #24
brokenpromises
Member
 
Registered: Jan 2005
Location: NZ
Distribution: Fedora / Debian
Posts: 99

Original Poster
Rep: Reputation: 21
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 View Post
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 03:12 PM.
 
Old 02-13-2011, 11:44 PM   #25
xeleema
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
Blog Entries: 4

Rep: Reputation: 254Reputation: 254Reputation: 254
Quote:
Originally Posted by brokenpromises View Post
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 View Post
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 View Post
Thanks for all the help, I really appreciate the time you've put into this.
You're quite welcome.
 
Old 03-04-2011, 06:44 PM   #26
lorenct
LQ Newbie
 
Registered: Mar 2011
Distribution: Ubuntu, Gentoo, Solaris x86, FreeBSD
Posts: 1

Rep: Reputation: 0
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 06:47 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NAS on btrfs (possibly zfs/xfs) advice/help needed (software-getting started) rmk0610 Linux - Server 3 07-06-2010 05:06 AM
Chosing a RAID for NAS: HW Raid, FRAID, SW Raid StefanAO Linux - Server 2 08-29-2009 11:43 PM
needed help in ZFS wrapster Solaris / OpenSolaris 7 07-20-2008 01:47 AM
Why is ZFS raid so slow???? kebabbert Solaris / OpenSolaris 4 07-16-2007 05:01 PM
External eSata ZFS raid possible? kebabbert Solaris / OpenSolaris 5 06-06-2007 02:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration