Re: Login class and limit

2012-12-07 Thread Vagner
On 17:47 Thu 06 Dec , Lowell Gilbert wrote:
 Vagner vag...@bsdway.ru writes:
 
  On 06:53 Thu 06 Dec , Charles Swiger wrote:
 
  su -, su -l, and sudo -i provide a login shell, which gets the
  limits setup by login.conf.  Normally daemons are started at boot
  via rc mechanism (or perhaps get spawned from inetd) and do not
  have a login shell associated with them to setup the limits.
  
  Either use one of the su/sudo flavors I mention above, or /bin/sh -l
  to provide a login env to the process?
 
  ie means to implement restrictions limits(1) and login.conf(5) for daemons 
  is not possible?
 
 It's possible, but you would have to use a login shell, which is usually
 inconvenient for a daemon (not having an attached terminal for I/O).
 
 The usual way to do this is to start the daemon in a script that
 explicitly sets the limits with /usr/bin/limits (or maybe ulimit, but
 limits(1) seems more common). Several ports do this, for example.
 

Thx for all! I try starting daemon with explicitly sets from rc script.
Thanks again!

-- 
Respectfully,
Stanislav Putrya
System administrator
FotoStrana.Ru Ltd.
ICQ IM: 328585847
Jabber-GoogleTalk: root.vagner
mob.phone SPB: +79215788755
mob.phone RND: +79525600664
email: vag...@bsdway.ru
email: put...@playform.ru
email: root.vag...@gmail.com
site: bsdway.ru
site: fotostrana.ru


 ( ) ASCII ribbon campaign
  X  - against HTML, vCards and
 / \ - proprietary attachments in e-mail
___
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: Login class and limit

2012-12-06 Thread Charles Swiger
Hi--

On Dec 6, 2012, at 6:32 AM, Vagner vag...@bsdway.ru wrote:
 Hi all!
 I need help configuring limits for users at FreeBSD 8.3.
 I set next options and parametrs at login.conf(5):
[ … ]
 
 # sudo -u daemon limits
 Resource limits (current):
  cputime  infinity secs
 
 but:
 
 # su - daemon -c 'limits'
 Resource limits (current):
  cputime 5 secs
 
 Why? And how can i running process without su(1) to apply limits for
 my user class?

su -, su -l, and sudo -i provide a login shell, which gets the
limits setup by login.conf.  Normally daemons are started at boot
via rc mechanism (or perhaps get spawned from inetd) and do not
have a login shell associated with them to setup the limits.

Either use one of the su/sudo flavors I mention above, or /bin/sh -l
to provide a login env to the process…

Regards,
-- 
-Chuck

___
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: Login class and limit

2012-12-06 Thread Vagner
On 06:53 Thu 06 Dec , Charles Swiger wrote:
 Hi--
 
 On Dec 6, 2012, at 6:32 AM, Vagner vag...@bsdway.ru wrote:
  Hi all!
  I need help configuring limits for users at FreeBSD 8.3.
  I set next options and parametrs at login.conf(5):
 [ ? ]
  
  # sudo -u daemon limits
  Resource limits (current):
   cputime  infinity secs
  
  but:
  
  # su - daemon -c 'limits'
  Resource limits (current):
   cputime 5 secs
  
  Why? And how can i running process without su(1) to apply limits for
  my user class?
 
 su -, su -l, and sudo -i provide a login shell, which gets the
 limits setup by login.conf.  Normally daemons are started at boot
 via rc mechanism (or perhaps get spawned from inetd) and do not
 have a login shell associated with them to setup the limits.
 
 Either use one of the su/sudo flavors I mention above, or /bin/sh -l
 to provide a login env to the process?
 
 Regards,
 -- 
 -Chuck
 
 

ie means to implement restrictions limits(1) and login.conf(5) for daemons is 
not possible?

-- 
Respectfully,
Stanislav Putrya
System administrator
FotoStrana.Ru Ltd.
ICQ IM: 328585847
Jabber-GoogleTalk: root.vagner
mob.phone SPB: +79215788755
mob.phone RND: +79525600664
email: vag...@bsdway.ru
email: put...@playform.ru
email: root.vag...@gmail.com
site: bsdway.ru
site: fotostrana.ru


 ( ) ASCII ribbon campaign
  X  - against HTML, vCards and
 / \ - proprietary attachments in e-mail
___
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: Login class and limit

2012-12-06 Thread Chuck Swiger
On Dec 6, 2012, at 12:36 PM, Vagner wrote:
[ ... ]
 Either use one of the su/sudo flavors I mention above, or /bin/sh -l
 to provide a login env to the process?
 
 ie means to implement restrictions limits(1) and login.conf(5) for daemons is 
 not possible?

Sure, it's possible: run the daemon within a login shell.  However, normally, 
daemons
aren't started from a login shell and do not inherit the limits setup by 
login.conf.

Regards,
-- 
-Chuck

___
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: Login class and limit

2012-12-06 Thread Lowell Gilbert
Vagner vag...@bsdway.ru writes:

 On 06:53 Thu 06 Dec , Charles Swiger wrote:

 su -, su -l, and sudo -i provide a login shell, which gets the
 limits setup by login.conf.  Normally daemons are started at boot
 via rc mechanism (or perhaps get spawned from inetd) and do not
 have a login shell associated with them to setup the limits.
 
 Either use one of the su/sudo flavors I mention above, or /bin/sh -l
 to provide a login env to the process?

 ie means to implement restrictions limits(1) and login.conf(5) for daemons is 
 not possible?

It's possible, but you would have to use a login shell, which is usually
inconvenient for a daemon (not having an attached terminal for I/O).

The usual way to do this is to start the daemon in a script that
explicitly sets the limits with /usr/bin/limits (or maybe ulimit, but
limits(1) seems more common). Several ports do this, for example.

___
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: Login local2 to a log file

2009-03-06 Thread Dan Nelson
In the last episode (Mar 06), bsd said:
 How can I log messages sent to local2 to a given log file ?  Which file do
 I have to update in order to achieve that?

/etc/syslog.conf

local2.*/var/log/local2

See the syslog.conf manpage for more options

-- 
Dan Nelson
dnel...@allantgroup.com
___
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: Login accounts don't work after update to 7.1

2009-01-09 Thread Bert-Jan
 Bert-Jan i...@bert-jan.com writes:

 Hi Folks,

 I just updated one of my servers from 7.0-RC1 to 7.1-RELEASE.

 During the first freebsd-update install, before rebooting, I was
 surprised
 to find that it was going to change my /etc/passwd (deleting all my
 accounts, keeping only the built-in accounts) and /etc/pwd.db and
 /etc/spwd.db. I was quite suspicious so I made copies of them.

 freebsd-update should merge master.passwd, and re-generate all of those
 files from there.  What did you do with master.passwd?

I didn't do anything with it. I didn't know about it (linux experience
talking here, only been using freebsd for a year or so). Now that I'm
looking at it all the accounts are there, so it was successfully merged
indeed.


 Note that backup copies of master.passwd are kept in /var/backup.  None
 of the other files, because they're generated from there.

 After rebooting the machine came back online perfectly. I checked
 /etc/passwd but there were no changes yet. Then, as the docs says, I ran
 freebsd-update install again and it took quite a while. *Then* my
 /etc/passwd was changed, so I replaced it with the spare copy I made. Of

 That spare copy doesn't help at all; /etc/passwd is only there as a
 convenience to users, and isn't consulted by the system for anything.

I noticed, but after logging out as root unfortunately.


 course I had to test it now so I exitted from root back to my own
 account,
 and you guessed it: I can't su anymore:

 $ su -
 su: who are you?

 I started up a second session and found my own account doesn't work
 anymore either. So all I have now is an open session with my own
 account.
 I should probably also have copied the two db files back and of course I
 should have left my running root session open and started another one.
 Not
 a very bright moment..

 Does the root account itself have a password?  If you installed a
 generic password file, it may be unprotected, and you could log in (but
 not su, as that requires you first be logged in as a wheel user, of
 which you may have none left) as root without a password if you have a
 local terminal (a serial console, for example), and fix things from there.

Yes, root has a password. The account I was still logged in with is a
wheel user but trying a second session showed I couldn't login with that
account anymore either. I really made a mess of it :)


 Is there a way I can recover the server from this ?
 Of course I can put in a cd and change some passwords, but the server is
 in a datacenter and I don't really have the time to go there and fix it.
 I'm looking for a remote solution.

 I guess you don't have any out-of-band access to the machine, then.  You
 may be stuck with having to go to it physically, then.

Yes, I have been there the day before yesterday, the same day I screwed it
up. I logged in as root and didn't even get a password prompt. It was
obviously reset to the default password database. I fixed the logins by
copying the backups I made of /etc/pwd.db and /etc/spwd.db back.
Everything returned to normal. It reminded me that freebsd-update had told
me it wanted to change things in both those files, but since they're
binary it didn't show me a diff. My error thus was that I logged out as
root before restoring those. Very nasty, having to drive to the datacenter
(about 100km from my home) just to copy two files. But now I know for sure
this won't happen to me again :)

I do find it strange though, that freebsd-update replaced those files,
even though it tells you it's going to change them.
What is the proper way to handle this ? Can I run a command after the
update finishes that regenerates the account databases from the
master.passwd ? I checked the history and *I* never touched it during the
update, so it was merged like it should.


 It's probably not much help but there's one jail running on it that's
 still working fine. I can login and su on that one, but I don't know if
 I
 can use it to repair the main system.

 I sure hope that won't help.  That would defeat the point of jails,
 wouldn't it? ;-)

Yes indeed ;)

Thanks for the explanations. I still have a lot to learn of freebsd,
having been a Slackware Linux user for about 7 years, I've started my
first freebsd server about a year ago. So far I like it very much. Keeping
the whole system updated with freebsd-update and the whole ports system is
just a breeze.
Sometimes like this things get screwed up, but the same has happened to me
several times with Linux, so no hard feelings :)


 --
 Lowell Gilbert, embedded/networking software engineer, Boston area
   http://be-well.ilk.org/~lowell/


___
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: Login accounts don't work after update to 7.1

2009-01-09 Thread Lowell Gilbert
Bert-Jan i...@bert-jan.com writes:

 I do find it strange though, that freebsd-update replaced those files,
 even though it tells you it's going to change them.

I don't use freebsd-update, so I'm just trying to figure it out from
reading the program.  [freebsd-update is mostly just a shell script]

 What is the proper way to handle this ? Can I run a command after the
 update finishes that regenerates the account databases from the
 master.passwd ? I checked the history and *I* never touched it during the
 update, so it was merged like it should.

I'm not sure what the proper way is; there's certainly code in there to
update the databases automatically, so you *shouldn't* have to do
anything.  To do the same thing manually, you can use pwd_mkdb(8).  When
you edit the password database with vipw(8), this is handled for you.

I'd recommend trying to reproduce the problem on a spare machine, so we
can understand it better.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
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: Login accounts don't work after update to 7.1

2009-01-09 Thread Colin Percival

Lowell Gilbert wrote:

Bert-Jan i...@bert-jan.com writes:

What is the proper way to handle this ? Can I run a command after the
update finishes that regenerates the account databases from the
master.passwd ? I checked the history and *I* never touched it during the
update, so it was merged like it should.


I'm not sure what the proper way is; there's certainly code in there to
update the databases automatically, so you *shouldn't* have to do
anything.  To do the same thing manually, you can use pwd_mkdb(8).  When
you edit the password database with vipw(8), this is handled for you.


If freebsd-update installs a new master.passwd file, it will regenerate the
databases from it.  All I can guess in this case is that freebsd-update couldn't
manage to merge updates into master.passwd automatically, and when it opened up
the file in an editor for you to fix, you didn't merge things properly.

--
Colin Percival
Security Officer, FreeBSD | freebsd.org | The power to serve
Founder / author, Tarsnap | tarsnap.com | Online backups for the truly paranoid
___
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: Login accounts don't work after update to 7.1

2009-01-08 Thread Lowell Gilbert
Bert-Jan i...@bert-jan.com writes:

 Hi Folks,

 I just updated one of my servers from 7.0-RC1 to 7.1-RELEASE.

 During the first freebsd-update install, before rebooting, I was surprised
 to find that it was going to change my /etc/passwd (deleting all my
 accounts, keeping only the built-in accounts) and /etc/pwd.db and
 /etc/spwd.db. I was quite suspicious so I made copies of them.

freebsd-update should merge master.passwd, and re-generate all of those
files from there.  What did you do with master.passwd?  

Note that backup copies of master.passwd are kept in /var/backup.  None
of the other files, because they're generated from there.

 After rebooting the machine came back online perfectly. I checked
 /etc/passwd but there were no changes yet. Then, as the docs says, I ran
 freebsd-update install again and it took quite a while. *Then* my
 /etc/passwd was changed, so I replaced it with the spare copy I made. Of

That spare copy doesn't help at all; /etc/passwd is only there as a
convenience to users, and isn't consulted by the system for anything.

 course I had to test it now so I exitted from root back to my own account,
 and you guessed it: I can't su anymore:

 $ su -
 su: who are you?

 I started up a second session and found my own account doesn't work
 anymore either. So all I have now is an open session with my own account.
 I should probably also have copied the two db files back and of course I
 should have left my running root session open and started another one. Not
 a very bright moment..

Does the root account itself have a password?  If you installed a
generic password file, it may be unprotected, and you could log in (but
not su, as that requires you first be logged in as a wheel user, of
which you may have none left) as root without a password if you have a
local terminal (a serial console, for example), and fix things from there.

 Is there a way I can recover the server from this ?
 Of course I can put in a cd and change some passwords, but the server is
 in a datacenter and I don't really have the time to go there and fix it.
 I'm looking for a remote solution.

I guess you don't have any out-of-band access to the machine, then.  You
may be stuck with having to go to it physically, then.

 It's probably not much help but there's one jail running on it that's
 still working fine. I can login and su on that one, but I don't know if I
 can use it to repair the main system.

I sure hope that won't help.  That would defeat the point of jails,
wouldn't it? ;-)

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
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: Login Conf not parsed ?

2007-04-28 Thread Eric Crist

On Apr 26, 2007, at 8:57 PMApr 26, 2007, Tommy Scheunemann wrote:


Hello everyone,

I'm running a FreeBSD 6.2 system, only have SSH access to it. The  
only user which is allowed to login had Bash (installed from the  
Ports) installed.
Since 2 days I can't login any longer - Bash misses a library. I  
tried to create a login_conf file in the users home directory but  
it seems that the file isn't parsed.

Content is:

--- snip ---

me:\
 :shell=/bin/sh:\
 :setenv=SHELL=/bin/sh:

--- snip ---

I've created the database via cap_mkdb at my local system and  
uploaded this file as well, then changed the file permissions to  
0400 and ownership is right as well. Just - that file isn't parsed :(


Any other way of changing the user's shell - could install in the  
worst case some kind of PHP shell - are also welcome.
The library which is missing could be uploaded from my local  
system, just - of course - I don't have any write permissions in  
the usual locations.


Thanks in advance


If you can do that, why not change the shell in /etc/master.passwd  
and rebuild that database?

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


Re: Login Conf not parsed ?

2007-04-27 Thread Pieter de Goeje
On Friday 27 April 2007, Tommy Scheunemann wrote:
 Hello everyone,

 I'm running a FreeBSD 6.2 system, only have SSH access to it. The only
 user which is allowed to login had Bash (installed from the Ports)
 installed.
 Since 2 days I can't login any longer - Bash misses a library. I tried
 to create a login_conf file in the users home directory but it seems
 that the file isn't parsed.
Did you name it .login_conf (note the dot)?
 Content is:

 --- snip ---

 me:\

   :shell=/bin/sh:\
   :setenv=SHELL=/bin/sh:

 --- snip ---

 I've created the database via cap_mkdb at my local system and uploaded
 this file as well, then changed the file permissions to 0400 and
 ownership is right as well. Just - that file isn't parsed :(

 Any other way of changing the user's shell - could install in the
 worst case some kind of PHP shell - are also welcome.
Try 'chsh user' as root.

 The library which is missing could be uploaded from my local system,
 just - of course - I don't have any write permissions in the usual
 locations.

 Thanks in advance

HTH,
Pieter de Goeje
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [semi-SOLVED] Re: Login broken and rc.conf variables suddenly invalid after kernel/world upgrade (?!?!)

2006-04-08 Thread Lowell Gilbert
Garrett Cooper [EMAIL PROTECTED] writes:

 Garrett Cooper wrote:
  Lowell Gilbert wrote:
 
  Garrett Cooper [EMAIL PROTECTED] writes:
 
 
  By the way, I also ran mergemaster as shown above. I forgot to
  originally include that.
 
 
  Did you also forget to mention building and installing the new kernel
  before the reboot?  If you actually left that step out, it would
  explain much of your trouble.
 
 
  Yes, I forgot to include that as well. I did that prior to building
  and installing world (and I don't think that would have interfered
  since the kernel is a standalone deal I thought).

It's not, and never has been.  The documented and officially supported
upgrade path is:


make sure you have good level 0 dumps
make buildworld
make kernel KERNCONF=YOUR_KERNEL_HERE
[1]
reboot in single user [3]
mergemaster -p  [5]
make installworld
make delete-old
mergemaster [4]
reboot

For other procedures, you're on your own.

 Well, I restored a backup of my /etc/ directory and now things appear
 to work again (not sure about bash, but the rest works like a
 charm). Going to stick to csh and try and make a smarter
 buildworld/system sync checking script because I think that the root
 of all the problems was the fact that the sources may have been
 cvsup'ed while I was building world originally, hence the makefile and
 quite a few things may have changed during the build.

Well, yes, that could be a problem.  To say the least.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Login broken and rc.conf variables suddenly invalid after kernel/world upgrade (?!?!)

2006-04-07 Thread Bill Moran
On Thu, 6 Apr 2006 21:14:33 -0700
Garrett Cooper [EMAIL PROTECTED] wrote:

   So, I basically upgraded my source again and did installworld. Had  
 to run make quite a few times because it appeared that the makefile  
 for /usr/src was broken (or at least the targets were incorrect since  
 it kept on complaining about stuff not being compiled in buildworld).  
 So I ran mergemaster, and things appeared to be running smoothly, but  
 now it appears that my system is screwed up, due to bash. Granted, I  
 used bash as my login shell for both root and my local account, and  
 to solve this problem I tried recompiling the program from ports in  
 single user mode, but every single time I login it complains about  
 not being able to find libintl.so.6 (I believe), which is a part of  
 gettext. I eventually gave up on trying to reinstall and fix bash and  
 gettext, but when I try and login, the stupid machine still claims to  
 be missing the library, regardless of the fact that it's no longer my  
 login shell and I sed'ed both /etc/shells and /etc/passwd and /etc/ 
 master.passwd so that they no longer have bash in them.
   I'm just basically stumped and I need a lot of help here, because  
 the machine's inaccessible (the rc 'daemon' complains all the  
 variables setup in rc.conf aren't valid--although they are), and I  
 would greatly appreciate any help anyone can give me.

It doesn't sound like you correctly followed the upgrade procedure, since
there is no make in that procedure.

Additionally, you can't just change /etc/master.passwd without running
cap_mkdb to have the changes take effect.

But, most important, this email isn't detailed enough for us to give you
much help.  Please provide details, such as
*) what version did you upgrade from and to
*) What, exact, commands did you run, in what order
*) What, exact, errors did you get

As a hint for future work: If you think a Makefile provided by the FreeBSD
team is broken, the wisest course of action would be to post here _before_
you commit to an upgrade that is unlikey to work.

-- 
Bill Moran

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


Re: Login broken and rc.conf variables suddenly invalid after kernel/world upgrade (?!?!)

2006-04-07 Thread Garrett Cooper



On Fri, 7 Apr 2006, Bill Moran wrote:


On Thu, 6 Apr 2006 21:14:33 -0700
Garrett Cooper [EMAIL PROTECTED] wrote:


So, I basically upgraded my source again and did installworld. Had
to run make quite a few times because it appeared that the makefile
for /usr/src was broken (or at least the targets were incorrect since
it kept on complaining about stuff not being compiled in buildworld).
So I ran mergemaster, and things appeared to be running smoothly, but
now it appears that my system is screwed up, due to bash. Granted, I
used bash as my login shell for both root and my local account, and
to solve this problem I tried recompiling the program from ports in
single user mode, but every single time I login it complains about
not being able to find libintl.so.6 (I believe), which is a part of
gettext. I eventually gave up on trying to reinstall and fix bash and
gettext, but when I try and login, the stupid machine still claims to
be missing the library, regardless of the fact that it's no longer my
login shell and I sed'ed both /etc/shells and /etc/passwd and /etc/
master.passwd so that they no longer have bash in them.
I'm just basically stumped and I need a lot of help here, because
the machine's inaccessible (the rc 'daemon' complains all the
variables setup in rc.conf aren't valid--although they are), and I
would greatly appreciate any help anyone can give me.


It doesn't sound like you correctly followed the upgrade procedure, since
there is no make in that procedure.


I did though (which is the confusing part). What I did when trying to 
upgrade from 6.0 to 6.1-PR2:


make buildworld; reboot; # booted into single user mode.
make installworld; # failed here partway through claiming that 
dependencies hadn't been compiled.

make buildworld; # still failed
#many makes later and make all's later
make installworld # success
exit
#login attempt
/libexec/ld-elf.so.1: Shared object libintl.so.6 not found, required by 
-bash

#rebooted into single user mode.
#sed'ed /etc/passwd and /etc/master.passwd to change shell from /bin/csh
exit
#repeat from login attempt.

I've chased down the library to gcc, and I did later clean and remake 
libiconv, gettext, and bash, but still no dice (get the same error 
message as before).



Additionally, you can't just change /etc/master.passwd without running
cap_mkdb to have the changes take effect.


Did that just a while ago; thanks for the tip. Didn't change the overall 
behavior though... :(



As a hint for future work: If you think a Makefile provided by the FreeBSD
team is broken, the wisest course of action would be to post here _before_
you commit to an upgrade that is unlikey to work.


I know that if I didn't follow through with the makes my system would have 
been completely crippled since some libs had been recompiled and 
installed, whereas others had not been because 6.0 features a different 
version of gcc and libc than 6.1 does.


If you could provide a command which corrects the spwd.db and pwd.db 
files, I think that will allow me to permanently set my shell to /bin/csh, 
which will allow me to login and start fixing my machine from something 
other than single-user mode.


TIA again,
-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Login broken and rc.conf variables suddenly invalid after kernel/world upgrade (?!?!)

2006-04-07 Thread Garrett Cooper

Garrett Cooper wrote:




On Fri, 7 Apr 2006, Bill Moran wrote:


On Thu, 6 Apr 2006 21:14:33 -0700
Garrett Cooper [EMAIL PROTECTED] wrote:


So, I basically upgraded my source again and did installworld. Had
to run make quite a few times because it appeared that the makefile
for /usr/src was broken (or at least the targets were incorrect since
it kept on complaining about stuff not being compiled in buildworld).
So I ran mergemaster, and things appeared to be running smoothly, but
now it appears that my system is screwed up, due to bash. Granted, I
used bash as my login shell for both root and my local account, and
to solve this problem I tried recompiling the program from ports in
single user mode, but every single time I login it complains about
not being able to find libintl.so.6 (I believe), which is a part of
gettext. I eventually gave up on trying to reinstall and fix bash and
gettext, but when I try and login, the stupid machine still claims to
be missing the library, regardless of the fact that it's no longer my
login shell and I sed'ed both /etc/shells and /etc/passwd and /etc/
master.passwd so that they no longer have bash in them.
I'm just basically stumped and I need a lot of help here, because
the machine's inaccessible (the rc 'daemon' complains all the
variables setup in rc.conf aren't valid--although they are), and I
would greatly appreciate any help anyone can give me.



It doesn't sound like you correctly followed the upgrade procedure, 
since

there is no make in that procedure.



I did though (which is the confusing part). What I did when trying to 
upgrade from 6.0 to 6.1-PR2:


make buildworld; reboot; # booted into single user mode.


mergemaster -p

make installworld; # failed here partway through claiming that 
dependencies hadn't been compiled.

make buildworld; # still failed
#many makes later and make all's later
make installworld # success


mergemaster


exit
#login attempt
/libexec/ld-elf.so.1: Shared object libintl.so.6 not found, required 
by -bash

#rebooted into single user mode.
#sed'ed /etc/passwd and /etc/master.passwd to change shell from /bin/csh
exit
#repeat from login attempt.

I've chased down the library to gcc, and I did later clean and remake 
libiconv, gettext, and bash, but still no dice (get the same error 
message as before).



Additionally, you can't just change /etc/master.passwd without running
cap_mkdb to have the changes take effect.



Did that just a while ago; thanks for the tip. Didn't change the 
overall behavior though... :(


As a hint for future work: If you think a Makefile provided by the 
FreeBSD
team is broken, the wisest course of action would be to post here 
_before_

you commit to an upgrade that is unlikey to work.



I know that if I didn't follow through with the makes my system would 
have been completely crippled since some libs had been recompiled and 
installed, whereas others had not been because 6.0 features a 
different version of gcc and libc than 6.1 does.


If you could provide a command which corrects the spwd.db and pwd.db 
files, I think that will allow me to permanently set my shell to 
/bin/csh, which will allow me to login and start fixing my machine 
from something other than single-user mode.


TIA again,
-Garrett


By the way, I also ran mergemaster as shown above. I forgot to 
originally include that.

-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Login broken and rc.conf variables suddenly invalid after kernel/world upgrade (?!?!)

2006-04-07 Thread Lowell Gilbert
Garrett Cooper [EMAIL PROTECTED] writes:

 By the way, I also ran mergemaster as shown above. I forgot to
 originally include that.

Did you also forget to mention building and installing the new kernel
before the reboot?  If you actually left that step out, it would
explain much of your trouble.

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


Re: Login broken and rc.conf variables suddenly invalid after kernel/world upgrade (?!?!)

2006-04-07 Thread Garrett Cooper

Lowell Gilbert wrote:


Garrett Cooper [EMAIL PROTECTED] writes:

 


By the way, I also ran mergemaster as shown above. I forgot to
originally include that.
   



Did you also forget to mention building and installing the new kernel
before the reboot?  If you actually left that step out, it would
explain much of your trouble.

 

Yes, I forgot to include that as well. I did that prior to building and 
installing world (and I don't think that would have interfered since the 
kernel is a standalone deal I thought).


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


[semi-SOLVED] Re: Login broken and rc.conf variables suddenly invalid after kernel/world upgrade (?!?!)

2006-04-07 Thread Garrett Cooper

Garrett Cooper wrote:

Lowell Gilbert wrote:


Garrett Cooper [EMAIL PROTECTED] writes:

 


By the way, I also ran mergemaster as shown above. I forgot to
originally include that.
  


Did you also forget to mention building and installing the new kernel
before the reboot?  If you actually left that step out, it would
explain much of your trouble.

 

Yes, I forgot to include that as well. I did that prior to building 
and installing world (and I don't think that would have interfered 
since the kernel is a standalone deal I thought).
Well, I restored a backup of my /etc/ directory and now things appear to 
work again (not sure about bash, but the rest works like a charm). Going 
to stick to csh and try and make a smarter buildworld/system sync 
checking script because I think that the root of all the problems was 
the fact that the sources may have been cvsup'ed while I was building 
world originally, hence the makefile and quite a few things may have 
changed during the build.


Thanks again for the help!
-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Login Max Chr?

2005-10-31 Thread Andrew P.
On 10/31/05, Sean Murphy [EMAIL PROTECTED] wrote:
 I am running FreeBSD 5.4

 Is there a way to change the eight character login length to allow more
 characters?

 The reason is I would like to do first initial last name for the login.
 However some last names are longer than eight characters.  It would also
 work well for email addresses on the server.

 Thanks
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]


I thought it was 16 characters:

sat64# cat /etc/passwd | grep 123
1234567890123456:*:1005:1005:123:/home/1234567890123456:/bin/sh
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Login Max Chr?

2005-10-31 Thread Sean Murphy

Andrew P. wrote:

On 10/31/05, Sean Murphy [EMAIL PROTECTED] wrote:

I am running FreeBSD 5.4

Is there a way to change the eight character login length to allow more
characters?

The reason is I would like to do first initial last name for the login.
However some last names are longer than eight characters.  It would also
work well for email addresses on the server.

Thanks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]



I thought it was 16 characters:

sat64# cat /etc/passwd | grep 123
1234567890123456:*:1005:1005:123:/home/1234567890123456:/bin/sh
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


is there any problems with using 16 characters with any applications or 
do the applications don't care the login name length for example


email using
uw-imap
uw-pop




--
Sean Murphy
Senior Network Technician
California Institute of the Arts
661-253-7732
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Login Max Chr?

2005-10-31 Thread Andrew P.
On 10/31/05, Sean Murphy [EMAIL PROTECTED] wrote:
 Andrew P. wrote:
  On 10/31/05, Sean Murphy [EMAIL PROTECTED] wrote:
  I am running FreeBSD 5.4
 
  Is there a way to change the eight character login length to allow more
  characters?
 
  The reason is I would like to do first initial last name for the login.
  However some last names are longer than eight characters.  It would also
  work well for email addresses on the server.
 
  Thanks
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to [EMAIL PROTECTED]
 
 
  I thought it was 16 characters:
 
  sat64# cat /etc/passwd | grep 123
  1234567890123456:*:1005:1005:123:/home/1234567890123456:/bin/sh
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to [EMAIL PROTECTED]
 
 
 is there any problems with using 16 characters with any applications or
 do the applications don't care the login name length for example


That depends solely on the applications. Most
newer ones will not show any problems.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Login Max Chr?

2005-10-31 Thread Bill Campbell
On Mon, Oct 31, 2005, Sean Murphy wrote:
Andrew P. wrote:
On 10/31/05, Sean Murphy [EMAIL PROTECTED] wrote:
I am running FreeBSD 5.4

Is there a way to change the eight character login length to allow more
characters?

The reason is I would like to do first initial last name for the login.
However some last names are longer than eight characters.  It would also
work well for email addresses on the server.

...
I thought it was 16 characters:

...
is there any problems with using 16 characters with any applications or 
do the applications don't care the login name length for example

email using
uw-imap
uw-pop

There may be issues with some legacy applications.  The only
program I know offhand that complains about login names greater
than 8 characters is COPS (I may just be running an ancient
version of that).

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
UUCP:   camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

``the purpose of government is to reign in the rights of the people''
-Bill Clinton during an interview on MTV in 1993
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Login Password

2005-09-22 Thread Dag-Erling Smørgrav
[redirected from freebsd-i386 to freebsd-questions]

Daniel Schleig [EMAIL PROTECTED] writes:
 I just installed FreeBSD via ftp site and the installation was
 succesful.  Now, when I boot up the computer, the system prompts me
 for a login/password to 'myhome.westell.com.' I have a westell 327
 router that I use to connect to the internet for verizon. I set up a
 username and password previously for my modem but when I try to
 enter it on FreeBSD, it replys: Login Incorect.  Is there a way I
 can change this or something I can do to set a login/password?

FreeBSD does not know anything about your router or the password you
chose there.  It just uses 'westell.com' as domain name because your
router's dhcp server told it to.  There is probably a configuration
option on your router that lets you specify a different domain name.

If you did not create a user during installation, simply log in as
root and create a user for yourself.  If you weren't asked for a root
password during installation, just press enter at the password prompt,
and immediately set a root password with 'passwd root'.

DES
-- 
Dag-Erling Smørgrav - [EMAIL PROTECTED]

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


Re: login permission over scp

2005-02-17 Thread Eilko Bos
Hi,

From the keyboard of  ??, written on Thu, Feb 17, 2005 at 
11:42:11AM +0300:
 i need only secure copy, but must give full user shell to user [EMAIL 
 PROTECTED]
 on host B. if attaker take control of A, he can shell to [EMAIL PROTECTED]
 
 setting /sbin/nologin to shell [EMAIL PROTECTED] scp not work
 
 what can i do to reduce permission [EMAIL PROTECTED]

You can use rssh from the ports:
$ cat /usr/ports/shells/rssh/pkg-descr 
rssh is a Restricted Secure SHell that allow only the use of sftp or scp.
It could be use when you need an account (and a valid shell) in order to
execute sftp or scp but when you don't want to give the possibility to log
in to this user.

WWW: http://www.pizzashack.org/rssh/index.shtml

- enigmatyc
[EMAIL PROTECTED]
$


Grtz,
--
Eilko.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: login error:cannot not find root directory

2005-02-17 Thread perikillo
   I give up.
   I dont how in hell did this mistake, but i reinstall
again Freebsd. Thanks Lowell Gilbert for your message.


On Wed, 16 Feb 2005 13:34:05 -0800, perikillo [EMAIL PROTECTED] wrote:
Yes, i check, the /root /.* but they looks correct, i check the
 propierties and attr of that directory and files, but they look
 correct. I dont know what more to check :-?
 
 Another error i found is went i try to see a manpage the system
 send this error:
 
 mistake# man ls
 /usr/libexec/ld-elf.so.1  /usr/lib/libz.so.2
 
That cannot find that library, i check those files and they exist,
 maybe went i was reparin my system i broke the link, could i repair
 this???
 
If i make the makeworld again could be fixed
 
Thanks.
 
 On Tue, 15 Feb 2005 11:14:02 -0800 (PST), Lowell Gilbert
 [EMAIL PROTECTED] wrote:
  perikillo [EMAIL PROTECTED] writes:
 
 Hi all.
 Look i was hardering my freebsd box 4.10 p5, but i made one mistake:
   I didnt test my system before i reboot
  
 I was reading some docs about security, i use chflags on:
  
 mistake# chflags schg /bin/*
 mistake# chflags schg /sbin/*
  
 Them apply some chmod on /root files:
  
  mistake# chmod 0600 /root/.*  (i think :-?)
  
 I was trying to make my root directory only visible by root user.
   But dont remenber wich mod i apply. I made more changes but dont
   remember all.
  
   The result was that went i try to access my box like normal user
   (wheel group), the systema say:
 error: cannot find root directory
  
  Them i boot single-user, i input my password:
  
init: single-user failed
  
   Here i could not access my system, my God
  
  
 Ok, them get my 3 floppys, kern, mfs, and fixit .flp. I mount / to
   access  my system:
  
  -delete the schg label on /bin and /sbin
   mistake#chflags noschg /bin/*
   mistake#chflags noschg /sbin/*
  
On the root directory, i change my .files attr:
  
   mistake# chmod 0644 /root/.*
  
   I change my ttys, to let root access the system: from insecure - 
   secure.
  
   I was checking other system with the same version 4.10 p5, and let
   the files attributes on /root and / with the same attributes.
  
I dont touch the /kernel file, after this change root could
   access the system, but the other users dont have access:
  
   error: cannot find root directory.
  
This is my situation right now, could some one give some clues to
   resolve this problem,  i dont want to install again the S.O, this
   machine i working very well.
  
  I will apreciate any  clue. Thanks all for your time.
 
  Check the permissions on /..
 

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


Re: login error:cannot not find root directory

2005-02-16 Thread perikillo
   Yes, i check, the /root /.* but they looks correct, i check the
propierties and attr of that directory and files, but they look
correct. I dont know what more to check :-?

Another error i found is went i try to see a manpage the system
send this error:

mistake# man ls
/usr/libexec/ld-elf.so.1  /usr/lib/libz.so.2

   That cannot find that library, i check those files and they exist,
maybe went i was reparin my system i broke the link, could i repair
this???

   If i make the makeworld again could be fixed
   
   Thanks.

On Tue, 15 Feb 2005 11:14:02 -0800 (PST), Lowell Gilbert
[EMAIL PROTECTED] wrote:
 perikillo [EMAIL PROTECTED] writes:
 
Hi all.
Look i was hardering my freebsd box 4.10 p5, but i made one mistake:
  I didnt test my system before i reboot
 
I was reading some docs about security, i use chflags on:
 
mistake# chflags schg /bin/*
mistake# chflags schg /sbin/*
 
Them apply some chmod on /root files:
 
 mistake# chmod 0600 /root/.*  (i think :-?)
 
I was trying to make my root directory only visible by root user.
  But dont remenber wich mod i apply. I made more changes but dont
  remember all.
 
  The result was that went i try to access my box like normal user
  (wheel group), the systema say:
error: cannot find root directory
 
 Them i boot single-user, i input my password:
 
   init: single-user failed
 
  Here i could not access my system, my God
 
 
Ok, them get my 3 floppys, kern, mfs, and fixit .flp. I mount / to
  access  my system:
 
 -delete the schg label on /bin and /sbin
  mistake#chflags noschg /bin/*
  mistake#chflags noschg /sbin/*
 
   On the root directory, i change my .files attr:
 
  mistake# chmod 0644 /root/.*
 
  I change my ttys, to let root access the system: from insecure - 
  secure.
 
  I was checking other system with the same version 4.10 p5, and let
  the files attributes on /root and / with the same attributes.
 
   I dont touch the /kernel file, after this change root could
  access the system, but the other users dont have access:
 
  error: cannot find root directory.
 
   This is my situation right now, could some one give some clues to
  resolve this problem,  i dont want to install again the S.O, this
  machine i working very well.
 
 I will apreciate any  clue. Thanks all for your time.
 
 Check the permissions on /..

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


Re: Login

2005-01-28 Thread Pat Maddox
You should have created a user for yourself during the install.  If
not, don't worry.  You set the root password at some point.  Your
username is root, and the password is whatever you set it as.  Login
as root and then type adduser to add another user to the system for
day-to-day use.


On Fri, 28 Jan 2005 14:25:01 -1000, Pete Dela Cruz
[EMAIL PROTECTED] wrote:
 I tried to boot FreeBsd for the first time and I get this Login prompt. 
 What to do? I don't know  what my login is. I don't remember being prompted 
 or assigned a login during the installation process. Please help. Thanks
 
 
 Pete Dela Cruz
 [EMAIL PROTECTED]
 Why Wait? Move to EarthLink.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

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


Re: Login

2005-01-28 Thread Andrew L. Gould
On Friday 28 January 2005 06:25 pm, Pete Dela Cruz wrote:
 I tried to boot FreeBsd for the first time and I get this Login
 prompt. What to do? I don't know  what my login is. I don't remember
 being prompted or assigned a login during the installation process.
 Please help. Thanks


 Pete Dela Cruz
 [EMAIL PROTECTED]
 Why Wait? Move to EarthLink.

During installation, you were prompted for a password for the root user.  
This is regardless of whether you chose to add a normal user.

Login in as 'root' and supply the password when prompted.  If you don't 
recall setting a password, try hitting [enter] and see if it lets you 
in without one.

Note Well:  If you did not set a password for root, you need to do so.  
Once you're logged in as root, set a password by executing the command:

passwd


Best of luck,

Andrew Gould
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: login problems

2004-12-31 Thread Toni Schmidbauer
On Wed, Dec 29, 2004 at 03:10:16PM -0600, Nathan Kinkade wrote:
 On Wed, Dec 29, 2004 at 12:43:40PM -0600, Scott Stahl wrote:
 Have you viewed verbose connection messages with the ssh client?  Use
 can use the -v option to view more verbose messages, -vvv will give you
 a lot more.  This will at least let you know at which stage the
 connection is failing.

i would also run sshd with the debug flag enabled (-d).

hth
toni
-- 
Wer es einmal so weit gebracht hat, dass er nicht | toni at stderror dot at
mehr irrt, der hat auch zu arbeiten aufgehoert| Toni Schmidbauer
-- Max Planck |


pgpuj77Xyo86U.pgp
Description: PGP signature


Re: login problems

2004-12-29 Thread Nathan Kinkade
On Wed, Dec 29, 2004 at 12:43:40PM -0600, Scott Stahl wrote:
 I have a strange problem that just started up...
 
 I have two NICs in a development FreeBSD server I use, one public IP
 and one connected to my private network.
 
 I can SSH into the public IP but not the internal IP.  I get the
 username prompt but after I enter the login and press enter the
 session just hangs.
 
 The same happens for FTP but I don't get a prompt at all.
 
 I can connect via webmin on both IP so I'm thinking it's some kind of
 auth problem.
 
 Any ideas?
 
 Scott.

Have you viewed verbose connection messages with the ssh client?  Use
can use the -v option to view more verbose messages, -vvv will give you
a lot more.  This will at least let you know at which stage the
connection is failing.

Nathan


pgpIuuNlOQaiE.pgp
Description: PGP signature


Re: login problems

2004-12-29 Thread Toni Schmidbauer
On Wed, Dec 29, 2004 at 12:43:40PM -0600, Scott Stahl wrote:
 I have two NICs in a development FreeBSD server I use, one public IP
 and one connected to my private network.
 
 I can SSH into the public IP but not the internal IP.  I get the
 username prompt but after I enter the login and press enter the
 session just hangs.
 
 The same happens for FTP but I don't get a prompt at all.

sounds mostly like a dns problem. do you dns set up for your
internal hosts? if not, put your internal ip's into /etc/hosts
on the freebsd server. 

hth,
toni
-- 
Wer es einmal so weit gebracht hat, dass er nicht | toni at stderror dot at
mehr irrt, der hat auch zu arbeiten aufgehoert| Toni Schmidbauer
-- Max Planck |


pgpNR5jcxj916.pgp
Description: PGP signature


Re: login problems

2004-12-29 Thread Scott Stahl
The internal IP was already added to the hosts file.

I setup verbose logging in putty and I get the following:

Outgoing packet type 5 / 0x05 (SSH2_MSG_SERVICE_REQUEST)
    00 00 00 0c 73 73 68 2d 75 73 65 72 61 75 74 68  ssh-userauth
Incoming packet type 6 / 0x06 (SSH2_MSG_SERVICE_ACCEPT)
    00 00 00 0c 73 73 68 2d 75 73 65 72 61 75 74 68  ssh-userauth
Outgoing packet type 50 / 0x32 (SSH2_MSG_USERAUTH_REQUEST)
    00 00 00 04 72 6f 6f 74 00 00 00 0e 73 73 68 2d  rootssh-
  0010  63 6f 6e 6e 65 63 74 69 6f 6e 00 00 00 04 6e 6f  connectionno
  0020  6e 65ne

Look's like an authentication problem.

Scott.


On Wed, 29 Dec 2004 23:01:28 +0100, Toni Schmidbauer [EMAIL PROTECTED] wrote:
 On Wed, Dec 29, 2004 at 12:43:40PM -0600, Scott Stahl wrote:
  I have two NICs in a development FreeBSD server I use, one public IP
  and one connected to my private network.
 
  I can SSH into the public IP but not the internal IP.  I get the
  username prompt but after I enter the login and press enter the
  session just hangs.
 
  The same happens for FTP but I don't get a prompt at all.
 
 sounds mostly like a dns problem. do you dns set up for your
 internal hosts? if not, put your internal ip's into /etc/hosts
 on the freebsd server.
 
 hth,
 toni
 --
 Wer es einmal so weit gebracht hat, dass er nicht | toni at stderror dot at
 mehr irrt, der hat auch zu arbeiten aufgehoert| Toni Schmidbauer
 -- Max Planck |
 
 

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


Re: login screen on 5.3

2004-11-23 Thread Luke Kearney

On Tue, 23 Nov 2004 16:05:20 -0700
glen disley [EMAIL PROTECTED] spake thus:

 I just installed Freebsd5.3. After a long compile process and a few 
 tweeks of Xorg I was able to get a kdm screen prompt. There are only 2 
 users on the system, one bing root and the other me (Glen). What I don't 
 understand is why on the kdm login screen I see Charlieroot as 
 administrators and Glen as a user. I'm semi familiar with Linux and my 
 root login is only root no other names. No one else has access to the 
 computer other then me and I set it up behind a SMC router with a built 
 in firewall

#cat /etc/passwd

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


you will find as you go along that when you add users you are asked for
the users full name. At some point someone decided that the root users
name was charlie. If you have email set up properly now you might have
noticed an email from charlie root which is your daily run report. You
could change this by editing the passwd file and giving root the name of
your choice but unless it bothers you there is little point to it. It is
unlikely that you have been attacked if this is the only symptom. 

HTH

LukeK

-- 
Luke Kearney [EMAIL PROTECTED]

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: login screen on 5.3

2004-11-23 Thread Giorgos Keramidas
On 2004-11-23 16:05, glen disley [EMAIL PROTECTED] wrote:
 I just installed Freebsd5.3. After a long compile process and a few
 tweeks of Xorg I was able to get a kdm screen prompt. There are only 2
 users on the system, one bing root and the other me (Glen). What I
 don't understand is why on the kdm login screen I see Charlieroot as
 administrators and Glen as a user. I'm semi familiar with Linux and my
 root login is only root no other names. No one else has access to the
 computer other then me and I set it up behind a SMC router with a
 built in firewall

`Charlie ' is the text that appears in /etc/passwd as the real name of
the root' user.  Obviously, kdm tries to be ``user-friendly'', showing
the real name of the user too, and managed to confuse you.

No worries.  Ignore it or check to see if a configuration option of kdm
can change the default user-display style.

Welcome to FreeBSD, BTW :-)

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: login screen on 5.3

2004-11-23 Thread Kevin D. Kinsey, DaleCo, S.P.
glen disley wrote:
I just installed Freebsd5.3. After a long compile process and a
few tweeks of Xorg I was able to get a kdm screen prompt.
There are only 2 users on the system, one bing root and the
other me (Glen). What I don't understand is why on the kdm
login screen I see Charlieroot as administrators and Glen
as a user. I'm semi familiar with Linux and my root login is
only root no other names. No one else has access to the
computer other then me and I set it up behind a SMC router
with a built in firewall

Your system, most likely, is just fine.
For some reason(s), probably historical and perhaps
hysterical, the full name for the root account is, as
you can see:
grep Charlie /etc/passwd
root:*:0:0:Charlie :/root:/bin/csh
Charlie  ... unless you gave him another name
by editing the password file. 

I've already done a historical posting today, so
if it's OK, we'll let someone else tell us why it's
that way ... or you can look yourself, or we can
just let it slide.  But, in FreeBSD, root's full name
is Charlie Root --- you'll notice it in your nightly
emails as well.
Kevin Kinsey
DaleCo, S.P.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: login name has a @ in it

2004-11-23 Thread Chuck Swiger
KZ wrote:
my login name has an @ in it how do i login?
every time i type @ it erases my login
i'm using a tibook OSX 10.3.6
Questions about MacOS X belong elsewhere, but it is strongly recommended that 
you choose usernames which contain only lower-case alphanumeric characters, 
and are 8 or fewer characters in length.

--
-Chuck
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Login to something before mounting of NFS allowed

2004-09-12 Thread Shantanoo
On Sun, 12 Sep 2004 15:03:51 +0200, Jens Holmqvist [EMAIL PROTECTED] wrote:
 hi,
 is there anyway to have users login to something vefore they can be
 able to mount NFS shares on the NFS server like samba

samba is not a NFS server.

 
 if something is hard to understand just ask :)


BTW, have a look at NIS+NFS.

Regards,
Shantanoo
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Login to Netware NDS ?

2004-08-26 Thread Dan Nelson
In the last episode (Aug 26), Feczak Szabolcs said:
 Is it possible somehow to log in to netware nds from freebsd ? ncplip
 doesn't support it and this project is discontinued according to the
 maintainer ...
 
 Any stable way to access netware shares ? Im having problems with the
 accessibility even with bindery
 http://www.freebsd.org/cgi/query-pr.cgi?pr=65920

See the mount_nwfs and ncplogin manpages.  ncplib was merged into the
base system long ago.  You could also run Netware NFS on your Netware
server and access it via regular NFS mounts on Unix.

-- 
Dan Nelson
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Login to Netware NDS ?

2004-08-26 Thread Feczak Szabolcs
Dan Nelson dnelson at allantgroup.com wrote:
 See the mount_nwfs and ncplogin manpages.  ncplib was merged into the
 base system long ago.  
I have checked, but nothing about NDS there ...

More things here that I do not understand

ipx setting

# grep ipx /etc/rc.conf
   
ifconfig_xl0f2_ipx=ipx 0x8021
ipxrouted_flags=-q
ipxrouted_enable=YES

latest release

# uname -a 
  
FreeBSD backup.sdi.hu 4.10-RELEASE-p2 FreeBSD 4.10-RELEASE-p2 #2: Wed Aug 18 20:08:14 
CEST 2004 [EMAIL PROTECTED]:/mnt/data/obj/mnt/data/cvs/src/sys/BACKUP  i386

after boot ipxrouted starts

# ps uaxw| grep IPXrouted
root   74  0.0  0.2   944  572  ??  Ss5:28PM   0:00.00 IPXrouted -q
root  208  0.0  0.3  1092  660  p0  S+5:30PM   0:00.00 grep IPXrouted

routing tables are not so right ..

# netstat -rf ipx  
Routing tables

IPX:
DestinationGatewayFlagsNetif Expire
8021.* 8021.a5e3efe20 U   xl0f2

I can't see the server

# ncplist s
Can't attach to a nearest server

Serverlog says error

Aug 26 17:32:36 backup IPXrouted[74]: DELETEservice 0278 TREE 
addr 37dc#0:0:0:0:0:1.4006   metric 16
Aug 26 17:32:36 backup IPXrouted[74]: DELETEservice 026B TREE 
addr 37dc#0:0:0:0:0:1.0005   metric 16
Aug 26 17:32:36 backup IPXrouted[74]: DELETEservice 0004 SZABO-SERVER-BAJCSY  
addr 37dc#0:0:0:0:0:1.0451   metric 16
Aug 26 17:33:07 backup /kernel: ncp_send: error 51 for server SZABO-SERVER-BAJCSY
Aug 26 17:33:07 backup /kernel:
Aug 26 17:33:07 backup /kernel: Aug 26 17:33:07 backup /kernel: ncp_send: error 51 for 
server SZABO-SERVER-BAJCSY

restart IPXrouted

# killall -9 IPXrouted
# IPXrouted -q

Routing gets better

# netstat -rf ipx  
 
Routing tables

IPX:
DestinationGatewayFlagsNetif Expire
default8021.105abc6f5 UG  xl0f2
8021.* 8021.a5e3efe20 U   xl0f2

So finally I can see it

# ncplist s
Visible servers (from SZABO-SERVER-BAJCSY):
NameNetworkNode   Port
---   
SZABO-SERVER-BAJCSY 37DC:0001:0451

and the volumes

# ncplist v SZABO-SERVER-BAJCSY
  

Mounted volumes on server SZABO-SERVER-BAJCSY:
Number Name
-- ---
0 SYS
1 DATA

mount it (bindery)

# mount_nwfs -U admin -S SZABO-SERVER-BAJCSY -V DATA /mnt/nwfs 
  
Netware password: 

go to one of the dirs in the mount

# cd /mnt/nwfs/xxx 
 

I have a file here already

# ls   
   /mnt/nwfs/xxx
aliases

Would like to copy here another one

# cp /etc/make.conf .  
   /mnt/nwfs/xxx
cp: ./make.conf: Unknown error: 35207

error ...

about the rights

# ls -ld . 
   /mnt/nwfs/xxx
drwxr-xr-x  1 root  wheel  16384 Aug 26 17:42 .

about the mount

# mount | grep nwfs
/SZABO-SERVER-BAJCSY:ADMIN/DATA on /mnt/nwfs (nwfs)

more errors ...

Aug 26 17:51:20 backup /kernel: ncp_send: error 4 for server SZABO-SERVER-BAJCSY
Aug 26 17:51:20 backup /kernel: 
Aug 26 17:51:20 backup /kernel: Aug 26 17:51:20 backup /kernel: ncp_send: error 4 for 
server SZABO-SERVER-BAJCSY
Aug 26 17:53:20 backup IPXrouted[281]: ADD dst 37dc#0:0:0:0:0:0, router 
8021#0:10:5a:bc:6f:56, metric 1, ticks 2, flags UP|GATEWAY state CHANGED
Aug 26 17:53:20 backup IPXrouted[281]: ADD   service 0004 SZABO-SERVER-BAJCSY  
addr 37dc#0:0:0:0:0:1.0451   metric 1
Aug 26 17:53:20 backup IPXrouted[281]: ADD   service 026B TREE 
addr 37dc#0:0:0:0:0:1.0005   metric 1
Aug 26 17:53:20 backup IPXrouted[281]: ADD   service 0278 TREE 
addr 37dc#0:0:0:0:0:1.4006   metric 1


it is a fresh install of netware 4.11 btw

 You could also run Netware NFS on your Netware
 server and access it via regular NFS mounts on Unix.
First, Is this free ? Second, Is this ok with Netware 4.11 ?

I have heard some weeks ago that there is a port in the tree which can mount
nwfs shares through the nfs calls or something on the client side, but
I can not recall its name

-- 
  _(_)_
 (_. o_)F3CZ0
   (_,) http://feczo.nmi.rulez.org
  ()__
  // //


Re: Login to Netware NDS ?

2004-08-26 Thread Dan Nelson
In the last episode (Aug 26), Feczak Szabolcs said:
 Dan Nelson dnelson at allantgroup.com wrote:
  See the mount_nwfs and ncplogin manpages.  ncplib was merged into
  the base system long ago.
 I have checked, but nothing about NDS there ...

Oops.  It looks like you are right.  I haven't run IPX on my network
for a long time, so I can't help you with your connection problems
though.
 
 it is a fresh install of netware 4.11 btw
 
  You could also run Netware NFS on your Netware
  server and access it via regular NFS mounts on Unix.

 First, Is this free ? Second, Is this ok with Netware 4.11 ?

It was a separate product for 4.11 and 5, but they started including it
for free in Netware 6.0 (it's now part of NFAP - native file and print).

-- 
Dan Nelson
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: login/password

2004-06-24 Thread Geert Hendrickx
On Wed, Jun 23, 2004 at 03:52:27PM -0400, Steve Bertrand wrote:
  I'm new to using FreeBSD and when I boot up the computer (I've
  already installed FreeBSD) it asks for a login name and password. I
  don't know either and I haven't been able to get into FreeBSD. Please
  help me.
 
 During install, it prompts you to type in the super users password. Did
 you make a note of this?
 
 The superusers name in question is 'root' (w/o quotes). This user has God
 power over everything and is typically the only user on the system when an
 install is freshly done, unless other users have been added upon install.
 
 IIRC, the system will accept a null password at install time, so if you
 don't remember entering the su password, try logging in with username:
 root and no password.
 
 Regards,
 
 Steve

You could also boot into single-user mode (type boot -s at the boot
prompt), then you will be logged in as root automatically (without
having to give the password -- unless you disabled that in /etc/ttys).
Then simply type passwd and enter a new password for root (twice).  

GH
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: login/password

2004-06-23 Thread Steve Bertrand
 I'm new to using FreeBSD and when I boot up the computer (I've
 already installed FreeBSD) it asks for a login name and password. I
 don't know either and I haven't been able to get into FreeBSD. Please
 help me.

During install, it prompts you to type in the super users password. Did
you make a note of this?

The superusers name in question is 'root' (w/o quotes). This user has God
power over everything and is typically the only user on the system when an
install is freshly done, unless other users have been added upon install.

IIRC, the system will accept a null password at install time, so if you
don't remember entering the su password, try logging in with username:
root and no password.

Regards,

Steve

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: login/password

2004-06-23 Thread Steve Bertrand
 Thanks that worked,

But now I have another question, When it boots I enter my user
 name and password but all I get is a command prompt, how am I supposed
 to get into free bsd (or is that it?)

Well, it doesn't look like much at the command prompt, but yes, that's it.
The wonderful world of the power of BSD is now at your fingertips.

If you are looking for a fancy GUI interface that can sit on top of the
command prompt, start by reading the handbook...here is the section you
want:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11.html

If you are not familiar with unix basics, there are several books out
there, and thousands of online tutorials. Google is your friend.

I don't know your familiarity level, but the one most helpful command will
be 'man'. the man command will allow you to view usage information on
various commands. In essence typing something like:

# man passwd

will open the manual page for the passwd program. Most all commands have
corresponding manual pages that can be accessed in this manner. For more
information on the 'man' command, type:

# man man

Well, I hope this gives you a start. Note the entire handbook for FreeBSD
can always be accessed from here:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/

and it is certainly worth a read, a second read, then as a reference manual.

Cheers,

Steve



 Benjamin





-- 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: login/password

2004-06-23 Thread Bill Moran
Benjamin Seuser [EMAIL PROTECTED] wrote:

 Hi,
 
 I'm new to using FreeBSD and when I boot up the computer (I've 
 already installed FreeBSD) it asks for a login name and password. I 
 don't know either and I haven't been able to get into FreeBSD. Please 
 help me.

Can you provide these documents in a readable format, such as PDF.  We
don't use Word.

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: login/password

2004-06-23 Thread Bill Moran
Bill Moran [EMAIL PROTECTED] wrote:

 Benjamin Seuser [EMAIL PROTECTED] wrote:
 
  Hi,
  
  I'm new to using FreeBSD and when I boot up the computer (I've 
  already installed FreeBSD) it asks for a login name and password. I 
  don't know either and I haven't been able to get into FreeBSD. Please 
  help me.
 
 Can you provide these documents in a readable format, such as PDF.  We
 don't use Word.

Well ... I know that didn't make any sense.

Please ignore this.  I'm not paying attention to what I'm doing, and I'm
replying to the wrong email.

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: login troubles (password prompt is slow to appear)

2004-06-19 Thread Lowell Gilbert
RF [EMAIL PROTECTED] writes:

 installed... and the password prompt still takes forever to appear.
 Anyone know what's going on?  I heard something about FreeBSD doing a
 DNS on every connecting IP and that adding my IP (which is
 unfortunately not static) to  etc/hosts would bypass the lookup... but
 it still takes a long time.

I think you probably still aren't getting the name resolution on the
connecting machines (yes, sshd does do a reverse name lookup).  Try
adding debug flags to the sshd and see what it thinks the problems
are.  There is an sshd_flags variable in rc.conf that you can set to
do this automatically at boot time.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: login help

2004-05-22 Thread Warren Block
On Sat, 22 May 2004, Chris Svensrud wrote:

 I am running FreeBSD 4.9 and am having trouble with root login password. I
 have tried to reset the password using boot as single user:

 # mount -u /
 # mount -a
 # passwd

 # exit

 when I try to login I still get a problem when using root. I can login as
 another user, but not root.

You did not include a description of the problem or an error message.

 From what I have seen it appers that the problem stems from the smb.conf file.

What problem?  The procedure shown above does not affect smb.conf.
Maybe you are looking for smbpasswd, but it's difficult to say without
any details.

-Warren Block * Rapid City, South Dakota USA
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Login question

2004-05-20 Thread Remko Lodder
Hey Chris,
Christopher Svensrud wrote:
I keep having the same problem with login. The system keeps indicating that
the password is incorrect. I have been able to reset the password and still
it gives me the same message.

jup, unless you provide some more details we cannot actually try and 
solve your problem. Why? Well there could be many reasons
ssh root login (that should be denied by default) for example.
 

I just started running FreBSD and I was setting up Samba when this occurred.
Do you mean the samba password is incorrect?
Please be somewhat more clear!
 

Please help!
 

Thanks
Chris
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
--
Kind regards,
Remko Lodder
Elvandar.org/DSINet.org
www.mostly-harmless.nl Dutch community for helping newcomers on the 
hackerscene
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Login question

2004-05-20 Thread Bill Moran
Christopher Svensrud wrote:
I keep having the same problem with login. The system keeps indicating that
the password is incorrect. I have been able to reset the password and still
it gives me the same message.
I just started running FreBSD and I was setting up Samba when this occurred.
Reboot the system by hitting ctrl+alt+delete, while it's booting back
up, press space bar when you see the press enter to boot or ... and before
it finishes counting down.  (You don't mention which version of FreeBSD you're
using, but FreeBSD 5 has a spiffy menu here where you can just select a menu
item for single-user mode) At the prompt, enter boot -s to boot into single-
user mode.  When asked for a default shell, just hit enter to accept the
default.  Once you have a shell prompt, enter fsck -y and then mount -a.
Now you're logged in and can execute commands as root.  Enter passwd user
to change the password for user.  If you omit user, you'll change the root
password.
good luck.
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Login question

2004-05-20 Thread Bill Moran
[Please use reply-all to keep the mailing list in the recipient list]
Christopher Svensrud wrote:
I have tried your suggestion and I get the same problem. incorrect
password.
Are you saying you're getting the login error when you try to login in from
Windows via smb?  If so, this is a completely different problem than the
one I gave you a fix for.
I am running version 4.9 with KDE desktop. I am trying to set this machine
up as a simple file server. 
Can you log in to KDE?
I get message containing nmbd[187] as I try to log in. Is there a way to
disable or edit smb.conf from single user mode? If really thing this might
be part of the source of my problem.
I'm not sure, but I don't think your problem is with FreeBSD, but with Samba.
Take a look at some of these docs:
http://us3.samba.org/samba/docs/man/smbpasswd.8.html
http://us3.samba.org/samba/ftp/docs/Samba24Hc13.pdf
ftp://ftp.stratus.com/pub/vos/customers/samba/
Note the following additional information:
1) If your problem is with logging in via samba, you'll probably get better
   assistance posting your question to the samba mailing lists:
   http://lists.samba.org/mailman/
2) If your problem is with samba, you'll most likely need to include your
   smb.conf file in order to get any decent help.
Cheers
Chris
-Original Message-
From: Bill Moran [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 20, 2004 12:29 PM
To: Christopher Svensrud
Cc: [EMAIL PROTECTED]
Subject: Re: Login question

Christopher Svensrud wrote:
I keep having the same problem with login. The system keeps indicating
that
the password is incorrect. I have been able to reset the password and
still
it gives me the same message.
I just started running FreBSD and I was setting up Samba when this
occurred.
Reboot the system by hitting ctrl+alt+delete, while it's booting back
up, press space bar when you see the press enter to boot or ... and
before
it finishes counting down.  (You don't mention which version of FreeBSD
you're
using, but FreeBSD 5 has a spiffy menu here where you can just select a menu
item for single-user mode) At the prompt, enter boot -s to boot into
single-
user mode.  When asked for a default shell, just hit enter to accept the
default.  Once you have a shell prompt, enter fsck -y and then mount -a.
Now you're logged in and can execute commands as root.  Enter passwd
user
to change the password for user.  If you omit user, you'll change the
root
password.
good luck.

--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Login Incorrect

2004-03-09 Thread Chris
On Tuesday 09 March 2004 02:12 pm, saad hage wrote:
 Hi,

 When I try to connect to (freebsd 4.9) with Root or any other user I
 get the error Login incorrect. I changed the Root password with boot -s but
 the problem persist.

but I can connect via FTP with users other than Root.

 Any idea?

 Thanks in advance.

Let's assume you mean root login via ssh - If so,  hack the /etc/ssh/sshd_conf 
file to allow root to login via ssh.

-- 
Best regards,
Chris
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Login Incorrect

2004-03-09 Thread Remko Lodder
I thought of that as well, but he also stats that he has the same issue with
other users?

Or am i mistaken now?

Otherwise, that is indeed the solution to his problem , though a insecure
option,
better to use another user and su - to the root user , much more secure.

Cheers

--

Kind regards,

Remko Lodder
Elvandar.org/DSINet.org
www.mostly-harmless.nl Dutch community for helping newcomers on the
hackerscene

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Chris
Verzonden: dinsdag 9 maart 2004 21:17
Aan: [EMAIL PROTECTED]
Onderwerp: Re: Login Incorrect


On Tuesday 09 March 2004 02:12 pm, saad hage wrote:
 Hi,

 When I try to connect to (freebsd 4.9) with Root or any other user I
 get the error Login incorrect. I changed the Root password with boot -s
but
 the problem persist.

but I can connect via FTP with users other than Root.

 Any idea?

 Thanks in advance.

Let's assume you mean root login via ssh - If so,  hack the
/etc/ssh/sshd_conf
file to allow root to login via ssh.

--
Best regards,
Chris
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Login Question

2004-03-09 Thread Matthew Seaman
On Tue, Mar 09, 2004 at 05:47:21PM -0400, Corey Mosher wrote:
 This might sound crazy but I'm wondering if it's possible and if so what 
 software packages to look at.  I want to make it so that when I login to 
 my windows xp (uh oh I used the w word in a freebsd list) machine it 
 authenticates from my FreeBSD machine instead of xp.  I was thinking 
 perhaps LDAP could do it but I'm not sure.
 
 You might ask why...I have no reason...I'm bored and need a new project =)

Samba 3.x can operate as a directory controller for a network of
windows machines.  Active Directory itself is little more than LDAP
and Kerberos with a fancy-schmancy front-end and a few niggling
changes to make it hard to integrate into a Unix based LDAP+Kerberos
setup, but Samba provides the glue that makes that possible.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: Login Incorrect

2004-03-09 Thread Jonathan Chen
On Tue, Mar 09, 2004 at 08:12:46PM +, saad hage wrote:
 Hi,
 
When I try to connect to (freebsd 4.9) with Root or any other user I get 
 the error Login incorrect. I changed the Root password with boot -s but the 
 problem persist.
 
   but I can connect via FTP with users other than Root.

The default /etc/ftpusers disables a root login via FTP.
-- 
Jonathan Chen [EMAIL PROTECTED]
--
I don't want to achive immortality through my works..
 I want to achieve it through not dying - Woody Allen
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: pam_acct_mgmt(): user account has expired (was Re: Login Problem)

2004-03-07 Thread Gerard Seibert


On Saturday, March 06, 2004 5:42:56 PM Barry Hawkins [EMAIL PROTECTED] wrote:

On Mar 4, 2004, at 1:33 PM, Gerard Seibert wrote:

 I am running FreeBSD 5.2.1 - RELEASE #0: Mon Feb 23 20:45:55 GMT 2004

 It seems that I can no longer log into my system. Upon boot-up, the
 usually login appears. I enter my normal login and then my password. I 
 am
 then greeted with this error message:

 BudMan login: pam_acct_mgmt(1): user account has expired
 Login Incorrect.

 Shortly afterwards I receive these error messages:

 BudMan cron[538] _secure_path: /usr/home/ges/.login_conf is not owned 
 by
 root

 The last error message will repeat with the number getting 
 progressively
 higher.

 This is a fresh install of FreeBSD. The only thing I added was KDE 3.2
 today. Can anyone tell me what has happened and how do I get back into 
 my
 system?

 Thanks in advance!

 Gerard Seibert
 [EMAIL PROTECTED]

Gerard,
I am having a similar issue logging in on 5.2.1-RC2, and it seems to 
have happened around the time I added a user and some groups using the 
KUser utility in KDE.  All accounts, including root, are expired.  My 
error message is:

login: pam_acct_mgmt(): user accound has expired
Login Incorrect.

Then, a bit later, I receive messages like the following:

kernel: psmintr: out of sync (0008 != )
kernel: psmintr: discard a byte(1)

On a side note, the message really does display accound instead of 
account; it's not a typo of mine.  Searches on the following phrases 
within the questions and newbies mailing lists produced no leads for me 
to research:
'pam_acct_mgmt(): user accound has expired'
'pam_acct_mgmt():'
'psmintr'

Regards,
-- 
Barry C. Hawkins
All Things Computed
site: www.allthingscomputed.com
weblog: www.yepthatsme.com

** Reply Separator **

Sunday, March 07, 2004 1:44:11 PM

That is exactly what I was doing when this problem occurred. I am going
to the KDE site and report this problem. It might be a bug of some sort.
You might want to do the same if you have not all ready.

As a side bar, in the master.passwd file, near the top, is an entry
that includes: Charlie . Is it possible, or should I say, advisable
to change that entry manually or just leave it as is?

Thanks!

Gerard Seibert
[EMAIL PROTECTED]


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


pam_acct_mgmt(): user account has expired (was Re: Login Problem)

2004-03-06 Thread Barry Hawkins
On Mar 4, 2004, at 1:33 PM, Gerard Seibert wrote:

I am running FreeBSD 5.2.1 - RELEASE #0: Mon Feb 23 20:45:55 GMT 2004

It seems that I can no longer log into my system. Upon boot-up, the
usually login appears. I enter my normal login and then my password. I 
am
then greeted with this error message:

BudMan login: pam_acct_mgmt(1): user account has expired
Login Incorrect.
Shortly afterwards I receive these error messages:

BudMan cron[538] _secure_path: /usr/home/ges/.login_conf is not owned 
by
root

The last error message will repeat with the number getting 
progressively
higher.

This is a fresh install of FreeBSD. The only thing I added was KDE 3.2
today. Can anyone tell me what has happened and how do I get back into 
my
system?

Thanks in advance!

Gerard Seibert
[EMAIL PROTECTED]
Gerard,
	I am having a similar issue logging in on 5.2.1-RC2, and it seems to 
have happened around the time I added a user and some groups using the 
KUser utility in KDE.  All accounts, including root, are expired.  My 
error message is:

login: pam_acct_mgmt(): user accound has expired
Login Incorrect.
Then, a bit later, I receive messages like the following:

kernel: psmintr: out of sync (0008 != )
kernel: psmintr: discard a byte(1)
	On a side note, the message really does display accound instead of 
account; it's not a typo of mine.  Searches on the following phrases 
within the questions and newbies mailing lists produced no leads for me 
to research:
	'pam_acct_mgmt(): user accound has expired'
	'pam_acct_mgmt():'
	'psmintr'

Regards,
--
Barry C. Hawkins
All Things Computed
site: www.allthingscomputed.com
weblog: www.yepthatsme.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: pam_acct_mgmt(): user account has expired (was Re: Login Problem)

2004-03-06 Thread Barry Hawkins
On Mar 6, 2004, at 5:42 PM, Barry Hawkins wrote:

On Mar 4, 2004, at 1:33 PM, Gerard Seibert wrote:

I am running FreeBSD 5.2.1 - RELEASE #0: Mon Feb 23 20:45:55 GMT 2004

It seems that I can no longer log into my system. Upon boot-up, the
usually login appears. I enter my normal login and then my password. 
I am
then greeted with this error message:

BudMan login: pam_acct_mgmt(1): user account has expired
Login Incorrect.
Shortly afterwards I receive these error messages:

BudMan cron[538] _secure_path: /usr/home/ges/.login_conf is not owned 
by
root

The last error message will repeat with the number getting 
progressively
higher.

This is a fresh install of FreeBSD. The only thing I added was KDE 3.2
today. Can anyone tell me what has happened and how do I get back 
into my
system?

Thanks in advance!

Gerard Seibert
[EMAIL PROTECTED]
Gerard,
	I am having a similar issue logging in on 5.2.1-RC2, and it seems to 
have happened around the time I added a user and some groups using the 
KUser utility in KDE.  All accounts, including root, are expired.  
My error message is:

login: pam_acct_mgmt(): user accound has expired
Login Incorrect.
Then, a bit later, I receive messages like the following:

kernel: psmintr: out of sync (0008 != )
kernel: psmintr: discard a byte(1)
	On a side note, the message really does display accound instead of 
account; it's not a typo of mine.  Searches on the following phrases 
within the questions and newbies mailing lists produced no leads for 
me to research:
	'pam_acct_mgmt(): user accound has expired'
	'pam_acct_mgmt():'
	'psmintr'

I booted into single-user mode (I was amazed to find that 
Ctrl-Alt-Delete shutdown the server from the login prompt.) and took a 
look at /etc/master.passwd.  At the end of one user's entry for shell, 
which was /bin/sh, there was swd 91% appended to the end.  I wonder 
if something happened to the file and that's why I am seeing this 
password expired issue?

Being schooled,
--
Barry C. Hawkins
All Things Computed
site: www.allthingscomputed.com
weblog: www.yepthatsme.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: login

2004-01-30 Thread Lowell Gilbert
chuck [EMAIL PROTECTED] writes:

 Hi, I have freebsd 4.8 and finley got it installed but I can't get past the 
 login When I installed it it asked for a password and I did enter one but it 
 never seems to work.   I am running a HP Pavillion XE738. I reinstalled 4 times 
 but can't get past the login?

Did you create a user account?  
If not, the password you made belongs to the root account.
If you failed to create the password properly, then the root account
might still have a blank password (i.e., just hit return).

See the FreeBSD Handbook description of 
  The Superuser Account
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/users-superuser.html
and 
  Modifying Accounts
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/users-modifying.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: login ID and Password Problems

2003-12-29 Thread fbsd_user
Flem

I understand your frustration. But your post is poorly written when
it comes to describing your problem. It almost sounds like you have
never used an Unix like operating system before. For your info,
during the install process you are asked to enter the password to be
used for the root account.  'root' is the master/god like powered
account used to configure the operating system. That's the account
you should be using to gain access to you newly installed system the
first time.

When the system finishes booting there is the login prompt, you
should respond
with  the word   root   and for the password try purdue112 or
whatever  password you entered during the install.

Why don't you repost and this time explain to the readers how you
got this
GIVEN LOGIN:  koolfd
PASSWORD:  fdwill4u2
SYSTEM MANAGEMENT PWD:  purdue112

It would go along way to understanding just how much of an newbe you
are.

Check this out for some helpful reading
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of F. D.
Williams
Sent: Monday, December 29, 2003 1:10 AM
To: [EMAIL PROTECTED]
Subject: login ID and Password Problems

Hello:
For  six and nights almost non-stop, I've loaded and unloaded
(formatted the HDD) due to some bug (s) of sorts in this program.
Even through the Christmas holidays I've been busy with FreeBSD v5.1
and at the current moment this problem still persists.
This login/password business really sucks.  More than 80 hours at
this installation has produced nothing but a headache.
The current prompt reading  at the console shows the
characteristics:
Dec 28 23:51:41 K7502000PRO.cfl.rr.com login:  5 LOGIN FAILURES ON
ttyv0

GIVEN LOGIN:  koolfd
PASSWORD:  fdwill4u2
SYSTEM MANAGEMENT PWD:  purdue112
After all this time spent at this installation, I am beginning to
have second thoughts about this software.
When I reboot the system it goes right into the program and pauses
at the six options screen, where I would normally type in the
correct digit to continue the boot process.
All hell breaks loose right at the login prompt.  Moreover, when I
go into the program to change the settings, it says that the item
has not be initialized, i.e., it will not allow any changes to the
password, etc.
I have never, ever, spent as much time as this with an install.
What's up?
I made a purchase at CompUSA a fews days ago and saw a copy of this
program on the shelf..$59.95.
Why should it buy this product off the shelf, only to be confronted
with the current (login) problem?

If you have a solution to this login problem, I will continue the
process of getting it to work.  However, the clock on the wall says
time  is running out.
Furthermore, I really don't know what the program looks like.  Until
it is configured correctly and booting, I have the faintest idea
what it looks like.
Originally, I thought the real problem was with the four HDDs
attached to the system.  With that many drives attached, it posed a
problem for me because I could hardly identify the correct one for
the install.  With your disk id scheme, I decided to unplug three of
the drives and use a single one, which proved to be less confusing.

As a new user of this system, it has been a tremendous undertaking
working with this program.  Everything is new and different, as
opposed to MS-DOS/Windows.  Nevertheless, as a new comer, I find the
program very interesting.
I would appreciate any suggestions in resolving this login/password
problem

Thanks in advance

Regards,
Flem D. Williams
Email:  [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: login ID and Password Problems

2003-12-28 Thread Chris
On Monday 29 December 2003 12:10 am, F. D. Williams wrote:
 Hello:
 For  six and nights almost non-stop, I've loaded and unloaded (formatted
 the HDD) due to some bug (s) of sorts in this program.  Even through the
 Christmas holidays I've been busy with FreeBSD v5.1 and at the current
 moment this problem still persists. This login/password business really
 sucks.  More than 80 hours at this installation has produced nothing but a
 headache. The current prompt reading  at the console shows the
 characteristics: Dec 28 23:51:41 K7502000PRO.cfl.rr.com login:  5 LOGIN
 FAILURES ON ttyv0

It would certainly help if you mentioned all the hardware your involved with. 
A copy of the output from dmesg (then again, if you can't login, I guess you 
can't do that either).

Anyways - when you are promted for the root password on install, please make 
certain that your caps key isnt on etc. Unix IS case sensitive. And we'll 
also assume you are logging in as root.


-- 
Best regards,

Chris

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: login by using XFree86...

2003-12-22 Thread Malcolm Kay
On Tue, 23 Dec 2003 06:42, flux wrote:
 Is there any possibility to perform system login from XFree, not from
 console in FreeBSD?

What do you mean by 'system login'.

If you start 'xdm' at boot time you can then login as a user through an 
X login window. (Often started via /etc/ttys)

You can even login as 'root' the privileged user this way but it is highly 
discouraged -- it is considered insecure and also you can end up with a lot
of junk in your root disk partition.


Malcolm Kay
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: login by using XFree86...

2003-12-22 Thread Robert Huff

Malcolm Kay writes:

  If you start 'xdm' at boot time you can then login as a user
  through an X login window. (Often started via /etc/ttys)

While many people fo this, it has been (semi-officially)
discouraged since the days of 2.x.


Robert Huff


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: login by using XFree86...

2003-12-22 Thread Malcolm Kay
On Tue, 23 Dec 2003 02:02, Robert Huff wrote:
 Malcolm Kay writes:
   If you start 'xdm' at boot time you can then login as a user
   through an X login window. (Often started via /etc/ttys)

   While many people fo this, it has been (semi-officially)
 discouraged since the days of 2.x.


   Robert Huff

What are you regfering to; the method of starting at boot,
or the concept of starting 'xdm' at boot?

As far as the method goes there seems to be two opposing
official points of view! Besides which the distributed version
of /etc/ttys has preparation for this.

Malcolm Kay
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: login by using XFree86...

2003-12-22 Thread Robert Huff

Malcolm Kay writes:

  While many people fo this, it has been (semi-officially)
   discouraged since the days of 2.x.
  
  What are you regfering to; the method of starting at boot,
  or the concept of starting 'xdm' at boot?

The idea of starting the display manager out of /etc/ttys.
(The recommended way, if I remember correctly, is to put in
rc.local.)
I have seen a persuasive case made (but can neither quote or
reconstruct it ex tempore) that the /etc/ttys method is both
philospohically wrong and likely to bring greater grief if something
snafus.


Robert Huff


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: login question

2003-11-22 Thread Lowell Gilbert
Vulpes Velox [EMAIL PROTECTED] writes:

 On 21 Nov 2003 22:22:38 -0500
 Lowell Gilbert [EMAIL PROTECTED] wrote:
  This is exactly what Kerberos is good at.  It's harder to administer
  than NIS, but doesn't require as much trust of the client machines.  
  For yet another set of security profiles, LDAP can be useful.
  
  All of these (and, in fact, any scheme that remotely meets the rough
  criteria given) will require configuration on each client as well as
  the server.  
 
 Yeah, know where I can actually find info on doing it thought? The handbook is a
 little short on that... it has one small vague section...

NIS and Kerberos5 both have their own sections in the Handbook.
With pointers off to more (general) information.
For LDAP, I don't offhand know of a good source of information on its
pros and cons, but installing it is as simple as using the pam_ldap
port and following the directions it prints out after install.

To get more specific help, you'll need to be more specific in your
questions, I'm afraid.

Good luck.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: login question

2003-11-21 Thread Lowell Gilbert
Vulpes Velox [EMAIL PROTECTED] writes:

 Here is what I want to do...
 
 1: Set up a server for storing users/groups/permissions/passwords.
 2: Export it to other machines, with out exporting the file to all machines.
 3: Set up other machines to check that when some on tries to login.
 
 How would I go about setting this up?
 
 I looked at Kerberos briefly in the handbook, but that only appeared to be for
 remote access. What or where should I look at for more information to set this
 up?

This is exactly what Kerberos is good at.  It's harder to administer
than NIS, but doesn't require as much trust of the client machines.  
For yet another set of security profiles, LDAP can be useful.

All of these (and, in fact, any scheme that remotely meets the rough
criteria given) will require configuration on each client as well as
the server.  
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: login question

2003-11-21 Thread Vulpes Velox
On 21 Nov 2003 22:22:38 -0500
Lowell Gilbert [EMAIL PROTECTED] wrote:

 Vulpes Velox [EMAIL PROTECTED] writes:
 
  Here is what I want to do...
  
  1: Set up a server for storing users/groups/permissions/passwords.
  2: Export it to other machines, with out exporting the file to all machines.
  3: Set up other machines to check that when some on tries to login.
  
  How would I go about setting this up?
  
  I looked at Kerberos briefly in the handbook, but that only appeared to be
  for remote access. What or where should I look at for more information to
  set this up?
 
 This is exactly what Kerberos is good at.  It's harder to administer
 than NIS, but doesn't require as much trust of the client machines.  
 For yet another set of security profiles, LDAP can be useful.
 
 All of these (and, in fact, any scheme that remotely meets the rough
 criteria given) will require configuration on each client as well as
 the server.  

Yeah, know where I can actually find info on doing it thought? The handbook is a
little short on that... it has one small vague section...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Login problem with Telnetd

2003-06-25 Thread Jeff MacDonald
Just wondering why you are running telnet, and not ssh ?

Jeff.

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Fehmi
 Sent: Thursday, June 19, 2003 11:47 AM
 To: [EMAIL PROTECTED]
 Subject: Login problem with Telnetd
 
 
 I enabled Telnetd in inetd.conf by removing the #
 from the line
 #telnet stream  tcp nowait  root   
 /usr/libexec/telnetdtelnetd
 
 I tried to loggin,
 i used the root/password in the server machine side
 i put loggin/password but 
 a receive the message [ SRA login failed ]
 i wonder if there is something else to set to enable
 login
 thanks a lot.
 
 
 
 ___
 Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
 Yahoo! Mail : http://fr.mail.yahoo.com
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]
 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Login problem with Telnetd

2003-06-19 Thread Peter Elsner
Logging in over telnet with root is unsecure...

Log on as yourself, and then su to root...

Peter

At 05:47 PM 6/19/2003 +0200, you wrote:
I enabled Telnetd in inetd.conf by removing the #
from the line
#telnet stream  tcp nowait  root
/usr/libexec/telnetdtelnetd
I tried to loggin,
i used the root/password in the server machine side
i put loggin/password but
a receive the message [ SRA login failed ]
i wonder if there is something else to set to enable
login
thanks a lot.


___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
--
Peter Elsner [EMAIL PROTECTED]
Vice President Of Customer Service (And System Administrator)
1835 S. Carrier Parkway
Grand Prairie, Texas 75051
(972) 263-2080 - Voice
(972) 263-2082 - Fax
(972) 489-4838 - Cell Phone
(425) 988-8061 - eFax
I worry about my child and the Internet all the time, even though she's
too young to have logged on yet. Here's what I worry about. I worry
that 10 or 15 years from now, she will come to me and say Daddy, where
were you when they took freedom of the press away from the Internet?
-- Mike Godwin
Unix IS user friendly... It's just selective about who its friends are.
System Administration - It's a dirty job, but somebody said I had to do it.
If you receive something that says 'Send this to everyone you know,
pretend you don't know me.
Standard $500/message proofreading fee applies for UCE.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Login problem with Telnetd

2003-06-19 Thread Kliment Andreev
 i used the root/password in the server machine side
 i put loggin/password but
 a receive the message [ SRA login failed ]

You are not allowed to log as root using telnet or ssh. Log as normal user
then use su. And try not to use telnet. Use ssh instead.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Login problem with Telnetd

2003-06-19 Thread Hasse
Try to connect with an ordinary user-account.
If you need root access, use an account in the wheel-group,
and then su to root after you're connected.
I belive that direct root-login are disabled.
-
Regards
   Hasse
  Webmaster @ Swedehost.com

On Thursday 19 June 2003 17.47, Fehmi wrote:
 I enabled Telnetd in inetd.conf by removing the #
 from the line
 #telnet stream  tcp nowait  root
 /usr/libexec/telnetdtelnetd

 I tried to loggin,
 i used the root/password in the server machine side
 i put loggin/password but
 a receive the message [ SRA login failed ]
 i wonder if there is something else to set to enable
 login
 thanks a lot.



 ___
 Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
 Yahoo! Mail : http://fr.mail.yahoo.com
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

-- 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Login failure

2003-02-07 Thread Pascal Giannakakis
 Hi, 
 In order to make the user able to use mtools, access to A: that is, I put 
  a  
 line in fstab like: 
  
 /dev/fd0  /floppy msdos   rw wheel noauto 
  
 this made it. As user I could use the floppystation with mtools. 
 But starting the machine today failed. 
 Here is what it says: 
  
 fd0c: hard error reading fsbn 0 of 0-3 (No status) 
 msdos: /dev/fd0: Input/output error 
 Mounting /etc/fstab filesystems failed, startup aborted 
 Enter full pathname of shell or RETURN for /bin/sh: 
  
 Hitting return I'll get a prompt like: # 
 Doing a ls shows me I am in the / 
 I can cd to /etc 
 I can do a less fstab 
 I can open fstab in vi 
 But I can't save in vi 
 I think I shouldn't have putting in the line with msdos in the fstab but 
 I'm not able to take it away. 
  
 I hope for any suggestions here 
  
 Regards, Thomas 
 
I am not sure, but i think mount /dev/adXsY / will mount the drive R/W, so
that you 
can edit /etc/fstab (test with mount if it is mounted). Also you could use
the 
Live-CD-ROM (disk 2) with the Fixit-Console, then do fsck and/or mount
/dev/adXsY 
/mnt. You do have the 2nd disk, don't you? ;) 
 
That will render you workstation bootable, I can not help you with the
floppy though, 
sorry. 
 

-- 
+++ GMX - Mail, Messaging  more  http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Login failure

2003-02-07 Thread Thomas Widlundh
fredag 07 februari 2003 09:59 skrev du:
 I am not sure, but i think mount /dev/adXsY / will mount the drive R/W,
 so that you
 can edit /etc/fstab (test with mount if it is mounted). Also you could
 use the
 Live-CD-ROM (disk 2) with the Fixit-Console, then do fsck and/or mount
 /dev/adXsY
 /mnt. You do have the 2nd disk, don't you? ;)

Hi Pascal,
Thanks very much. That did it!
mount /dev/ad0s1a
and I could read and write the fstab.
Then I typed exit and the machine started up instantly.
The only problem I experienced was that my swedish keyboard never was loaded,
so I had to experiment a little to find out where / : and so on were. These 
are commands in vi.
Thanks,
Thomas

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message