Discussion:
[rancid] Required .cloginrc file?
Dan Mahoney, System Admin
2007-11-13 22:38:48 UTC
Permalink
Hello all,

Is there a command line switch that will disable the need to have a
.cloginrc file?

I'm using clogin to do maintenance tasks and it's being fed by a sql
database, but the uid the code is running as has a nonexistent home
dierctory (I could change this, don't see why I should need it). All my
options come from the command line.

-Dan Mahoney

--

--------Dan Mahoney--------
Techie, Sysadmin, WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144 AIM: LarpGM
Site: http://www.gushi.org
---------------------------
john heasley
2007-11-13 22:59:32 UTC
Permalink
clogin -f /dev/null ?
Post by Dan Mahoney, System Admin
Hello all,
Is there a command line switch that will disable the need to have a
.cloginrc file?
I'm using clogin to do maintenance tasks and it's being fed by a sql
database, but the uid the code is running as has a nonexistent home
dierctory (I could change this, don't see why I should need it). All my
options come from the command line.
-Dan Mahoney
--
--------Dan Mahoney--------
Techie, Sysadmin, WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144 AIM: LarpGM
Site: http://www.gushi.org
---------------------------
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
Dan Mahoney, System Admin
2007-11-13 23:29:22 UTC
Permalink
Post by john heasley
clogin -f /dev/null ?
Error: /dev/null must not be world readable/writable

-Dan
Post by john heasley
Post by Dan Mahoney, System Admin
Hello all,
Is there a command line switch that will disable the need to have a
.cloginrc file?
I'm using clogin to do maintenance tasks and it's being fed by a sql
database, but the uid the code is running as has a nonexistent home
dierctory (I could change this, don't see why I should need it). All my
options come from the command line.
-Dan Mahoney
--
--------Dan Mahoney--------
Techie, Sysadmin, WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144 AIM: LarpGM
Site: http://www.gushi.org
---------------------------
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
--

"Little tramp sits in her room all day, sewing dolls! Children
misbehaving in the basement, and one in the walls, doing his business God
knows where! You children will be the death of me, *sniff*."

'Mommy', The People Under The Stairs


--------Dan Mahoney--------
Techie, Sysadmin, WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144 AIM: LarpGM
Site: http://www.gushi.org
---------------------------
john heasley
2007-11-14 01:35:22 UTC
Permalink
Post by Dan Mahoney, System Admin
Post by john heasley
clogin -f /dev/null ?
Error: /dev/null must not be world readable/writable
oh, right. sorry. create an empty file, the reading of it will have to
be changed in the script.
Post by Dan Mahoney, System Admin
-Dan
Post by john heasley
Post by Dan Mahoney, System Admin
Hello all,
Is there a command line switch that will disable the need to have a
.cloginrc file?
I'm using clogin to do maintenance tasks and it's being fed by a sql
database, but the uid the code is running as has a nonexistent home
dierctory (I could change this, don't see why I should need it). All my
options come from the command line.
-Dan Mahoney
--
--------Dan Mahoney--------
Techie, Sysadmin, WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144 AIM: LarpGM
Site: http://www.gushi.org
---------------------------
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
--
"Little tramp sits in her room all day, sewing dolls! Children
misbehaving in the basement, and one in the walls, doing his business God
knows where! You children will be the death of me, *sniff*."
'Mommy', The People Under The Stairs
--------Dan Mahoney--------
Techie, Sysadmin, WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144 AIM: LarpGM
Site: http://www.gushi.org
---------------------------
Chris Moody
2007-11-14 01:40:58 UTC
Permalink
I have a routine rebuild the .cloginrc file based on what I'm storing in
the DB.

-Chris
Post by john heasley
Post by Dan Mahoney, System Admin
Post by john heasley
clogin -f /dev/null ?
Error: /dev/null must not be world readable/writable
oh, right. sorry. create an empty file, the reading of it will have to
be changed in the script.
Post by Dan Mahoney, System Admin
-Dan
Post by john heasley
Post by Dan Mahoney, System Admin
Hello all,
Is there a command line switch that will disable the need to have a
.cloginrc file?
I'm using clogin to do maintenance tasks and it's being fed by a sql
database, but the uid the code is running as has a nonexistent home
dierctory (I could change this, don't see why I should need it). All my
options come from the command line.
-Dan Mahoney
--
--------Dan Mahoney--------
Techie, Sysadmin, WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144 AIM: LarpGM
Site: http://www.gushi.org
---------------------------
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
--
"Little tramp sits in her room all day, sewing dolls! Children
misbehaving in the basement, and one in the walls, doing his business God
knows where! You children will be the death of me, *sniff*."
'Mommy', The People Under The Stairs
--------Dan Mahoney--------
Techie, Sysadmin, WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144 AIM: LarpGM
Site: http://www.gushi.org
---------------------------
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
Loading...