OpenSolaris Solaris Forum  
     

Left Nav FAQ Members List Default Password Members List Linux Commands Search Today's Posts Mark Forums Read Right Nav

Left Container Right Container
 

Go Back   OpenSolaris Solaris Forum Solaris General

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-28-2012, 10:17 AM
Junior Member
 
Join Date: Feb 2012
Posts: 2
Default zone logins

Hi All,

I am quite new to solaris and just having a play around ;-). I have been looking into zones (quite like the idea of them) but have become a little stuck when trying to add users in a zone and login to them via zlogin.

[[email protected] ~]$ zoneadm list -cv
ID NAME STATUS PATH BRAND IP
0 global running / native shared
4 zone1 running /export/home/zones/zone1 native share


zlogin as root shows I have a user and will ask for password on 1st login

# grep admin /etc/passwd
admin:x:100:1::/home/admin:/bin/bash
# grep admin /etc/shadow
admin::0::::::


When i zlogin as that user I get asked for the password and then it drops the session.

# zlogin -l admin zone1
[Connected to zone 'zone1' pts/3]
Choose a new password.
New Password:
Re-enter new Password:

[Connection to zone 'zone1' pts/3 closed]
#

If i log into the zone and su into the user 'admin' and complete a passwd I get 'permission denied'

# su admin
bash-3.00$ passwd admin
Enter existing login password:
Please try again
New Password:
Re-enter new Password:
Permission denied

All permissions on the shadow and passwd file are default. SO..... Can anyone tell me what I am doing wrong?


Thanks in advance!
Reply With Quote
Sponsored Links

  #2 (permalink)  
Old 03-04-2012, 12:31 AM
Junior Member
 
Join Date: Feb 2012
Posts: 2
Default ?

can anyone help with this?
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Solaris 8/9 Branded Zone bhaiya2 Solaris General 0 06-28-2010 03:32 PM
Disable multiple simultaneous logins logins OpenSolaris Security 0 12-22-2008 10:18 AM


All times are GMT. The time now is 11:03 AM.


Powered by vBulletin. Copyright 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.