Re: Hyphen-minus passwd

2024-03-07 Thread Nicolas George
Greg Wooledge (12024-03-07): > Looks like you want the -- to separate options from non-option arguments, Of course. > What threw me for a > few moments was that "-salt username" is a single option with argument. > I wasn't expecting "username" t

Re: Hyphen-minus passwd

2024-03-07 Thread Greg Wooledge
On Thu, Mar 07, 2024 at 06:59:47PM +0100, Nicolas George wrote: > ~ $ perl -e 'print crypt("-password", "\$6\$username\$"), "\n"' > $6$username$FCvGwi21H/uVp89BtnZHWQsL.vZKajZ3lRbfB7Jnjr2C.5qBgx7TB3Ul3PbcyCIArts/C2lfQgYOLp418oH7C0 hobbit:~$ op

Re: Hyphen-minus passwd

2024-03-07 Thread Nicolas George
Lee (12024-03-07): > You're going to rag on him for not copy-pasting EXACTLY when you could > have just told him the standard way to get a leading hyphen accepted > on the command line is to backslash escape it!?? Uh, yes, of course. And that would be best even if your answer was not wrong. --

Re: Hyphen-minus passwd

2024-03-07 Thread Nicolas George
Lee (12024-03-07): > $ openssl passwd -6 -salt username \\-password > $6$username$7 ..etc.. Wrong answer: this gives the encrypted string for “\-password”, not for “-password”. ~ $ openssl passwd -6 -salt username \\-password $6$us

Re: Hyphen-minus passwd

2024-03-07 Thread Lee
On Thu, Mar 7, 2024 at 12:50 PM Nicolas George wrote: > > Computer Planet (12024-03-07): > > How can I create this password with a hyphen in front? > > > > # openssl passwd -6 -salt username -password > > > > This is the response message when I try: > >

Re: Hyphen-minus passwd

2024-03-07 Thread Lee
On Thu, Mar 7, 2024 at 12:44 PM Computer Planet wrote: > > Hi guys! > Please, Can someone help me? > > How can I create this password with a hyphen in front? > > # openssl passwd -6 -salt username -password > > This is the response message when I try: > passwd: Unkn

Re: Hyphen-minus passwd

2024-03-07 Thread Nicolas George
Computer Planet (12024-03-07): > How can I create this password with a hyphen in front? > > # openssl passwd -6 -salt username -password > > This is the response message when I try: > passwd: Unknown option: -passwd Hi. No it is not. Start by copy-pasting EXACTLY what is in yo

Hyphen-minus passwd

2024-03-07 Thread Computer Planet
Hi guys! Please, Can someone help me? How can I create this password with a hyphen in front? # openssl passwd -6 -salt username -password This is the response message when I try: passwd: Unknown option: -passwd Thanks for reply!

nsswitch.conf does not follow order defined for 'passwd:' & 'group:'

2023-09-30 Thread jaikuma...@gmail.com
`glibc-doc-reference' and `info' packages installed, try: # `info libc "Name Service Switch"' for information about this file. passwd: files systemd winbind group:files systemd winbind shadow: files gshadow: files hosts: files d

Re: Dependency omitted in the details of passwd package

2023-01-14 Thread Charles Curley
On Sat, 14 Jan 2023 23:23:14 +0200 Horia Marandoiu wrote: > Package: passwd (1:4.8.1-1) does not work without libpam-ldap , being > a library which is not listed on the dependency section of the page > dedicated to the package passwd Interesting. I have passwd 1:4.8.1-1 installed on Bu

Re: Dependency omitted in the details of passwd package

2023-01-14 Thread Jeffrey Walton
On Sat, Jan 14, 2023 at 4:39 PM Horia Marandoiu wrote: > > Package: passwd (1:4.8.1-1) does not work without libpam-ldap , being a > library which is not listed on the dependency section of the page dedicated > to the package passwd https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1028917

Dependency omitted in the details of passwd package

2023-01-14 Thread Horia Marandoiu
Package: passwd (1:4.8.1-1) does not work without libpam-ldap , being a library which is not listed on the dependency section of the page dedicated to the package passwd

Re: odd passwd problem.

2019-08-04 Thread Gene Heskett
On Sunday 04 August 2019 11:44:23 David Wright wrote: > On Sun 04 Aug 2019 at 19:02:01 (+1200), Richard Hector wrote: > > On 4/08/19 2:46 AM, Gene Heskett wrote: > > >>> gene@picnc:~$ sudo adduser > > >>> [sudo] password for gene: > > >>> adduser: Only one or two names allowed. > > >>> gene@picnc:

Re: odd passwd problem.

2019-08-04 Thread David Wright
On Sun 04 Aug 2019 at 19:02:01 (+1200), Richard Hector wrote: > On 4/08/19 2:46 AM, Gene Heskett wrote: > >>> gene@picnc:~$ sudo adduser > >>> [sudo] password for gene: > >>> adduser: Only one or two names allowed. > >>> gene@picnc:~$ > >> I'm guessing 'adduser' needs at least a name for the new us

Re: odd passwd problem.

2019-08-04 Thread Curt
On 2019-08-03, Gene Heskett wrote: > > But seat0-greeter.log(s) are all this: > ** Message: 13:37:04.194: Starting lightdm-gtk-greeter 2.0.6 (Dec 27 > 2018, 16:15:47) > ** Message: 13:37:04.203: [Configuration] Reading > file: /usr/share/lightdm/lightdm-gtk-greeter.conf.d/01_debian.conf > ** Mes

Re: odd passwd problem.

2019-08-04 Thread Richard Hector
On 4/08/19 2:46 AM, Gene Heskett wrote: >>> gene@picnc:~$ sudo adduser >>> [sudo] password for gene: >>> adduser: Only one or two names allowed. >>> gene@picnc:~$ >> I'm guessing 'adduser' needs at least a name for the new user ;) >> > Ac the manpage, correct. And I didn't give it a name, so it pic

Re: odd passwd problem.

2019-08-03 Thread Gene Heskett
gt; > > > > > > on the reboot was to "sudo apt install xfce4". > > > > > > > > > > > reboot, works, have x and 4 workspaces. > > > > > > > > > > > > > > > > > > > > > >

Re: odd passwd problem.

2019-08-03 Thread David Wright
I > > > > > > > > > > thought I was selecting xfce4, so my first action on > > > > > > > > > > the reboot was to "sudo apt install xfce4". reboot, > > > > > > > > > > works, have x and 4 workspaces. > > >

Re: odd passwd problem.

2019-08-03 Thread tomas
On Sat, Aug 03, 2019 at 10:32:02AM -0400, Gene Heskett wrote: > On Saturday 03 August 2019 10:03:18 David Wright wrote: [...] > > AIUI passwords are not encrypted, they're hashed. Yep. In theory, there's no "way back" from the hash to the password. In practice, though... > And apparently each h

Re: odd passwd problem.

2019-08-03 Thread Gene Heskett
gt; the reboot was to "sudo apt install xfce4". reboot, > > > > > > > > > works, have x and 4 workspaces. > > > > > > > > > > > > > > > > > > Then "sudo apt install build-essential and buildbot, >

Re: odd passwd problem.

2019-08-03 Thread mick crane
On 2019-08-03 17:22, Gene Heskett wrote: to run. When it logs you out can you log in at another screen (whatever it's called) Ctrl Alt F key ? If so then is something about the display manager ? ctrl+alt+F8, yes, so I opened a term and did an xset -dpms. Whats the name of that lightdm config

Re: odd passwd problem.

2019-08-03 Thread Gene Heskett
On Saturday 03 August 2019 11:46:30 mick crane wrote: > On 2019-08-03 16:31, Gene Heskett wrote: > > On Saturday 03 August 2019 10:35:17 mick crane wrote: > >> On 2019-08-03 14:57, Gene Heskett wrote: > >> Cheers, Gene Heskett > >> > >> >> I would probably add another user and see if they have s

Re: odd passwd problem.

2019-08-03 Thread David Wright
aces. > > > > > > > > > > > > > > > > Then "sudo apt install build-essential and buildbot, > > > > > > > > cups". reboot, worked once, login normal. Then I plugged > > > > > > > >

Re: odd passwd problem.

2019-08-03 Thread mick crane
On 2019-08-03 16:31, Gene Heskett wrote: On Saturday 03 August 2019 10:35:17 mick crane wrote: On 2019-08-03 14:57, Gene Heskett wrote: Cheers, Gene Heskett >> I would probably add another user and see if they have same problem >> on the local machine. >> >> mick > > I'd thought of that but

Re: odd passwd problem.

2019-08-03 Thread Gene Heskett
on the reboot was > > > > > > > to "sudo apt install xfce4". reboot, works, have x and 4 > > > > > > > workspaces. > > > > > > > > > > > > > > Then "sudo apt install build-essential and

Re: odd passwd problem.

2019-08-03 Thread Gene Heskett
On Saturday 03 August 2019 10:35:17 mick crane wrote: > On 2019-08-03 14:57, Gene Heskett wrote: > Cheers, Gene Heskett > > >> I would probably add another user and see if they have same problem > >> on the local machine. > >> > >> mick > > > > I'd thought of that but not tried it yet. I'll need

Re: odd passwd problem.

2019-08-03 Thread David Wright
and 4 > > > > > > workspaces. > > > > > > > > > > > > Then "sudo apt install build-essential and buildbot, cups". > > > > > > reboot, worked once, login normal. Then I plugged in a 120GB > > > > > &g

Re: odd passwd problem.

2019-08-03 Thread Gene Heskett
On Saturday 03 August 2019 10:12:59 Andrei POPESCU wrote: > On Sb, 03 aug 19, 09:57:27, Gene Heskett wrote: > > On Saturday 03 August 2019 07:08:08 mick crane wrote: > > > I would probably add another user and see if they have same > > > problem on the local machine. > > > > I'd thought of that bu

Re: odd passwd problem.

2019-08-03 Thread mick crane
On 2019-08-03 14:57, Gene Heskett wrote: Cheers, Gene Heskett I would probably add another user and see if they have same problem on the local machine. mick I'd thought of that but not tried it yet. I'll need a user amanda who is a member of group backup for the backup program amanda. So

Re: odd passwd problem.

2019-08-03 Thread Gene Heskett
-essential and buildbot, cups". > > > > > reboot, worked once, login normal. Then I plugged in a 120GB > > > > > ssd which had a bunch of src stuff on it I'll need later and > > > > > powered up again. Can't login, passwd no good. Dbl c

Re: odd passwd problem.

2019-08-03 Thread Gene Heskett
On Saturday 03 August 2019 09:45:49 David Wright wrote: > On Thu 01 Aug 2019 at 16:51:35 (-0400), Gene Heskett wrote: > > On Thursday 01 August 2019 08:01:40 Cindy Sue Causey wrote: > > > My experience for many years has been that the first console is > > > especially a stinker about having a supe

Re: odd passwd problem.

2019-08-03 Thread Andrei POPESCU
On Sb, 03 aug 19, 09:57:27, Gene Heskett wrote: > On Saturday 03 August 2019 07:08:08 mick crane wrote: > > > > I would probably add another user and see if they have same problem on > > the local machine. > > I'd thought of that but not tried it yet. I'll need a user amanda who is > a member of

Re: odd passwd problem.

2019-08-03 Thread David Wright
t; "sudo apt install xfce4". reboot, works, have x and 4 workspaces. > > > > > > > > Then "sudo apt install build-essential and buildbot, cups". > > > > reboot, worked once, login normal. Then I plugged in a 120GB ssd > > > > which

Re: odd passwd problem.

2019-08-03 Thread Gene Heskett
en I plugged in a 120GB ssd which had a > > bunch of src stuff on it I'll need later and powered up again. Can't > > login, passwd no good. Dbl check, caps lock off, try again several > > times, passwd no good. > > > > Come to the house and ssh -Y

Re: odd passwd problem.

2019-08-03 Thread Gene Heskett
d by a blank screen with the login greeter asking for my pw, tried twice, once with an enter, once with a mouse click on the login button, both failed, incorrect passwd. Next? Thanks Curt. Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jur

Re: odd passwd problem.

2019-08-03 Thread David Wright
On Thu 01 Aug 2019 at 16:51:35 (-0400), Gene Heskett wrote: > On Thursday 01 August 2019 08:01:40 Cindy Sue Causey wrote: > > My experience for many years has been that the first console is > > especially a stinker about having a super fast keystroke repeat > > setting. We can see it visually when

Re: odd passwd problem.

2019-08-03 Thread mick crane
, works, have x and 4 workspaces. Then "sudo apt install build-essential and buildbot, cups". reboot, worked once, login normal. Then I plugged in a 120GB ssd which had a bunch of src stuff on it I'll need later and powered up again. Can't login, passwd no good. Dbl check, cap

Re: odd passwd problem.

2019-08-03 Thread Curt
On 2019-08-03, Gene Heskett wrote: > > [+3038.26s] DEBUG: Session pid=490: Authentication complete with return > value 7: Authentication failure Check permissions on '~.Xauthority' file maybe (think it should be gene:gene). Maybe that file is 'stale' (whatever that might mean). Maybe you could m

Re: odd passwd problem.

2019-08-03 Thread Gene Heskett
On Saturday 03 August 2019 05:58:49 Curt wrote: > On 2019-08-03, Gene Heskett wrote: > >> as well as the contents of > >> > >> /var/log/lightdm/lightdm.log > > What about the log? Since the logs have been rotated, I find many stanza's of this in the lightdm.log.old [+3030.13s] DEBUG: Greeter

Re: odd passwd problem.

2019-08-03 Thread Gene Heskett
using lightdm as a display manager (graphical login)? > > If so > > sudo tail -f /var/log/lightdm/x-0-greeter.log > > as well as the contents of > > /var/log/lightdm/lightdm.log > > might provide some clue. > > > haven't a clue whats changed, but it did wor

Re: odd passwd problem.

2019-08-03 Thread Curt
On 2019-08-03, Gene Heskett wrote: > >> as well as the contents of >> >> /var/log/lightdm/lightdm.log What about the log? What happens exactly? >> might provide some clue. -- “We are all in the gutter, but some of us are looking at the stars.” ― Oscar Wilde, Lady Windermere's Fan

Re: odd passwd problem.

2019-08-03 Thread Gene Heskett
provide some clue. > > > haven't a clue whats changed, but it did work several times, then > > stopped. Completely changing my passwd from this ssh login worked, > > I backed out and tried it, worked as expected from ssh, but is still > > rejected from its own keyboa

Re: odd passwd problem.

2019-08-03 Thread Curt
lightdm/x-0-greeter.log as well as the contents of /var/log/lightdm/lightdm.log might provide some clue. > haven't a clue whats changed, but it did work several times, then > stopped. Completely changing my passwd from this ssh login worked, I > backed out and tried it, worked as

Re: odd passwd problem.

2019-08-02 Thread Gene Heskett
Then "sudo apt install build-essential and buildbot, cups". > > > reboot, worked once, login normal. Then I plugged in a 120GB ssd > > > which had a bunch of src stuff on it I'll need later and powered > > > up again. Can't login, passwd no good

Re: odd passwd problem.

2019-08-01 Thread Gene Heskett
normal. Then I plugged in a 120GB ssd which had a > > bunch of src stuff on it I'll need later and powered up again. Can't > > login, passwd no good. Dbl check, caps lock off, try again several > > times, passwd no good. > > Maybe the SSD is drawing just enough additio

Re: odd passwd problem.

2019-08-01 Thread Gene Heskett
; > > Then "sudo apt install build-essential and buildbot, cups". reboot, > > worked once, login normal. Then I plugged in a 120GB ssd which had a > > bunch of src stuff on it I'll need later and powered up again. Can't > > login, passwd no good. Dbl check, ca

Re: odd passwd problem.

2019-08-01 Thread Gene Heskett
gged in a 120GB ssd which had a > > bunch of src stuff on it I'll need later and powered up again. Can't > > login, passwd no good. Dbl check, caps lock off, try again several > > times, passwd no good. > > > > Come to the house and ssh -Y picnc. passwd good

Re: odd passwd problem.

2019-08-01 Thread Andrei POPESCU
t; "sudo apt install xfce4". reboot, works, have x and 4 workspaces. > > Then "sudo apt install build-essential and buildbot, cups". reboot, > worked once, login normal. Then I plugged in a 120GB ssd which had a > bunch of src stuff on it I'll need later and pow

Re: odd passwd problem.

2019-08-01 Thread David Wright
hen I plugged in a 120GB ssd which had a > bunch of src stuff on it I'll need later and powered up again. Can't > login, passwd no good. Dbl check, caps lock off, try again several > times, passwd no good. > > Come to the house and ssh -Y picnc. passwd good, I have 2 se

Re: odd passwd problem.

2019-08-01 Thread Cindy Sue Causey
l xfce4". reboot, works, have x and 4 workspaces. > > Then "sudo apt install build-essential and buildbot, cups". reboot, > worked once, login normal. Then I plugged in a 120GB ssd which had a > bunch of src stuff on it I'll need later and powered up again. Can&

odd passwd problem.

2019-08-01 Thread Gene Heskett
uot;sudo apt install build-essential and buildbot, cups". reboot, worked once, login normal. Then I plugged in a 120GB ssd which had a bunch of src stuff on it I'll need later and powered up again. Can't login, passwd no good. Dbl check, caps lock off, try again several times, pas

Re: "passwd username" asks for current password of user even tho I'm root

2018-10-10 Thread Dennis Wicks
Mariusz Gronczewski wrote on 10/10/18 8:17 AM: > Hi, > > On previous releases, and on our CentOS systems I could change password of > user by just sudo-ing to root and typing "passwd testuser" > > In current Debian release, doing that asks me to specify that user pas

Re: "passwd username" asks for current password of user even tho I'm root

2018-10-10 Thread Andrew McGlashan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi, On 11/10/18 00:17, Mariusz Gronczewski wrote: > On previous releases, and on our CentOS systems I could change > password of user by just sudo-ing to root and typing "passwd > testuser" > > In current Debian relea

Re: "passwd username" asks for current password of user even tho I'm root

2018-10-10 Thread Hans
Am Mittwoch, 10. Oktober 2018, 15:17:11 CEST schrieb Mariusz Gronczewski: Hi, as a normal user you should be able to change your password using "passwd testuser". When you want to change an alien password,. obviously you should be root. Otherwise any user wopuld bve able to change

Re: "passwd username" asks for current password of user even tho I'm root

2018-10-10 Thread Roberto C . Sánchez
On Wed, Oct 10, 2018 at 03:17:11PM +0200, Mariusz Gronczewski wrote: > Hi, > > On previous releases, and on our CentOS systems I could change password of > user by just sudo-ing to root and typing "passwd testuser" > > In current Debian release, doing that asks me t

"passwd username" asks for current password of user even tho I'm root

2018-10-10 Thread Mariusz Gronczewski
Hi, On previous releases, and on our CentOS systems I could change password of user by just sudo-ing to root and typing "passwd testuser" In current Debian release, doing that asks me to specify that user password, which is pointless because: * I can access /etc/shadow anyway * I&

PXE menu not honoring master passwd

2015-06-26 Thread Bob
Hello list, I have configured a tftp server on debin jessie and the PXE boot is running well. The following is working to protect a single label label Install debian jessie menu label install debin jessie menu passwd mypassword ... ... .. Now I like to secure all the labels with single

how to login without passwd from remote thin client

2013-05-29 Thread abdelkader belahcene
good morning, I disactivate the password, ( I remove x from /etc/passwd like geopp13::1038:1039 and geopp13::15833:0:9:7::: in /etc/shadow) in order to log in without typing a password. from the terminal connected directly to the computer, it works fine, but from a thin client ( via

Re: getent passwd doesn't show ldap user

2012-04-25 Thread stefano malini
Per, it runs. yes, i forgot to put it. thanks. now it the samba round! maybe i'll wrote you again! thank you very much. On 04/23/2012 10:36 PM, Per Carlson wrote: Hi Stefano nslcd: [8b4567] DEBUG: myldap_search(base="dc=amahoro,dc=bi", filter="(objectClass=posixAccount)") nslcd: [8b4567] DEB

Re: getent passwd doesn't show ldap user

2012-04-23 Thread Per Carlson
Hi Stefano > nslcd: [8b4567] DEBUG: myldap_search(base="dc=amahoro,dc=bi", > filter="(objectClass=posixAccount)") > nslcd: [8b4567] DEBUG: ldap_simple_bind_s(NULL,NULL) > (uri="ldap://localhost:389";) > > nslcd: [8b4567] ldap_result() failed: No such object Looking back at your first post, I now

Re: getent passwd doesn't show ldap user

2012-04-23 Thread stefano malini
Hi Per. something is improved! now i can log manually, there was an error, a big error, i didn't insert the root as ldif in the directory. Very big error! Anyway, the problem with getent passwd is still there: This is the output of nslcd -d typing getent passwd fro another shell:

Re: getent passwd doesn't show ldap user

2012-04-23 Thread stefano malini
2entry.bdb objectClass.bdb There is not DB_CONFIG. How is created it? On 04/23/2012 04:11 PM, Per Carlson wrote: Hi Stefano. Did you install nslcd by it self or in companion with libnss-ldapd and libpam-ldapd? nslcd has been installed automatically installing libnss-ldapd. Ok. This is

Re: getent passwd doesn't show ldap user

2012-04-23 Thread Per Carlson
Hi Stefano. >> Did you install nslcd by it self or in companion with libnss-ldapd and >> libpam-ldapd? > > nslcd has been installed automatically installing libnss-ldapd. Ok. > This is my /etc/nsswitch.conf: > > passwd:         files ldap > group:          file

Re: getent passwd doesn't show ldap user

2012-04-23 Thread stefano malini
s is my /etc/nsswitch.conf: # /etc/nsswitch.conf # # Example configuration of GNU Name Service Switch functionality. # If you have the `glibc-doc-reference' and `info' packages installed, try: # `info libc "Name Service Switch"' for information about this file. passwd:

Re: getent passwd doesn't show ldap user

2012-04-23 Thread Per Carlson
Hi Stefano. > installed openldap and configured nslcd.conf and nsswitch.conf on debian > squeeze server. Did you install nslcd by it self or in companion with libnss-ldapd and libpam-ldapd? How does your /etc/nsswitch.conf look like? Here are the relevant lines from mine: passwd:

getent passwd doesn't show ldap user

2012-04-23 Thread stefano malini
hi, installed openldap and configured nslcd.conf and nsswitch.conf on debian squeeze server. At the moment getent passwd doesn't show ldap user. I create a user nslcd_proc for nslcd lookups. this user belong to the System organizationalUnit. You can see some checks. FIRST SHELL nslcd -d

Re: [on-topic] /etc/passwd

2012-03-08 Thread Karl E. Jorgensen
On Thu, 2012-03-08 at 14:11 +, lina wrote: > Hi, > > Last time I added one user, > Later I used deluser some_user_name > > but some information still keep it in the /etc/passwd and /etc/shadow. What information is left? We would expect one line per user, but if the l

Re: [on-topic] /etc/passwd

2012-03-08 Thread Camaleón
luser some_user_name >>> >>> but some information still keep it in the /etc/passwd and /etc/shadow. >>> >>> My question is that: is it safe do delete the entry regards the >>> deleted user by hand? >> >> Mmm... I'd say you can but better

Re: [on-topic] /etc/passwd

2012-03-08 Thread lina
On Thu, Mar 8, 2012 at 11:46 PM, Camaleón wrote: > On Thu, 08 Mar 2012 22:11:44 +0800, lina wrote: > > "On topic" can be omitted :-P > >> Last time I added one user, >> Later I used deluser some_user_name >> >> but some information still keep i

Re: [on-topic] /etc/passwd

2012-03-08 Thread Camaleón
On Thu, 08 Mar 2012 22:11:44 +0800, lina wrote: "On topic" can be omitted :-P > Last time I added one user, > Later I used deluser some_user_name > > but some information still keep it in the /etc/passwd and /etc/shadow. > > My question is that: is it safe do

[on-topic] /etc/passwd

2012-03-08 Thread lina
Hi, Last time I added one user, Later I used deluser some_user_name but some information still keep it in the /etc/passwd and /etc/shadow. My question is that: is it safe do delete the entry regards the deleted user by hand? Thanks, -- To UNSUBSCRIBE, email to debian-user-requ

Re: "sudo" command passwd is not canceled.

2012-01-05 Thread Bob Proulx
Joel Rees wrote: > Tom H wrote: > > [I would've have thought that there ought to be a space between > > "(ALL:ALL)" and "NOPASSWD:" but since it worked for the OP before he > > edited polkit files, I guess not.] > > Yeah, since I'm checking, man 5 sudoers, around line 480 on the Fedora > 15 system

Re: "sudo" command passwd is not canceled.

2012-01-05 Thread Joel Rees
Erk. Thanks, Tom. I've got to quit trusting my memory on things that I don't do every day. 2012/1/5 Tom H : > 2012/1/4 Joel Rees : >> On Wed, Jan 4, 2012 at 8:26 PM, chengshid wrote: >>> 于 2012年01月04日 14:45, Bob Proulx 写道: chengshid wrote: >>> rootALL=(ALL:ALL) ALL >> >> Odd that root wo

Re: "sudo" command passwd is not canceled.

2012-01-05 Thread Tom H
2012/1/4 Joel Rees : > On Wed, Jan 4, 2012 at 8:26 PM, chengshid wrote: >> 于 2012年01月04日 14:45, Bob Proulx 写道: >>> chengshid wrote: >> rootALL=(ALL:ALL) ALL > > Odd that root would have to use the password where all the rest don't. But, > ... > >> userALL=(ALL:ALL)NOPASSWD: ALL > > That's

Re: "sudo" command passwd is not canceled.

2012-01-04 Thread Joel Rees
(Woops. I keep forgetting debian-user does the return address right.) On Wed, Jan 4, 2012 at 8:26 PM, chengshid wrote: > 于 2012年01月04日 14:45, Bob Proulx 写道: > >> chengshid wrote: >>> >>> "sudo" command passwd is not canceled since i modify the follows file

Re: "sudo" command passwd is not canceled.

2012-01-04 Thread chengshid
于 2012年01月04日 14:45, Bob Proulx 写道: chengshid wrote: "sudo" command passwd is not canceled since i modify the follows files. /usr/share/polkit-1/actions/ and /etc/pam.d/ the /etc/sudoers file have modified with no required passwd. help me! thanks. I do not understand what you

Re: "sudo" command passwd is not canceled.

2012-01-04 Thread Balint Szigeti
On 04/01/2012 07:37, chengshid wrote: 于 2012/1/4 14:45, Bob Proulx 写道: chengshid wrote: "sudo" command passwd is not canceled since i modify the follows files. /usr/share/polkit-1/actions/ and /etc/pam.d/ the /etc/sudoers file have modified with no required passwd. help me! tha

Re: "sudo" command passwd is not canceled.

2012-01-03 Thread chengshid
于 2012/1/4 14:45, Bob Proulx 写道: chengshid wrote: "sudo" command passwd is not canceled since i modify the follows files. /usr/share/polkit-1/actions/ and /etc/pam.d/ the /etc/sudoers file have modified with no required passwd. help me! thanks. I do not understand what you are as

Re: "sudo" command passwd is not canceled.

2012-01-03 Thread Bob Proulx
chengshid wrote: > "sudo" command passwd is not canceled since i modify the follows files. > /usr/share/polkit-1/actions/ and /etc/pam.d/ > > the /etc/sudoers file have modified with no required passwd. > > help me! thanks. I do not understand what you are asking

Re: "sudo" command passwd is not canceled.

2012-01-03 Thread chengshid
It is no use to do that, and i also reinstall the sudo, 于 2012年01月04日 13:14, doug 写道: On 01/03/2012 11:49 PM, chengshid wrote: "sudo" command passwd is not canceled since i modify the follows files. /usr/share/polkit-1/actions/ and /etc/pam.d/ the /etc/sudoers file have modifi

Re: "sudo" command passwd is not canceled.

2012-01-03 Thread doug
On 01/03/2012 11:49 PM, chengshid wrote: "sudo" command passwd is not canceled since i modify the follows files. /usr/share/polkit-1/actions/ and /etc/pam.d/ the /etc/sudoers file have modified with no required passwd. help me! thanks. Look in the sudoers file for "nopas

"sudo" command passwd is not canceled.

2012-01-03 Thread chengshid
"sudo" command passwd is not canceled since i modify the follows files. /usr/share/polkit-1/actions/ and /etc/pam.d/ the /etc/sudoers file have modified with no required passwd. help me! thanks. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of &q

Re: how to change root passwd (if forgotten)

2011-08-11 Thread Ivan Shmakov
into single user mode >> Much easer than chroots, or any of the other previous suggestion, IMO. > Easier than: > * Add init=/bin/bash to the end of kernel in grub > * mount -o remount,rw / > * passwd > * sync & reboot I'd rather recommend # umount -a

Re: how to change root passwd (if forgotten)

2011-08-11 Thread Robert Blair Mason Jr.
n chroots, or any of the other previous suggestion, IMO. > Easier than: * Add init=/bin/bash to the end of kernel in grub * mount -o remount,rw / * passwd * sync & reboot ? Most people I know would rather blindly type commands than edit a file, and I for one lose my Live CDs a lot :D

Re: how to change root passwd (if forgotten)

2011-08-11 Thread Walter Hurry
On Thu, 11 Aug 2011 20:28:33 +0100, Dom wrote: > On 11/08/11 19:46, Walter Hurry wrote: >> On Thu, 11 Aug 2011 10:23:17 -0400, Nico Kadel-Garcia wrote: >> >>> On Wed, Aug 10, 2011 at 11:25 AM, abdelkader belahcene >>> wrote: >>>> Hi, >>>>

Re: how to change root passwd (if forgotten)

2011-08-11 Thread Dom
On 11/08/11 19:46, Walter Hurry wrote: On Thu, 11 Aug 2011 10:23:17 -0400, Nico Kadel-Garcia wrote: On Wed, Aug 10, 2011 at 11:25 AM, abdelkader belahcene wrote: Hi, I ve forgotten my root passwd on centos 6 (red hat based), I tried to change it as I used in debian (in debian it works

Re: how to change root passwd (if forgotten)

2011-08-11 Thread Walter Hurry
On Thu, 11 Aug 2011 10:23:17 -0400, Nico Kadel-Garcia wrote: > On Wed, Aug 10, 2011 at 11:25 AM, abdelkader belahcene > wrote: >> Hi, >> I ve forgotten my root passwd on centos 6 (red hat based), >> >> I tried to change it as I used in debian (in debian it

Re: how to change root passwd (if forgotten)

2011-08-11 Thread Robert Blair Mason Jr.
ont forget to > umount everything and reboot > You mean init=/bin/bash right? and you'll probably have to mount -o remount,rw / before you passwd. -- rbmj -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20110811105926.39792...@blairasus.mason.homeunix.org

Re: how to change root passwd (if forgotten)

2011-08-11 Thread Nico Kadel-Garcia
On Wed, Aug 10, 2011 at 11:25 AM, abdelkader belahcene wrote: > Hi, > I ve forgotten my root passwd on centos 6 (red hat based), > > I tried to change it as I used in debian (in debian it works perfectly) , > that is: > > use a cd live (or installation cd1), to access the h

Re: how to change root passwd (if forgotten)

2011-08-11 Thread Wawrzek Niewodniczanski
On 08/11/11 00:35, abdelkader belahcene wrote: On 8/10/11, Lucas Lima wrote: the passwords are stored in /etc/shadow and you deleted the file, you should restore it. I just removed the second field , the password for th root. no more things You can copy a password from other user or even fro

Re: how to change root passwd (if forgotten)

2011-08-11 Thread Ivan Shmakov
> Francois Cerbelle writes: > Le Wed, 10 Aug 2011 18:10:02 +0200, Thierry Chatelet a écrit: > On Wednesday 10 August 2011 17:53:26 Umarzuki Mochlis wrote: >>> if i'm not mistaken you can just go to single user mode on centos >>> by appending "1" or "single" (without quotes) on boot

Re: how to change root passwd (if forgotten)

2011-08-11 Thread Francois Cerbelle
Le Wed, 10 Aug 2011 18:10:02 +0200, Thierry Chatelet a écrit : > On Wednesday 10 August 2011 17:53:26 Umarzuki Mochlis wrote: >> if i'm not mistaken you can just go to single user mode on centos by >> appending "1" or "single" (without quotes) on boot parameter, no need >> for any live cd >> > Not

Re: how to change root passwd (if forgotten)

2011-08-10 Thread abdelkader belahcene
ord is required. regards > And to set a new root password read more, its quite easy > > 2011/8/10 abdelkader belahcene > >> *Hi, >> I ve forgotten my root passwd on centos 6 (red hat based), >> >> I tried to change it as I used in debian (in debian it works pe

Re: how to change root passwd (if forgotten)

2011-08-10 Thread shawn wilson
you forgot chroot. might also need to do ldconfig -v to make sure the path to shared libraries is correct (but i don't think so). you used to be able to clear out the field in the shadow file or clear out the x (iirc) in passwd, but i think default pam will stop you from doing this :) O

Re: how to change root passwd (if forgotten)

2011-08-10 Thread Ivan Shmakov
>>>>> abdelkader belahcene writes: […] > then I decided to remove passwd from /etc/shadow (delete the > second field). > OK, now I can access my machine without passwd, BUT I CAN´T GIVE ANY > PASSWORD I RECEIVE THIS ERROR > # passwd* > *Changi

Re: how to change root passwd (if forgotten)

2011-08-10 Thread Aniruddha
On Wed, Aug 10, 2011 at 5:25 PM, abdelkader belahcene wrote: > Hi, > I ve forgotten my root passwd on centos 6 (red hat based), > > I tried to change it as I used in debian (in debian it works perfectly) , > that is: ... > > any idea to fix the problem. > thanks a lot >

Re: how to change root passwd (if forgotten)

2011-08-10 Thread Thierry Chatelet
On Wednesday 10 August 2011 17:53:26 Umarzuki Mochlis wrote: > if i'm not mistaken you can just go to single user mode on centos by > appending "1" or "single" (without quotes) on boot parameter, no need for > any live cd > Not with debian, but lots of trail if you google it. Thierry -- To UNS

Re: how to change root passwd (if forgotten)

2011-08-10 Thread Umarzuki Mochlis
if i'm not mistaken you can just go to single user mode on centos by appending "1" or "single" (without quotes) on boot parameter, no need for any live cd 2011/8/10 abdelkader belahcene > *Hi, > I ve forgotten my root passwd on centos 6 (red hat based), > &

how to change root passwd (if forgotten)

2011-08-10 Thread abdelkader belahcene
*Hi, I ve forgotten my root passwd on centos 6 (red hat based), I tried to change it as I used in debian (in debian it works perfectly) , that is: use a cd live (or installation cd1), to access the hd, I mount my root partition and mount proc and devices I tried the command passwd, no error

Re: Root passwd not accepted

2011-07-14 Thread Tom H
On Thu, Jul 14, 2011 at 4:20 PM, William Hopkins wrote: > On 07/13/11 at 08:32pm, Tom H wrote: >> On Wed, Jul 13, 2011 at 5:18 PM, William Hopkins >> wrote: >> > On 07/13/11 at 02:35pm, Camaleón wrote: >> >> On Tue, 12 Jul 2011 13:21:17 -0600, Lloyd Rice wrote: >> >> >> >> > I'm new at this. Sor

  1   2   3   4   5   6   >