Re: Diskless question

2013-09-15 Thread Bill Tillman





 From: Bernt Hansson b...@bananmonarki.se
To: Bernt Hansson b...@bananmonarki.se 
Cc: Julian H. Stacey j...@berklix.com; freebsd-questions@freebsd.org 
Sent: Saturday, September 14, 2013 12:37 PM
Subject: Re: Diskless question
 

On 2013-09-14 15:41, Bernt Hansson wrote:
 On 2013-09-14 11:05, Julian H. Stacey wrote:
 Hi, Reference:
 From:        Bernt Hansson b...@bananmonarki.se
 Date:        Sat, 14 Sep 2013 09:36:58 +0200

 Bernt Hansson wrote:
 Hello list!

 I have a setup with a diskless machine and working, but I can not log in
 as root on the diskless. How to proceed?

 Log in as non root  see what /var/log shows
 Mount the media elsewhere then either
     give a good look at what might be wrong,
     relax some restrictive permissions
     create some temporary back doors.
     rlogin, ssh, no or simple password on toor etc

 Cheers,
 Julian

 I solved it. Root did not have a password as strange as it may be.

Unsolved. Root do not have a password, pressing enter at the passwd 
prompt gives sorry
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org



It's been a long time since I did this but there was some command for passwd 
for root which I had to do as well. The initial diskless boot will login you in 
with root without a password as I recall. Aha, here it is...

cd /etc
cp passwd master.passwd /pxeroot/conf/default/etc/
cd /pxeroot/etc
pwd_mkdb -d /pxeroot/etc master.passwd

You may need to adjust this based on your setup. I found lots of good info on 
diskless booting at this site:

http://www.nber.org/sys-admin/FreeBSD-diskless.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Diskless question

2013-09-14 Thread Julian H. Stacey
Hi, Reference:
 From: Bernt Hansson b...@bananmonarki.se 
 Date: Sat, 14 Sep 2013 09:36:58 +0200 

Bernt Hansson wrote:
 Hello list!
 
 I have a setup with a diskless machine and working, but I can not log in 
 as root on the diskless. How to proceed?

Log in as non root  see what /var/log shows
Mount the media elsewhere then either
give a good look at what might be wrong,
relax some restrictive permissions
create some temporary back doors.
rlogin, ssh, no or simple password on toor etc

Cheers,
Julian
-- 
Julian Stacey, BSD Unix Linux C Sys Eng Consultant, Munich http://berklix.com
 Reply below not above, like a play script.  Indent old text with  .
 Send plain text.  No quoted-printable, HTML, base64, multipart/alternative.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Diskless question

2013-04-27 Thread Bernt Hansson

2013-04-25 16:03, krad skrev:

type id from your user account and paste the results back here


uid=1001(bernt) gid=65534(nobody) groups=65534(nobody),0(wheel)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Diskless question

2013-04-25 Thread krad
type id from your user account and paste the results back here



On 24 April 2013 14:55, Bernt Hansson b...@bananmonarki.se wrote:



 2013-04-24 15:40, Lowell Gilbert skrev:

  Arthur Chance free...@qeng-ho.org writes:

  On 04/24/13 14:07, Lowell Gilbert wrote:

 No, that's from /etc/passwd which never shows any real password
 information. The true password field is in /etc/master.passwd and I'm
 not going to ask anyone to show that here. However, the OP should
 check it's got a valid looking field value rather than just a '*'


 Oops. Right.


  Ok this is master.password for root

 root:a lot of tokens.:0:0::0:0:Charlie :/root:/bin/csh

 __**_
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/**mailman/listinfo/freebsd-**questionshttp://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-**
 unsubscr...@freebsd.org freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Diskless question

2013-04-25 Thread Bill Tillman


 


 From: Arthur Chance free...@qeng-ho.org
To: Bernt Hansson b...@bananmonarki.se 
Cc: questions FreeBSD FreeBSD-questions@freebsd.org 
Sent: Wednesday, April 24, 2013 9:52 AM
Subject: Re: Diskless question
  
On 04/24/13 13:45, Bernt Hansson wrote:


 2013-04-24 13:21, Arthur Chance skrev:
 On 04/24/13 11:55, Bernt Hansson wrote:
 2013-04-24 12:30, Arthur Chance skrev:
 On 04/24/13 09:18, Bernt Hansson wrote:
 Hello list!

 I have set up a diskless machine with 8.3-stable and i as a user can
 log
 in, but when I try to log in as root it won't work. How to resolv that
 issue. I have tried with and without password but the computer said
 no.


 How did it say no? What does the entry for root in /etc/passwd say?

 $su
 Sorry

 root:*:0:0:Charlie :/root:/bin/csh


 That's not logging in directly as root, that's using su as a normal
 user. Only members of wheel group can use su. Try logging in directly on
 the console as root. That should work unless you've marked the console
 as insecure or have an impossible password in /etc/master.passwd.

 I am a member of the wheel group.

Curious, I would have expected the su to work. Time for a quick look at 
the source.

 In the long run you need to add your normal user to wheel group so you
 can use su. Can you edit the diskless machine's /etc/group from the
 server that's supplying its disk(s)? In the days when I ran diskless
 systems I usually found it easier to work on the diskless systems'
 config files via the server.

 I have tried and my own password is easily changed via the server.

 if i try, on the diskless,

 Login: root
 Password: password or none

 Login incorrect

As I mentioned in another post, have you got a valid looking password 
field in /etc/master.passwd or just a '*'? Valid fields tend to look 
something like $2a$04$XXX or $6$XXX where XXX is a lot of base64 
encoded data.

Looking in the source for su there are three places that generate 
Sorry. They all send messages to syslog. Is there a BAD SU entry in 
your /var/log/auth.log or a PAM related error in /var/log/messages 
and/or on the console?

-- 
In the dungeons of Mordor, Sauron bred Orcs with LOLcats to create a
new race of servants. Called Uruk-Oh-Hai in the Black Speech, they
were cruel and delighted in torturing spelling and grammar.

        _Lord of the Rings 2.0, the Web Edition_
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


When you're editing the /etc/passwd file make sure it's the one in the 
partition that you set for your root for the diskless machine. It could be the 
same one as the server but typically another partition is setup as the root for 
the diskless machine(s).   
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Diskless question

2013-04-24 Thread Ralf Mardorf

On Wed, 2013-04-24 at 10:18 +0200, Bernt Hansson wrote:
 I have set up a diskless machine with 8.3-stable and i as a user can log 
 in, but when I try to log in as root it won't work. How to resolv that 
 issue. I have tried with and without password but the computer said no.

Do you want to start a X session as root?
~/.xinitrc?

Or are you missing a root account and you even can't log in without X?


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Diskless question

2013-04-24 Thread Steve O'Hara-Smith
On Wed, 24 Apr 2013 10:18:59 +0200
Bernt Hansson b...@bananmonarki.se wrote:

 Hello list!
 
 I have set up a diskless machine with 8.3-stable and i as a user can log 
 in, but when I try to log in as root it won't work. How to resolv that 
 issue. I have tried with and without password but the computer said no.

Are you logging in on the console or by ssh ? By default ssh does
not allow root login, it can be enabled but you should read up on the
security implications carefully before enabling it. I would expect console
login to work fine.

As a general rule it is better to use sudo or su rather than
logging in as root, although for a single user system this doesn't really
make much difference.

-- 
Steve O'Hara-Smith st...@sohara.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Diskless question

2013-04-24 Thread Arthur Chance

On 04/24/13 09:18, Bernt Hansson wrote:

Hello list!

I have set up a diskless machine with 8.3-stable and i as a user can log
in, but when I try to log in as root it won't work. How to resolv that
issue. I have tried with and without password but the computer said no.


How did it say no? What does the entry for root in /etc/passwd say?

--
In the dungeons of Mordor, Sauron bred Orcs with LOLcats to create a
new race of servants. Called Uruk-Oh-Hai in the Black Speech, they
were cruel and delighted in torturing spelling and grammar.

_Lord of the Rings 2.0, the Web Edition_
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Diskless question

2013-04-24 Thread Bernt Hansson

2013-04-24 10:36, Ralf Mardorf skrev:


On Wed, 2013-04-24 at 10:18 +0200, Bernt Hansson wrote:

I have set up a diskless machine with 8.3-stable and i as a user can log
in, but when I try to log in as root it won't work. How to resolv that
issue. I have tried with and without password but the computer said no.


Do you want to start a X session as root?


No.


~/.xinitrc?

Or are you missing a root account and you even can't log in without X?


No X, only cli.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Diskless question

2013-04-24 Thread Bernt Hansson

2013-04-24 12:12, Steve O'Hara-Smith skrev:

On Wed, 24 Apr 2013 10:18:59 +0200
Bernt Hansson b...@bananmonarki.se wrote:


Hello list!

I have set up a diskless machine with 8.3-stable and i as a user can log
in, but when I try to log in as root it won't work. How to resolv that
issue. I have tried with and without password but the computer said no.


Are you logging in on the console or by ssh ? By default ssh does
not allow root login, it can be enabled but you should read up on the
security implications carefully before enabling it. I would expect console
login to work fine.


I'm trying to login as root on the diskless machine. Console.


As a general rule it is better to use sudo or su rather than
logging in as root, although for a single user system this doesn't really
make much difference.


su does not work it sayes sorry.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Diskless question

2013-04-24 Thread Bernt Hansson

2013-04-24 12:30, Arthur Chance skrev:

On 04/24/13 09:18, Bernt Hansson wrote:

Hello list!

I have set up a diskless machine with 8.3-stable and i as a user can log
in, but when I try to log in as root it won't work. How to resolv that
issue. I have tried with and without password but the computer said no.


How did it say no? What does the entry for root in /etc/passwd say?


$su
Sorry

root:*:0:0:Charlie :/root:/bin/csh

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Diskless question

2013-04-24 Thread Ralf Mardorf
On Wed, 2013-04-24 at 12:52 +0200, Bernt Hansson wrote:

 su does not work it sayes sorry.

polkit:*:562:root,$USER


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Diskless question

2013-04-24 Thread Ralf Mardorf
On Wed, 2013-04-24 at 12:52 +0200, Bernt Hansson wrote:

 su does not work it sayes sorry.

Is the user in a group that does fulfil special permissions? Regarding
to Google results, the group for FreeBSD is wheel.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Diskless question

2013-04-24 Thread Arthur Chance

On 04/24/13 11:55, Bernt Hansson wrote:

2013-04-24 12:30, Arthur Chance skrev:

On 04/24/13 09:18, Bernt Hansson wrote:

Hello list!

I have set up a diskless machine with 8.3-stable and i as a user can log
in, but when I try to log in as root it won't work. How to resolv that
issue. I have tried with and without password but the computer said no.


How did it say no? What does the entry for root in /etc/passwd say?


$su
Sorry

root:*:0:0:Charlie :/root:/bin/csh



That's not logging in directly as root, that's using su as a normal 
user. Only members of wheel group can use su. Try logging in directly on 
the console as root. That should work unless you've marked the console 
as insecure or have an impossible password in /etc/master.passwd.


In the long run you need to add your normal user to wheel group so you 
can use su. Can you edit the diskless machine's /etc/group from the 
server that's supplying its disk(s)? In the days when I ran diskless 
systems I usually found it easier to work on the diskless systems' 
config files via the server.


--
In the dungeons of Mordor, Sauron bred Orcs with LOLcats to create a
new race of servants. Called Uruk-Oh-Hai in the Black Speech, they
were cruel and delighted in torturing spelling and grammar.

_Lord of the Rings 2.0, the Web Edition_
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Diskless question

2013-04-24 Thread Eduardo Morras
On Wed, 24 Apr 2013 12:55:08 +0200
Bernt Hansson b...@bananmonarki.se wrote:

 2013-04-24 12:30, Arthur Chance skrev:
  On 04/24/13 09:18, Bernt Hansson wrote:
  Hello list!
 
  I have set up a diskless machine with 8.3-stable and i as a user can log
  in, but when I try to log in as root it won't work. How to resolv that
  issue. I have tried with and without password but the computer said no.
 
  How did it say no? What does the entry for root in /etc/passwd say?
 
 $su
 Sorry

Some shoots in the dark, shield your feet.

a)$su -
b)exist /root ?
c)can you boot in single user mode ?
d)exist /bin/csh ?

 root:*:0:0:Charlie :/root:/bin/csh
---   ---
Eduardo Morras emorr...@yahoo.es
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Diskless question

2013-04-24 Thread Bernt Hansson



2013-04-24 13:21, Arthur Chance skrev:

On 04/24/13 11:55, Bernt Hansson wrote:

2013-04-24 12:30, Arthur Chance skrev:

On 04/24/13 09:18, Bernt Hansson wrote:

Hello list!

I have set up a diskless machine with 8.3-stable and i as a user can
log
in, but when I try to log in as root it won't work. How to resolv that
issue. I have tried with and without password but the computer said no.


How did it say no? What does the entry for root in /etc/passwd say?


$su
Sorry

root:*:0:0:Charlie :/root:/bin/csh



That's not logging in directly as root, that's using su as a normal
user. Only members of wheel group can use su. Try logging in directly on
the console as root. That should work unless you've marked the console
as insecure or have an impossible password in /etc/master.passwd.


I am a member of the wheel group.


In the long run you need to add your normal user to wheel group so you
can use su. Can you edit the diskless machine's /etc/group from the
server that's supplying its disk(s)? In the days when I ran diskless
systems I usually found it easier to work on the diskless systems'
config files via the server.


I have tried and my own password is easily changed via the server.

if i try, on the diskless,

Login: root
Password: password or none

Login incorrect
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Diskless question

2013-04-24 Thread Bernt Hansson



2013-04-24 13:04, Ralf Mardorf skrev:

On Wed, 2013-04-24 at 12:52 +0200, Bernt Hansson wrote:


su does not work it sayes sorry.


Is the user in a group that does fulfil special permissions? Regarding
to Google results, the group for FreeBSD is wheel.


Yes the user is in the wheel group.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Diskless question

2013-04-24 Thread Lowell Gilbert
Bernt Hansson b...@bananmonarki.se writes:

 2013-04-24 12:30, Arthur Chance skrev:
 On 04/24/13 09:18, Bernt Hansson wrote:
 Hello list!

 I have set up a diskless machine with 8.3-stable and i as a user can log
 in, but when I try to log in as root it won't work. How to resolv that
 issue. I have tried with and without password but the computer said no.

 How did it say no? What does the entry for root in /etc/passwd say?

 $su
 Sorry

 root:*:0:0:Charlie :/root:/bin/csh
   ^
  / \

Root has no valid password. 

You'll need to go into single-user mode and either give it one or
install sudo and add your regular user to the sudoers file.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Diskless question

2013-04-24 Thread Trond Endrestøl
On Wed, 24 Apr 2013 09:07-0400, Lowell Gilbert wrote:

 Bernt Hansson b...@bananmonarki.se writes:
 
  2013-04-24 12:30, Arthur Chance skrev:
  On 04/24/13 09:18, Bernt Hansson wrote:
  Hello list!
 
  I have set up a diskless machine with 8.3-stable and i as a user can log
  in, but when I try to log in as root it won't work. How to resolv that
  issue. I have tried with and without password but the computer said no.
 
  How did it say no? What does the entry for root in /etc/passwd say?
 
  $su
  Sorry
 
  root:*:0:0:Charlie :/root:/bin/csh
^
   / \
 
 Root has no valid password. 
 
 You'll need to go into single-user mode and either give it one or
 install sudo and add your regular user to the sudoers file.

Why look at the /etc/passwd file when the key files are:

* /etc/master.passwd
* /etc/spwd.db
* /etc/passwd
* /etc/pwd.db

-- 
+---++
| Vennlig hilsen,   | Best regards,  |
| Trond Endrestøl,  | Trond Endrestøl,   |
| IT-ansvarlig, | System administrator,  |
| Fagskolen Innlandet,  | Gjøvik Technical College, Norway,  |
| tlf. mob.   952 62 567,   | Cellular...: +47 952 62 567,   |
| sentralbord 61 14 54 00.  | Switchboard: +47 61 14 54 00.  |
+---++___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Re: Diskless question

2013-04-24 Thread Arthur Chance

On 04/24/13 14:07, Lowell Gilbert wrote:

Bernt Hansson b...@bananmonarki.se writes:


2013-04-24 12:30, Arthur Chance skrev:

On 04/24/13 09:18, Bernt Hansson wrote:

Hello list!

I have set up a diskless machine with 8.3-stable and i as a user can log
in, but when I try to log in as root it won't work. How to resolv that
issue. I have tried with and without password but the computer said no.


How did it say no? What does the entry for root in /etc/passwd say?


$su
Sorry

root:*:0:0:Charlie :/root:/bin/csh

^
   / \

Root has no valid password.

You'll need to go into single-user mode and either give it one or
install sudo and add your regular user to the sudoers file.


No, that's from /etc/passwd which never shows any real password 
information. The true password field is in /etc/master.passwd and I'm 
not going to ask anyone to show that here. However, the OP should check 
it's got a valid looking field value rather than just a '*'



--
In the dungeons of Mordor, Sauron bred Orcs with LOLcats to create a
new race of servants. Called Uruk-Oh-Hai in the Black Speech, they
were cruel and delighted in torturing spelling and grammar.

_Lord of the Rings 2.0, the Web Edition_
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Diskless question

2013-04-24 Thread Lowell Gilbert
Arthur Chance free...@qeng-ho.org writes:

 On 04/24/13 14:07, Lowell Gilbert wrote:

 No, that's from /etc/passwd which never shows any real password
 information. The true password field is in /etc/master.passwd and I'm
 not going to ask anyone to show that here. However, the OP should
 check it's got a valid looking field value rather than just a '*'

Oops. Right.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Diskless question

2013-04-24 Thread Bernt Hansson

2013-04-24 15:07, Lowell Gilbert skrev:

Bernt Hansson b...@bananmonarki.se writes:


2013-04-24 12:30, Arthur Chance skrev:

On 04/24/13 09:18, Bernt Hansson wrote:

Hello list!

I have set up a diskless machine with 8.3-stable and i as a user can log
in, but when I try to log in as root it won't work. How to resolv that
issue. I have tried with and without password but the computer said no.


How did it say no? What does the entry for root in /etc/passwd say?


$su
Sorry

root:*:0:0:Charlie :/root:/bin/csh

^
   / \

Root has no valid password.


Well. The user can login, root can not.


You'll need to go into single-user mode and either give it one or
install sudo and add your regular user to the sudoers file.



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Diskless question

2013-04-24 Thread Arthur Chance

On 04/24/13 13:45, Bernt Hansson wrote:



2013-04-24 13:21, Arthur Chance skrev:

On 04/24/13 11:55, Bernt Hansson wrote:

2013-04-24 12:30, Arthur Chance skrev:

On 04/24/13 09:18, Bernt Hansson wrote:

Hello list!

I have set up a diskless machine with 8.3-stable and i as a user can
log
in, but when I try to log in as root it won't work. How to resolv that
issue. I have tried with and without password but the computer said
no.


How did it say no? What does the entry for root in /etc/passwd say?


$su
Sorry

root:*:0:0:Charlie :/root:/bin/csh



That's not logging in directly as root, that's using su as a normal
user. Only members of wheel group can use su. Try logging in directly on
the console as root. That should work unless you've marked the console
as insecure or have an impossible password in /etc/master.passwd.


I am a member of the wheel group.


Curious, I would have expected the su to work. Time for a quick look at 
the source.



In the long run you need to add your normal user to wheel group so you
can use su. Can you edit the diskless machine's /etc/group from the
server that's supplying its disk(s)? In the days when I ran diskless
systems I usually found it easier to work on the diskless systems'
config files via the server.


I have tried and my own password is easily changed via the server.

if i try, on the diskless,

Login: root
Password: password or none

Login incorrect


As I mentioned in another post, have you got a valid looking password 
field in /etc/master.passwd or just a '*'? Valid fields tend to look 
something like $2a$04$XXX or $6$XXX where XXX is a lot of base64 
encoded data.


Looking in the source for su there are three places that generate 
Sorry. They all send messages to syslog. Is there a BAD SU entry in 
your /var/log/auth.log or a PAM related error in /var/log/messages 
and/or on the console?


--
In the dungeons of Mordor, Sauron bred Orcs with LOLcats to create a
new race of servants. Called Uruk-Oh-Hai in the Black Speech, they
were cruel and delighted in torturing spelling and grammar.

_Lord of the Rings 2.0, the Web Edition_
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Diskless question

2013-04-24 Thread Bernt Hansson



2013-04-24 15:40, Lowell Gilbert skrev:

Arthur Chance free...@qeng-ho.org writes:


On 04/24/13 14:07, Lowell Gilbert wrote:

No, that's from /etc/passwd which never shows any real password
information. The true password field is in /etc/master.passwd and I'm
not going to ask anyone to show that here. However, the OP should
check it's got a valid looking field value rather than just a '*'


Oops. Right.



Ok this is master.password for root

root:a lot of tokens.:0:0::0:0:Charlie :/root:/bin/csh
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org